Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Posts
    144
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Tables, Mouseover change images

    Hi Guys,

    I have a table with a list of hot spot links. I would like to change an image in another cell in the table with mouse over a particular hot spot. Is this possible?

    The Dingbat

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Something like this maybe


    <table border="1">
    <tr>
    <td><a href="#null" onclick="mypic.src='pic1.jpg'">pic 1</a></td>
    <td rowspan="4"><img name="mypic" src="pic1.jpg"></td>
    </tr>
    <tr><td><a href="#null" onclick="mypic.src='pic2.jpg'">pic 2</a></td></tr>
    <tr><td><a href="#null" onclick="mypic.src='pic3.jpg'">pic 3</a></td></tr>
    <tr><td><a href="#null" onclick="mypic.src='pic4.jpg'">pic 4</a></td></tr>
    </table>


  •  

    Posting Permissions

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