Follow

Is it possible to get the InviteBox widget to pop up as the page loads instead of using the button?

Sometimes you might want the InviteBox go into popup mode right away as the page loads instead of it being triggered by a button.  To achieve that, set "Display mode" to "Button" and paste the code below into your page next to the widget code.

 

1   <style type="text/css">

2   #invitebox-btn { display:none; }

3   </style>

4   <script type="text/javascript">

5   var invitebox = inviteboxl l {} ;

6   invitebox.afterInit = function() {

7   invitebox.show() ;

8   } ;

9   </script>

0 Comments

Please sign in to leave a comment.
Powered by Zendesk