Forum Moderators: open
Here's the page I am having trouble with:
[stargazing101.netfirms.com...]
OnMouseClick the image should swap to an image with the dove's wings in a downward position:
[stargazing101.netfirms.com...]
I used GoLive5 to generate this page.
Any advice?
Thanks Kate
It's tempting to re-write the script, but I don't know how it would fit in with the rest of GoLive's ideas.
The problem might be here (a sample link & image from your source):
[color=blue]
<A HREF="" onMouseOver="act('loveo')"
onMouseOut="inact('loveo')"onMouseClick="fly('loveo')">
<IMG SRC="images/loveof.gif"
HEIGHT="45"
WIDTH="170"
NAME="loveo"
BORDER="0"
ALT="Love Offerings"></A>
[/color] Notice that the 'onmouseout' attribute has elided with the 'onmouseclick'. There should be at least one space between them.
Just as important. There is no 'onmouseclick' attribute! Should be 'onclick'. Have a go at 'onmousedown' first.
Put that space where it should be, and try changing 'onmouseclick' to 'onmousedown'.
If you have search & replace, just search under:
"onMouseClick and replace with
" onmousedown That will hopefully do the trick.