Forgot password? | Forgot username?

2 Popups on page cannot prevent auto popup!

2 Popups on page cannot prevent auto popup!

Hi there,

I have 2 simple pop up links on the home page that pops up 2 individual modules,

I want to prevent the auto popup for both

The popup link in the middle of the page keeps on auto popping up, the code for it is:

{simplepopup link=spudonate}here{/simplepopup}
{simplepopup name=spudonate popup=false}
{loadposition donate}
{/simplepopup}

The popup link at the bottom of the page, the code is:

{simplepopup name=login}{loadposition loginload}{/simplepopup}
{simplepopup link=login}Administration{/simplepopup}

This popup link doesn't auto popup on this page but it seems like its conflicting with the popup=false property of the other link, because if i remove either one of them from the home page, the popup=false property works for both of them.

How do i make both popup links prevent auto popping up??

Thank you for such a great extension

Administrator has disabled public posting. Please login or register in order to proceed.

Re: 2 Popups on page cannot prevent auto popup!

okay i managed to fix it, preventing both popups from AUTO showing

on both popups, i added after popup=false .. the cookie=365 property (which means  the number of days not to show the popup)

{simplepopup link=spudonate}here{/simplepopup}
{simplepopup name=spudonate popup=false cookie=365}  << - - - - -
{loadposition donate}
{/simplepopup}

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests and 0 other users also viewing this topic

Donate

Please consider supporting my efforts.



Google Ads