Results 1 to 4 of 4

Thread: Script/css to open content on same page-and highlight active content.

  1. #1
    Join Date
    May 2008
    Posts
    23
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Script/css to open content on same page-and highlight active content.

    The effect I'm looking for is to have a simple tabbed menu on a page that allows the user to open a div with different content, with that content and tab highlighted to show where the user is. An example of the effect is in the middle of this page, where the additional information/accessories etc resides:
    http://butterflyphoto.com/prodinfo.phtml?id=1928

    I have a script that does the div opening thing, but I can't figure out how to get the background of the "current" tab and content to change color. You can see it on a test page here;

    http://avdistribution.shop.wosbee.co...8&freePage=313
    Last edited by avdistribution; 01-08-2009 at 09:48 PM.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Take a look at this one, it might be what you are looking for:
    http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

    Good luck!

  3. The Following User Says Thank You to Snookerman For This Useful Post:

    avdistribution (01-07-2009)

  4. #3
    Join Date
    May 2008
    Posts
    23
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Snookerman,
    Thanks-that solution works well. I only looked in the menu's section, so missed that one.
    Cheers!

  5. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You're welcome, glad to help! You can go to your first post in this thread, click then click Go Advanced and add the Resolved prefix to the thread title. This will let other users know the problem has been solved.

    Good luck with your site!

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
  •