[Plugin: SimpleModal Login] invoke popup from jquery
-
Hi, i want invoke the popup after a slide of a jquery button
I’ve tried this solution but don’t work…any hint or solution ?
sound like this:
jQuery(document).ready(function() { $loginregister = false; jQuery(".btn_select").stop().animate({marginLeft: '0px' }); jQuery(".btn_select").click(function(){ jQuery(this).blur(); if ($loginregister == false){ jQuery(this).stop().animate({marginLeft: '70px' }); jQuery(window.location).attr({ href: '/wp-login.php', 'class': 'simplemodal-login' }); $loginregister = true; }else{ jQuery(this).stop().animate({marginLeft: '0px' }); $loginregister = false; } return false; }); });
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: SimpleModal Login] invoke popup from jquery’ is closed to new replies.