Topic-icon Login Modal on PageLoad of Site

Active Subscriptions:

None
9 years 2 days ago #54890 by mgb_it
Could you pleas help me on how to show the SC login popup on pageload, without the user having to click a button or login link.

thanks,

MG
The topic has been locked.
Support Specialist
9 years 1 day ago #54893 by alzander
That's not something we currently support. To display the popup automatically on the page, you just need to use the following Javascript on page load:
jfbcJQuery('#login-modal').modal('show');
However, the user can easily dismiss that. If you need it to stay active until the user registers or logs in, it would take more effort that we wouldn't be able to help with. You'd need a developer to add that additional code, test and make sure it only applies to the correct pages.

I hope that helps get you going,
Alex
The topic has been locked.