dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Image rollover

  1. #1
    Join Date
    Jul 2006
    Posts
    1

    Image rollover

    I am having problems getting a rollover to work, in a way that I have 2 images, however when I hover over image 1, image 2 should change.
    Can anyone help me achieve this

  2. #2
    Join Date
    Mar 2006
    Location
    Newcastle NSW Australia
    Posts
    4,033

  3. #3
    Join Date
    Aug 2006
    Posts
    167
    try this:
    HTML Code:
    <img onmouseover="document.pic2.src='newpic.gif';" onmouseout="document.pic2.src='oldpic.gif';">
    <br><img name="pic2">

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles