WordPress.org

Ready to get started?Download WordPress

Forums

change image when hover? (5 posts)

  1. philiphotserv
    Member
    Posted 8 years ago #

    know this is basics.
    how do i change a image to another when the mouse is over it?
    appreciate it.
    -Philip

  2. splosh
    Member
    Posted 8 years ago #

  3. philiphotserv
    Member
    Posted 8 years ago #

    a bit, but i was thinking no CSS, isnt there a way to do it in the HTML?

  4. splosh
    Member
    Posted 8 years ago #

    theres javascripts out there
    search google

  5. DanBollinger
    Member
    Posted 8 years ago #

    I need this, too. This javascript, which works for me on html pages, fails to display the mouseover image, but does display the mouseout image and provides a working hyperlink, when inserted into my theme's sidebar.php file. Any ideas how to get this to work?

    <td align="center"><a HREF="www.my.website/care" onMouseOver="rollover('Care')"
    onMouseOut="rollout('Care')"><img SRC="images/care_0.png" NAME="Care"
    HEIGHT="30" WIDTH="200" BORDER="0" ALT="Care"> <script TYPE="text/javascript">
    <!--
    setrollover('images/care_1.png');
    //-->
    </script></td>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.