java image animation not working????

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Aug 2006
Posts: 57
Reputation: bazmanblue is an unknown quantity at this point 
Solved Threads: 0
bazmanblue bazmanblue is offline Offline
Junior Poster in Training

java image animation not working????

 
0
  #1
Sep 19th, 2006
hello ive been trying to insert a java code to change the images of my buttons when the mouse is held over i have followed these codes
<head>
<script type="text/javascript">
function mouseOver()
{
document.b1.src ="t5fshop.png"
}
function mouseOut()
{
document.b1.src ="t5fshop2.png"
}
</script>
</head>
<body>
<td width="191"><a href="http://www.bob.com"
onmouseover="mouseOver()"
onmouseout="mouseOut()">
<img border="0" img src="t5fshop.png" name="b1" width="190" height="50" /></a></td>
</body>
in dreamweaver when i click to see what it looks like in a ie6 browser nothing happens to the button when i hold it over? im wondering wether this is because i havent sent the images to a server yet? thanks for your help in advance
To get 1000 links to free ad sites visit
http://www.freeaddsgalore.me.uk
For FREE:!:
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 216
Reputation: hooknc is an unknown quantity at this point 
Solved Threads: 8
hooknc hooknc is offline Offline
Posting Whiz in Training

Re: java image animation not working????

 
0
  #2
Sep 19th, 2006
the text script type="text/javascript" should hopefully give you a hint that your code is actually JavaScript and not Java. I would recommend asking your question in the HTML, CSS and JavaScript forum.
Last edited by hooknc; Sep 19th, 2006 at 3:19 pm.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC