Forums

Get help. Give help. A Web Design and Development Community.

[Solved] How to make hovering over one div to trigger changes in another div?

  • # July 17, 2013 at 9:16 am

    Sure, my pleasure.

    # October 23, 2013 at 7:42 am

    Hello I’m new here and few months old in the HTML and CSS world.

    I’m working on my website and I’m stuck at this point about hovering and changing background.

    This is the page how it looks like at the moment.
    http://www.lorenzomeschini.com/architecture/barcelona

    I’m trying to make that when the mouse hover the different links in the menu, the vertical sidebar (the background of the menu) get a different background for every links.

    Here I give you a “clean” version of my html and css.

    http://jsfiddle.net/daFDn/1597/

    I would really appreciate if someone could help me.

    # October 23, 2013 at 8:10 am

    Rather than resurrect an old thread, could you start a new one?

    I would say that your HTML is badly formed…you can’t use an ul without using li.

    # October 23, 2013 at 8:54 am

    Well I just didn’t wanted to create a new one about same topic, in every forum people complain about using “search”.

    Ok I will make a new one and yes I’m aware that my HTML and probably CSS are not perfect since I never did anything like that before.

    # October 23, 2013 at 8:57 am

    Thanks.

    # November 8, 2016 at 1:13 am

    @jozsef K. -> I was searching for something – I didn’t really know what – but I am studying psychology, and there is a huge curriculum. I wanted some way to organise the different articles and chapters according to a (or several) timelines – it’s developmental psychology. My thinking was, that different articles concern themselves with different intervals of life; some from 1-3 years, others the whole lifespan, others still beyond a single life, eg. evolutionary perspectives, ect. I wanted to have some lines that, when the mouse hovered above the name of an article, the specific part of the timeline(s) that that article referred to, would highlight. Your code, although I am too novice to use it, is exactly what I had envisioned. I assume that, with proper coding, hovering above a specific part of a timeline could highlight several articles (the reverse effect). It is beyond me to get into this, but I just wanted to thank you for at least giving my brain a solution to a creative impulse, which I may implement in the future. Thanks.

Viewing 6 posts - 46 through 51 (of 51 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.