deadlock Message Board
[ February Full List | Reply ]

Re: OnMouseOver
From RB on 5 Feb '99
replying to Re: OnMouseOver posted by Jim

>>Someone asked me to make the links on the page "light up" when you pass over them.
>>I was wondering if I can either get the mouseover command to wrk without a javascript,
>>or there is another command to do that.
>
>It seems rather pointless to me, but here's how to do it. You'll need
>two versions of your graphic; one switched "on", the other "off".
>
><A HREF="page.html" onmouseover="document.page.src='lit_up.gif'"
>
onmouseout="document.page.src='normal.gif'"><IMG SRC="normal.gif" border=0></A>

________________________________________________________________
Msie ver 4

has a c-style sheet support

were you can make the links change color when the mouse is over it.

example

<STYLE type="TEXT/CSS">

<! --

a:link {text-decoration: none; font-weight: bold; }

a:visited {text-decoration: none; font-weight: bold; }

a:hover {color: #8080FF;}!>


</STYLE>

by the hover only works in Msie.
this code by the way removes the underline from the links
but the code before <body> in the html




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive
automatic replies by email)

Your Message