473,405 Members | 2,354 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,405 software developers and data experts.

multiple commands in OnMouseOut



Is it possible to put several commands in the onmouseout command

I'm having several links each with its own ID (roll1, roll2, roll3, etc) and
i would like all to change on the OnMouseOver command

this changes the color of the link withthe id "roll1"
onMouseOut=back('roll1')

this changes the color of the link withthe id "roll2"
onMouseOut=back('roll2')

and this changes the color of the link withthe id "roll3"
onMouseOut=back('roll3')

I would like all of them to change with the OnMouseOver command
Jul 17 '05 #1
1 2720
"Roy G. Vervoort" <ro**********@rojaal.nl> wrote in message news:<40*********************@news.xs4all.nl>...
Is it possible to put several commands in the onmouseout command

I'm having several links each with its own ID (roll1, roll2, roll3, etc) and
i would like all to change on the OnMouseOver command

this changes the color of the link withthe id "roll1"
onMouseOut=back('roll1')

this changes the color of the link withthe id "roll2"
onMouseOut=back('roll2')

and this changes the color of the link withthe id "roll3"
onMouseOut=back('roll3')

I would like all of them to change with the OnMouseOver command

Please post javascript questions to the proper forum. Java and
javascript are not the same thing, not at all.

To answer your question: write a new function that contains all of the
calls. Then use the onMouseOut event to call your new function.

---
Jared Dykstra
http://www.bork.org/~jared
Jul 17 '05 #2

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

Similar topics

2
by: Marcos | last post by:
Hi guys, I realise this question has been answered in one form or another many times before but I can't quite find the solution I need. I am trying to run multiple subprocesses from a python...
2
by: Roy G. Vervoort | last post by:
I'm having several links each with its own ID (roll1, roll2, roll3, etc) and i would like all to change on the OnMouseOver command this changes the color of the link withthe id "roll1"...
7
by: Priti | last post by:
<td align="center" bgcolor="#6699cc" onMouseOver="white4.bgColor='#ffffff'" onMouseOver="this.bgColor='#993300'" onMouseOut="this.bgColor='#6699cc'" onMouseOut="white4.bgColor='#6699cc'"> I am...
6
by: Tom | last post by:
Hi, In the following code I have reproduced a problem in IE that is extremely annoying for my application. <html> <head> <script type="text/javascript">
3
by: David Svoboda | last post by:
I have a server program that takes commands and acts on them. The server program can also take these commands from an input file or standard input (mainly for testing purposes). As such, I often...
1
by: Anil Gupte | last post by:
This .Net Database stuff is way too complicated. Just to make a Select statement on an Access database, I have to first get a connection string, then open a connection to the database, then create...
16
by: devicerandom | last post by:
Hi, I am currently using the Cmd module for a mixed cli+gui application. I am starting to refactor my code and it would be highly desirable if many commands could be built as simple plugins. ...
2
by: david.jones45 | last post by:
Hi, I was playing around with some of the basic javascript commands like onMouseOver, onMouseOut, stuff like that and trying to use them within HTML e-mails. However, when composing the...
2
by: Wolfman | last post by:
Hi guys I recently added a popup HREF script to a page, but I'd also like to make the page itself change when the HREF command is clicked. When the user clicks, not only would the popup window...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
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.