471,091 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,091 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 2350
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Michael Hill | last post: by
2 posts views Thread by kelvin | last post: by
3 posts views Thread by Jamie Jackson | last post: by
2 posts views Thread by =?Utf-8?B?Uml0YUc=?= | last post: by
1 post views Thread by Jacqui | last post: by

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.