Follow

Is it possible to add a custom referral button or popup?

When using the "Button" display mode, it's easy to override the button provided by InviteBox with your own image, text link, or make it show up on your own Javascript event.  First, hide the default button with css. The selector for it is #invitebox-btn .  Second, make the popup appear using the InviteBox.show() Javascript call:

1.   <!--Hide standard "tell a friend" Button -->

2   <style type="text/css">

3   #invitebox-btn { display:none; }

4   </style>

5

6

7   <a href="javascript:;" onclick="invitebox.show();">

8   <!-- your own link. Put any image or text here -->

9   Recommend

10  </a> us to friends and get a free pass for the next month!

0 Comments

Please sign in to leave a comment.
Powered by Zendesk