By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,504 Members | 1,187 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,504 IT Pros & Developers. It's quick & easy.

OnClick help needed

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
=====
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

P: n/a
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.