SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast Mikeymoo's Avatar
    Join Date
    Jul 2003
    Location
    St. Albans, Uk
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    body#active1 #mainnav ul - how does it work

    I've been using ul's to create menus, but then I went to SSI and SESSIONS in PHP to create the submenu's.

    How does the "body#active" code work? I've been looking at other posts which brought the subject up, but this is new to me.

    If anyone has a brief/simple example I could work through that would be great.

    Thanks,
    Mikel
    Good decisions come from experience.
    Experience comes from making bad decisions.

  2. #2
    Object Not Found junjun's Avatar
    Join Date
    Mar 2002
    Location
    northern MI
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mikeymoo
    How does the "body#active" code work?
    "body#active" means "a body tag with an id attribute with value of 'active'."

    as in: <body id="active">

  3. #3
    SitePoint Enthusiast Mikeymoo's Avatar
    Join Date
    Jul 2003
    Location
    St. Albans, Uk
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry - I understood what the tag was doing...

    What I'm interested in knowing is how to use this technique in creating dynamic subnav menu's.

    As mentioned in this thread:-
    http://www.sitepoint.com/forums/showthread.php?t=171861

    Thanks
    Mikel
    Good decisions come from experience.
    Experience comes from making bad decisions.

  4. #4
    Object Not Found junjun's Avatar
    Join Date
    Mar 2002
    Location
    northern MI
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mikeymoo
    Sorry - I understood what the tag was doing...

    What I'm interested in knowing is how to use this technique in creating dynamic subnav menu's.

    As mentioned in this thread:-
    http://www.sitepoint.com/forums/showthread.php?t=171861

    Thanks
    http://css.maxdesign.com.au/listamatic/ will get you in the right direction. Be adviced that it is helpful to have a good understanding of CSS and box model issues to achive a good cross-browser solution :-)

  5. #5
    SitePoint Enthusiast Mikeymoo's Avatar
    Join Date
    Jul 2003
    Location
    St. Albans, Uk
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks...

    I'm picking up the cross-browers stuff little by little. I have already checked some of my sites, and boy do I need to go back and do some work

    I'm only glad that I found this forum after reading the sitepoint books... Only problem is, the more I read the less I realise I know!!
    Mikel
    Good decisions come from experience.
    Experience comes from making bad decisions.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •