florynth Posted April 28, 2006 Share Posted April 28, 2006 Is there a way (like in a css file...) to re-group the event of a tag instead of going in the html it self...Ex : <script language=javascript>function class1(){to do...}</script><style>.class1{onmouseenter:'javascript:class1()';}</style><span class="class1">blabalbal</span> Something like this or anything else of the same kind.... Link to comment Share on other sites More sharing options...
Little Goat Posted April 28, 2006 Share Posted April 28, 2006 that won't work in the css file, you need to put an onmouseover attribute on your span.I think there is some way you caN put it in your javascript, but I don't remember how...LG Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now