Skip navigation
Currently Being Moderated

javaScript rollOver trouble...

Jan 30, 2012 11:41 AM

Hi,

 

I cannot get this to roll over and reveal the swap image. Works on other pages but not this one...newcolor.jpg is the new swatch color. newcolorphotograph.jpg should be revealed when the newcolor.jpg swatch is hovered over. the original image  on display (at all times) is called originalphotograph.jpg:

 

<br clear="all">

<img src="../images/shared/newcolor.jpg" name="sub2" hspace="0" vspace="0" border="0" align="left" id="sub2" onmouseover="roll('sub2', 'http://mysite.com/images/shared/newcolor.jpg', 'sub1', 'http://mysite.com/images/newcolorphotograph.jpg')"

onmouseout="roll('sub2', 'http://mysite.com/images/shared/newcolor.jpg', 'sub1', 'http://mysite.com/images/originalphotograph.jpg')" valign="bottom" oversrc="../images/newcolorphotograph.jpg"><br clear="all">

 

 

In head, it calls upon the correct script include to perform this task. Is something "off" here?

Thanks!

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points