SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    show/hide layers

    I am using the show/hide mm script (v.3) to show and hide content areas of a page. I am using a mouseover to show a short description, then an onclick to display the full text.

    however, how can I make the full text disappear, when someone selects a different option? at the moment, the onclick just puts it on top of the previously select text (rather than removing the other text). Confused?!

    The main content text is written in a series of divs. Is there anyway to find out which is the active layer, and then hide it on the click of a different link?

    (sorry if you are too!) all advice gratefully received.
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  2. #2
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    looks like I have to specify the state of each layer in each link. so if i want to display a new layer, I must first hide the other one.

    thanks for all your help, er no-one.

    hahaha!
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky


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
  •