Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Mouse-over on button

Reply
Thread Tools

Mouse-over on button

 
 
John
Guest
Posts: n/a
 
      08-24-2005
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.
 
Reply With Quote
 
 
 
 
hywel.jenkins@gmail.com
Guest
Posts: n/a
 
      08-24-2005

John wrote:
> 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".

--
Hywel

 
Reply With Quote
 
 
 
 
John
Guest
Posts: n/a
 
      08-24-2005
On 24 Aug 2005 01:26:47 -0700, http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:

>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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
image button click event fires before click event of button Purvi T ASP .Net 0 10-19-2004 06:19 AM
Image button acting like submit button. Russell ASP .Net 3 06-24-2004 01:55 AM
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl. jorge ASP .Net 2 05-25-2004 11:45 PM
HTML Reset Button Doesn't work after postback with Submit button Chris Lane ASP .Net 4 11-17-2003 11:52 PM
JavaScript Access to Button in form tags (webcontrol or html button) Wes Weems ASP .Net 1 07-20-2003 05:27 AM



Advertisments