Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) onmouseover question

  • Curtis Thompson

    July 23, 2011 at 7:02 pm

    hello…

    well – assuming the text is plain html text and not an image, you have a few options:

    1. make a javascript array of the text and then add a function to also swap that text out to the desired bit on mouseover (by setting the innerhtml property of the div/span where the text is)

    2. make a series of divs (each with the desired text) and then stack them via z-index where you want the text to show and turn on/off the desired one via its visibility property

    then for either option, you could just add another function to the mouseover bit – like this:

    onmouseover=”changeText(‘redcrystall’),MM_swapImage(‘large’,”,’jewelry/redcrystall.jpg’,1)”

    if none of this is making any sense i could do a mockup of what i mean…

    sitruc

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy