Results 1 to 2 of 2

Thread: jpg not showing on mouseover/out

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898

    jpg not showing on mouseover/out

    <a href="xyz.asp#"><img src=".\images\xyz_off.jpg" onmouseout="this.src='.\images\xyz_off.jpg'" onmouseover="this.src='.\images\xyz.jpg'" border="0" WIDTH="88" HEIGHT="69" alt="xyz">

    Can anybody tell me why my image doesn't show on the onmouseout an onmouseover events. The src is fine all my images are in the .\images directory.

    Regards
    Bill

  2. #2
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    try changing the path to something like this...

    Code:
    <a href="xyz.asp#"><img src="../images/xyz_off.jpg" onmouseout="this.src='../images/xyz_off.jpg'" onmouseover="this.src='../images/xyz.jpg'" border="0" WIDTH="88" HEIGHT="69" alt="xyz">
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

Posting Permissions

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



Click Here to Expand Forum to Full Width