Advertisement
Guest User

callme.js

a guest
Nov 17th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery(function(){
  2. jQuery("#viewform").click(function(){
  3.     jQuery("#callmeform").fadeToggle("fast");
  4. });
  5.  
  6. jQuery("#cme_cls").click(function(){
  7.     jQuery("#viewform").click();
  8. });
  9.  
  10. jQuery("#viewform").hover(
  11.     function () {
  12.         jQuery(this).addClass("callmeform_hover");
  13.     },
  14.     function () {
  15.         jQuery(this).removeClass("callmeform_hover");
  16.     }
  17. );
  18. jQuery("#viewform").active(
  19.     function () {
  20.         jQuery(this).addClass("callmeform_active");
  21.     },
  22.     function () {
  23.         jQuery(this).removeClass("callmeform_active");
  24.     }
  25. );
  26. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement