473,387 Members | 1,501 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,387 software developers and data experts.

OnClick help needed

Currently I have 6 images (anchors) across my page and have some javascript
for OnMouseOver and OnMouseExit which highlights the image as you move the
mouse over it (see http://www.leicesterchurchmusic.org).

When you click a button, I would like to be able to:
- Change the image to a different button
- Change the last image I clicked back to a normal button
- Button shall not change for over/exit if it is clicked.

For one button, this is the code I have so far.

<A target="main" href="./home.html"
onmouseover="image1.src='./images/navbutton_home_over.gif';"
onmouseout="image1.src='./images/navbutton_home.gif';" ><IMG name="image1"
src="./images/navbutton_home.gif" border="0"></A>

1.
I can use OnClick and change the image, but as soon as I move the mouse, it
reverts back again because of the existing mouseover/exit functions. How do
I stop this?

2.
Obviously when I click a different button, the same thing shoudl happen, but
I'll have to revert the other button back to normal. How do I do this?

Any help would be appreciated.

Many thanks,
Steve :)
--
Jul 20 '05 #1
3 2400
In article <RW**********@rowyerboat.com>, "Twinkletoes"
<no****@nospam.noviagra> writes:
I use WS_FTP. It doesn't care what file you upload :P


WS_FTP doesn't care, but the AOL server *does*.
I just tried uploading an .odometer file using WS_FTP and the AOL FTP Server
rejected it.

553-Files or Directory names on this server must contain only alphanumeric
553-("a"-"z", upper or lower case, or the digits "0"-"9" and the characters
553-underscore("_"), hypeh("-"), or period(".") - and must NOT begin with
553-either a hyphen or a period. No spaces or special characters are
553-now permitted
553 /hikksnotathome/.odometer: Permission denied. (Filename (deny))

Can you post a SN that has a self uploaded odometer file?

To prove its authenticity, make it say:

"This is a test file, to prove that one can upload a filename named .odometer
to the AOL servers" should do it. And name it .odometer or .testFile Something
to show that you are actually doing it?
--
Randy
Jul 20 '05 #2
=====
You've replied to the wrong thread pal.
=====
In a flash of pure inspiration, HikksNotAtHome declared:
In article <RW**********@rowyerboat.com>, "Twinkletoes"
<no****@nospam.noviagra> writes:
I use WS_FTP. It doesn't care what file you upload :P


<snip>
Jul 20 '05 #3
In article <RW**********@rowyerboat.com>, "Twinkletoes"
<no****@nospam.noviagra> writes:

=====
You've replied to the wrong thread pal.
=====
In a flash of pure inspiration, HikksNotAtHome declared:
In article <RW**********@rowyerboat.com>, "Twinkletoes"
<no****@nospam.noviagra> writes:
I use WS_FTP. It doesn't care what file you upload :P


<snip>


Yikes! My apologies. Not even sure how that happened. Guess its another case of
this crappy AOL newsreader "fixing" things for me. Again, my apologies.
--
Randy
Jul 20 '05 #4

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

Similar topics

3
by: Jim Mitchell | last post by:
I have some code behind that generates 10 imagebutton controls.... I can not seem to figure out how to trap the onclick event for each image and determine which image was clicked. Can someone...
4
by: Michael Hill | last post by:
I had this html: <tr id="action" title="click to do something" onclick="alert('mike');"> <td>a</td> <td>b</td> </tr> and it works when I click on the row, but when I try to add it...
2
by: kelvin | last post by:
Hi, I've this piece of code which does not work at all. Can anyone point out my mistake? I've 2 buttons. History button will call verifyFields() function and lead to different page for...
3
by: Jamie Jackson | last post by:
I'm rewriting all links' onclick events, but I'm having a problem. The onclick event that I'm inserting works correctly in Opera, but not in FF or IE. I'm retroactively adding the statement...
13
by: crjunk | last post by:
Should I expect some of my users to not be able to view a report that I am launching in a new web browser if they have any popup blocking tool bars or other software installed on their computer? ...
4
by: Mark Rae | last post by:
Hi, VS.NET 2003 on WinXPPro, both with all the latest patches and updates, etc... I've got a very simple WebForm which is used either to add a new record to a SQL Server database or edit a...
11
by: GaryB | last post by:
Hi Guys, I've been battling with this one for hours - I hope that you can help me! My code modifies the <aon a page, from a standard document link into a link with a tailored onclick event. ...
2
by: =?Utf-8?B?Uml0YUc=?= | last post by:
I posted this question in the C# discussion group but am posting it here also since ASP is involved. I'm new to C# and need some help regarding an onClick event not firing. I have a data grid...
2
by: stevemtno | last post by:
I've got a problem with a web page I'm working on. I have 4 modules - one of them has 2 tabs, two of them have 4 tabs. When the user clicks on the tabs, the content below them changes. However, when...
1
by: Jacqui | last post by:
Hi, I am trying to write a webpage that has a form on it, which gets submitted when a button is pressed, but also has an onclick event which does some DOM manipulation to display a waiting page....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...

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.