Is there any way that I can call my JavaScript function from css?
For ex here is style:
.first-nav li a:hover, .first-nav li.hover a { margin:-3
Because it's more logical to do it from CSS.
If one wants to make links click on hover, it's an aesthetic quality and should be handled with CSS. For example:
#header_menu li a:hover{ color:white; js:click(); }