Click to See Complete Forum and Search --> : Script works, then doesn't work. Please help.


Aerovive
12-14-2002, 11:40 AM
http://www.go4speed.com

The red menubar has a rollover that changes to a green text(image). I included it as SSI so I could change teh links.

(You can see what it looks like on http://www.go4speed.com/index2.shtml)

But when I included it with SSI, the rollovers don't work anymore. Why?

Beach Bum
12-14-2002, 12:14 PM
i get nothing in IE6. not sure why, did not try and step debug this.

but why not just change the image source directly in the onmouseover and onmouseout statements instead of using the functions? would be much more straight forward and less to go wrong.

instead of calling a function with pic1, just change the pic1 src right there.

jmwwally
12-14-2002, 02:54 PM
maybe your editer or your web host does not support SSI you might want to check and determine if that is your problem

Beach Bum
12-14-2002, 04:25 PM
in looking at this again - i think i see your problem - but i also can only see the page my browser downloaded - so SSI may be your problem.

in IE6 i see the menu bar twice. in looking at the code - the table is duplicated. so i suspect that on mouseover it is not clear to the browser which img is being referenced.

look at the include again. are you doing it twice?

Aerovive
12-15-2002, 11:39 AM
Yeh, I'm positive the SSI is working. The first menubar is just teh normal javascript code inserted in the html. The second is teh one I included for SSI to see if it works.

Beach Bum
12-15-2002, 12:31 PM
then i stand by the post above:

"the table is duplicated. so i suspect that on mouseover it is not clear to the browser which img is being referenced."

remove one and i bet the mouseover works again.