Adding a drop in message to any MemberGate page
Here's how to add a 'Amazon' style drop in message to your web pages. Includes everything you need.
| This is a drop in box
This article shows you how to create and add a drop down message box like this to your web pages. |
As this page loaded, you probably saw a drop in box slide down from the top of the page - blocking your view until you clicked on the close window command.
These drop in boxes are used by more and more sites - and whether you love them or hate them, they do provide the web master a way to offer important information to web visitors.
If you want to add a drop down box to your web pages, here's how:
Adding a Drop Down Box:
- Step 1. Copy the following code and place it on your web page after the body command but before the code shown in step 2.
- Step 2. Copy the following code, modify it to include the message you wish to present, and paste in on your web page below the the script copied in Step 1.
That's all there is to it - but be sure to turn off the WYSIWYG editor before you start pasting in the above code.
Modifying the Drop Down Message
The drop down message window can display any html element - including text, images, and links. To include these elements, enter the html in the position indicated in the code from the Step 2 window, above.
Special Considerations
In MemberGate, when you add a javascript to a page, all content after the javascript needs to have any required html formatting commands.
In most cases, this just means adding a
whereever you would normally expect a line break or paragraph.
As always, test before uploading to your web site.