Re-Post: Javascript Img. Rollover.

  • Thread starter Steve R. Burrus
  • Start date
S

Steve R. Burrus

How do you go about getting a basic image "rollover" achieved in
Javascript anyway, i.e., get a changing image???!!! I used to do a
rotating ad banner some time ago, so I wanna do basically the same thing
right now, with as little effort on my part as possible. I can almost
recall the code to use to do this, but not quite, so can someone please
help me out?
 
M

McKirahan

Steve R. Burrus said:
How do you go about getting a basic image "rollover" achieved in
Javascript anyway, i.e., get a changing image???!!! I used to do a
rotating ad banner some time ago, so I wanna do basically the same thing
right now, with as little effort on my part as possible. I can almost
recall the code to use to do this, but not quite, so can someone please
help me out?

Will this help? Watch for word-wrap.

<html>
<head>
<title>rollover.htm</title>
</head>
<body>
<base href="http://www.google.com/">
<a href="#"
onMouseOut="img.src='images/logo.gif'"
onMouseOver="img.src='intl/en_ALL/images/images_hp.gif'"
<img src="images/logo.gif" border="0" alt="" name="img"></a>
</body>
</html>
 
M

McKirahan

Steve R. Burrus said:
How do you go about getting a basic image "rollover" achieved in
Javascript anyway, i.e., get a changing image???!!! I used to do a
rotating ad banner some time ago, so I wanna do basically the same thing
right now, with as little effort on my part as possible. I can almost
recall the code to use to do this, but not quite, so can someone please
help me out?

This was posted on 05/20/2004 in "comp.lang.javascript" under "JavaScript
Animation Tutorial":

Hi All,

If anyone needs help doing rollovers or more complicated JavaScript
Animation, check out http://www.schrenk.com/js

Very interesting examples.
--flipper,
 
M

McKirahan

Steve R. Burrus said:
How do you go about getting a basic image "rollover" achieved in
Javascript anyway, i.e., get a changing image???!!! I used to do a
rotating ad banner some time ago, so I wanna do basically the same thing
right now, with as little effort on my part as possible. I can almost
recall the code to use to do this, but not quite, so can someone please
help me out?

This was posted on 05/20/2004 in "comp.lang.javascript" under "JavaScript
Animation Tutorial":

Hi All,

If anyone needs help doing rollovers or more complicated JavaScript
Animation, check out http://www.schrenk.com/js

Very interesting examples.
--flipper,
 
M

McKirahan

Steve R. Burrus said:
How do you go about getting a basic image "rollover" achieved in
Javascript anyway, i.e., get a changing image???!!! I used to do a
rotating ad banner some time ago, so I wanna do basically the same thing
right now, with as little effort on my part as possible. I can almost
recall the code to use to do this, but not quite, so can someone please
help me out?

This was posted on 05/20/2004 in "comp.lang.javascript" under "JavaScript
Animation Tutorial":

Hi All,

If anyone needs help doing rollovers or more complicated JavaScript
Animation, check out http://www.schrenk.com/js

Very interesting examples.
--flipper,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top