Calling JavaScript from function from CSS
Posted
by Qutbuddin Kamaal
on Stack Overflow
See other posts from Stack Overflow
or by Qutbuddin Kamaal
Published on 2010-03-15T11:07:43Z
Indexed on
2010/03/15
11:09 UTC
Read the original article
Hit count: 306
css
|JavaScript
Hi,
Is there any way that I can call my Java script function from css
for ex here is style:
.first-nav li a:hover,
.first-nav li.hover a {
margin:-3px 0 -1px;
height:30px;
position:relative;
background:url(../images/nav-hover.jpg) no-repeat;
}
and what I want to call a JS function on anchor hover
© Stack Overflow or respective owner