Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
09-18-2013, 02:20 PM #1
- Join Date
- Sep 2013
- Thanked 0 Times in 0 Posts
Need Help: OnMOuse Over and multiple instances
1) A swap image. This work fine, but I need a third 'onMouseOver' option to add to this.
2)The action of this image (a button). I have it so that it expands a section of a page to reveal more content. This works fine as well, but I need to have more than one instance on the page. I'm pretty sure the problem is with the id, but can't get it to work if I place the html code more than once.
I apologize for the novice level of this. I should know how to do this, but I don't. The page itself is not live, so I can't show anything in action. Help would be great appreciated. I've listed the js and the html I have below.
<div onClick="openClose('a1')" style="cursor:hand; cursor:pointer"><div class="centered"><IMG id="IMG1" name="IMG1" src="images/expander-img1.jpg" onclick="swapImage();"></div> </div> <div id="a1" class="texter"> (content)</div>
09-18-2013, 03:27 PM #2
Evolution - The non-random survival of random variants.
- Join Date
- Jan 2011
- Thanked 520 Times in 519 Posts
Marty McFly is now walking amongst us.