/ Published in: JavaScript
Update: Fixed a bug at the basic click() function.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function(){ /* Elements Visibility /////////////////////////////////////////////////////////////////*/ $('.element').hide(); /* Elements Functionality /////////////////////////////////////////////////////////////////*/ $('.element').click(function(){ return false; }); $('.element').mouseout(function(){ } }); $('.element').mouseover(function(){ } }); });