473,748 Members | 2,276 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1270
"Steve R. Burrus" <bu*****@swbell .net> wrote in message
news:bu******** ********@newssv r23.news.prodig y.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="im g.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******** ********@newssv r23.news.prodig y.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.java script" 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******** ********@newssv r23.news.prodig y.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.java script" 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******** ********@newssv r23.news.prodig y.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.java script" 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
4323
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 be better to promote better programming than rely on PHP to compensate for lazy programming?
4
6429
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 well as some color coding, etc. Having trouble finding the same in an editor that'll run on OS X. -- Floydian Slip(tm) - "Broadcasting from the dark side of the moon"
11
4010
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
18533
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 blocks until something.exe terminates. Just what I /don't/ want. (Wouldn't an & be nice here! Sigh) I need something.exe to disconnect and run in the background while I
1
3704
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 sockets??
10
4222
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
4417
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 image, which will upload the record to a mySql db so users can then either view all profiles or query.. I.e. show all males in UK, all femails over 35 etc. Now, I'm not asking for How to do this but more what would be the best way? I've looked at...
8
3660
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 say that i like it to see mysql replaced by a real database (stored procedures etc.)
1
3637
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 NOT IN ( SELECT manufacturers_id FROM products )
3
3491
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 the variable $GET but $GET is not a variable, I thought it came from the page that calls the PHP file? if(($_GET)==""){ this gets an error
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9378
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9331
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9253
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6798
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6077
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.