Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Menu Response On Hover

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #40221
    djrolstad
    Participant

    http://imageshack.us/f/837/copyofskgportalnew.jpg/

    I have this website and I’m trying to make it so when the user hovers over a part of the menu the text up-top would change. How can I do this?

    #111583
    HemZone
    Member

    Refer this link and customize it as per your design.

    http://www.dyn-web.com/code/basics/change_content/

    #111588
    Kitty Giraudel
    Participant

    Problem with JS insertion is SEO. Content which doesn’t exist is not read by search engine bots.

    One way to go is to stack content blocks on top of each other. When you other link-X, block-X comes up with a higher z-index than other blocks.

    You could even go with opacity + pointer-events (+ transition), with a z-index fallback for unsupport browsers thanks to Modernizr.

    #111475
    Senff
    Participant

    Or use some jQuery, where you can have a number of content blocks stacked on top of eachother, but they’re all hidden — then on hovering any menu, the corresponding content block will show.

    #111736
    djrolstad
    Participant

    Thanks guys!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.