Mouse-over on button

J

John

Hi:

On my web site (http://nusselder.ca/thejourney/) I am using the Milonic menu.
The mouse-over function works great.

On some pages (for example, the Home Page) I am using a couple of buttons
(similar in appearance, but not part of the Milonic menu) to get to other pages.

The script I am using is
"<a href="upc_events.htm"> <img src="upc-ev.jpg" border=0></a>"

That works great, but I am trying to get a mouse-over action there also.
I tried
"<a href="upc_events.htm"> <img src="upc-ev.jpg" border=0> <on mouseover img
src="upc-ev-mo.jpg" border=0></a>"
but that does not work.
Both jpg files are in the root directory.

I would be grateful for some direction as to how to accomplish the "mouse-over"
function here.

Thanks!

John <><

A wise monkey is a monkey who doesn't monkey
with an other monkey's monkey.
 
H

hywel.jenkins

John said:
Hi:

On my web site (http://nusselder.ca/thejourney/) I am using the Milonic menu.
The mouse-over function works great.

On some pages (for example, the Home Page) I am using a couple of buttons
(similar in appearance, but not part of the Milonic menu) to get to other pages.

The script I am using is
"<a href="upc_events.htm"> <img src="upc-ev.jpg" border=0></a>"

That works great, but I am trying to get a mouse-over action there also.
I tried
"<a href="upc_events.htm"> <img src="upc-ev.jpg" border=0> <on mouseover img
src="upc-ev-mo.jpg" border=0></a>"
but that does not work.

Why would it work? Where did you find the <on> element in the HTML
documentation? I think you made it up yourself. You can't just go
making up stuff like that - how will your (or my) browser know what to
do with made up elements?

I would be grateful for some direction as to how to accomplish the "mouse-over"
function here.

Google for "javascript image mouse over", then click the "I'm feeling
lucky button".
 
J

John

Google for "javascript image mouse over", then click the "I'm feeling
lucky button".


Thanks, Hywel!

John <><

A wise monkey is a monkey who doesn't monkey
with an other monkey's monkey.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top