Popup Toolkit Unblockable Popup Tutorial
This concise tutorial will show you how to make Fully Unblockable popups using
Popup Toolkit.
Open Popup Toolkit and go to the General settings tab/screen (see fig. 1 below).
In the "Popup Type" section select "Unblockable Popup" radio button - it is enclosed
in red circle in fig. 1 below.
Now go to the "Popup Content" tab. and enter the popup's content. Note that the
Fully Unblockable popup supports only internal content (not a web page as content)
and the content is text only - unformatted.
The Unblockable popup has two buttons at bottom - "OK" and "Cancel". You may
set onclick actions for both the "OK" and the "Cancel" buttons.
If you DON'T set an action for the "OK" button then, when clicked, it will
do the Visitor's action - navigate away or close the browser window.
If you DON'T set an action for the "Cancel" button then, when clicked, it will
do nothing but stay on the current webpage.
For examples of unblockable popups, please, open the examples directory of Popup Toolkit
(the "Popup Toolkit program group/Examples directory" or the menu in Popup Toolkit "Help/Examples and Templates").
Here you can find example projects of unblockable popups ("unblockable.ptk", "unblockable-on-exit-oncancel.ptk", etc.).
Below you can observe a sample content of an Unblockable popup:
UNBLOCKABLE
OFFER!
***************************************
WAIT! Don't Go!
Click "Cancel" button to Get a Free
Help Course about Popup Toolkit!
***************************************
Just click CANCEL below...
[--- oncancel=location.href='http://popup-toolkit.com/faq/'---]
The last red line (color doesn't matter but the text) terminates the current text passage.
Unblockable popups support text rotation. It is that each time the popup is opened it shows the next passage
of its content (one passage at a time). You determine the end of each passage witn [---] terminators.
In such a terminator you may plase an "onok" or an "oncancel" handlers. In the example above there is an
"oncancel" handler implemented.
The "oncancel" handler executes JavaScript, but for those of you not using JavaScript the above example
shows how to navigate to a given URL when the Cancel button of the Unblockable popup is clicked.
Just copy this red line and substitute your oncancel URL in place of http://popup-toolkit.com/faq/.
Remenber not to remove the single quotes around the URL (see the red line above).
You may see an example of the Unblockable Popup
here
.
If you have further questions about the unblockable popup, ask me on my e-mail (see bottom of page for contacts).