rollover image not working

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Graeme Howard

    #1

    rollover image not working

    Hi, Im trying to make a link change an image on my webpage.

    This is what I've got. I the user to click on the link, as opposed to
    hover over the link.

    <a onmousedown="do cument.main_img .src = 'content/home.gif';"
    href="javascrip t:void">Welcome </a>

    <img border="0" src="content/home.gif" width="690" height="508"
    name='main_img' ></td>
  • Richard Cornford

    #2
    Re: rollover image not working

    Graeme Howard wrote:
    <snip>[color=blue]
    > <a onmousedown="do cument.main_img .src = 'content/home.gif';"
    > href="javascrip t:void">Welcome </a>[/color]
    <snip>

    The use of javascript: pseudo-protocol HREFs does not result in reliable
    web pages, and particularly when the code used represents a syntax
    error:-

    <URL: http://www.jibbering.com/faq/#FAQ4_24 >

    Richard.


    Comment

    Working...