473,397 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Re-Post: Javascript Img. Rollover.

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?

Jul 23 '05 #1
4 1250
"Steve R. Burrus" <bu*****@swbell.net> wrote in message
news:bu****************@newssvr23.news.prodigy.com ...
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>
Jul 23 '05 #2
"Steve R. Burrus" <bu*****@swbell.net> wrote in message
news:bu****************@newssvr23.news.prodigy.com ...
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,
Jul 23 '05 #3
"Steve R. Burrus" <bu*****@swbell.net> wrote in message
news:bu****************@newssvr23.news.prodigy.com ...
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,
Jul 23 '05 #4
"Steve R. Burrus" <bu*****@swbell.net> wrote in message
news:bu****************@newssvr23.news.prodigy.com ...
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,
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Nel | last post by:
I have a question related to the "security" issues posed by Globals ON. It is good programming technique IMO to initialise variables, even if it's just $foo = 0; $bar = ""; Surely it would...
4
by: Craig Bailey | last post by:
Anyone recommend a good script editor for Mac OS X? Just finished a 4-day PHP class in front of a Windows machine, and liked the editor we used. Don't recall the name, but it gave line numbers as...
11
by: James | last post by:
My form and results are on one page. If I use : if ($Company) { $query = "Select Company, Contact From tblworking Where ID = $Company Order By Company ASC"; }
4
by: Alan Walkington | last post by:
Folks: How can I get an /exec'ed/ process to run in the background on an XP box? I have a monitor-like process which I am starting as 'exec("something.exe");' and, of course the exec function...
1
by: John Ryan | last post by:
What PHP code would I use to check if submitted sites to my directory actually exist?? I want to use something that can return the server code to me, ie HTTP 300 OK, or whatever. Can I do this with...
10
by: James | last post by:
What is the best method for creating a Web Page that uses both PHP and HTML ? <HTML> BLA BLA BLA BLA BLA
8
by: Beowulf | last post by:
Hi Guru's, I have a query regarding using PHP to maintain a user profiles list. I want to be able to have a form where users can fill in their profile info (Name, hobbies etc) and attach an...
8
by: Lothar Scholz | last post by:
Because PHP5 does not include the mysql extension any more is there a chance that we will see more Providers offering webspace with Firebird or Postgres Databases ? What is your opinion ? I must...
1
by: joost | last post by:
Hello, I'm kind of new to mySQL but more used to Sybase/PHP What is illegal about this query or can i not use combined query's in mySQL? DELETE FROM manufacturers WHERE manufacturers_id ...
3
by: presspley | last post by:
I have bought the book on advanced dreamweaver and PHP recently. I have installed MySQL and PHP server but am getting an error on the $GET statement show below. It says there is a problem with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.