//sample solution to script.js
$(document).ready(function(){
$('div').mouseenter(function(){
$('div').fadeTo('fast',1);
});
$('div').mouseleave(function(){
$('div').fadeTo('fast',0.5);
});
});
$(document).ready(function(){
$('div').mouseenter(function(){
$('div').fadeTo('fast',1);
});
$('div').mouseleave(function(){
$('div').fadeTo('fast',0.5);
});
});
No comments:
Post a Comment