Hover


#1

$(document).ready(function(){

$('div').hover(
function(){
$(this).addClass('active');
},
function(){
$(this).removeClass('active');
});
});
whats wrong ?


#2

what's your error message?


#3

There is a built in delay in the lesson checker.

  1. Submit
  2. click in the preview window
  3. read the message in the footer
  4. mouse over the div
  5. pause two seconds
  6. read the message in the footer
  7. mouse off
  8. pause two seconds
  9. read the message in the footer
  10. return to editor

#4

Wow, that's super annoying, glad you figured it out. thank you!
I guess that's something to watch for in the future.
thank goodness for the forum.


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.