Q: Как с мощью jquery осуществить onmouseover и onmouseout?
- Делается это при помощи встроенного в jquery метода hover. HTML
Code
<div id="test"><p>Здесь располагается содержимое id "test"</p></div>
jScript
Quote (jScript)
<script type="text/javascript">
$(document).ready(function(){
/* Start DocumentReady */
$("#test p").hover(function(){
$(this).css('background-color', '#F00');},function(){
$(this).css('background-color', '#00F');
});
/* End DocumentReady */
});
</script>
...
☑ Пример ...