Open The Login / Sign-Up Drawer Automatically

TheBigK

Well-known member
I'm curious to know whether there's a way to automatically open the login / sign-up drawer at the top 30 seconds after the visitor visits the site?

I know this would be annoying, but I want to try this out. :)
 
Admin CP -> Appearance -> Templates -> page_container_js_body

Add this to the top:

Code:
<script>
window.onload = function()
{
	setTimeout(function(){ $('#loginBar #loginBarHandle a').click()},30000);
};
</script>
 
Admin CP -> Appearance -> Templates -> page_container_js_body

Add this to the top:

Code:
<script>
window.onload = function()
{
setTimeout(function(){ $('#loginBar #loginBarHandle a').click()},30000);
};
</script>

Thanks a lot Jake. I'm curious to know whether the open drawer would be an obstacle for the Google Spiders in crawling the website (following links)?
 
Top Bottom