Quick instructions how to set up your flying popup

1. Create your popup content
Example below - note the ID of a div "popup_content" that is used later when firing .popup() and "display: none" to hide the div.
Also the ID of element used to close popup ("baner_close")
In popup there'll be everything that is inside <div id="popup_content">
	<div id="popup_content" style="display:none;">
		<div style="float:right;padding:10px;">
			<a href="#" id="baner_close">Close</a>
		</div>
		<div style="clear:both;"> </div>
		<center>Here you can show anything you want
		<br/><strong>Use SWF, play videos!</strong><br/></center>
		<object width="100%" height="100%">
			<param name="movie" value="Envato Logos Pro Still.swf">
			<embed src="Envato Logos Pro Still.swf" width="100%" height="100%"></embed>
		</object>
	</div>
2. Set CSS for popup and overlay (example below)
body { overflow-x: hidden; } /* to remove horizontal scroll when using fly-in */
#overlay { width:100%; height:100%; position:fixed;  _position:absolute; top:0; left:0; z-index:1001; background-color:#000000; overflow: hidden; }
#popup { display: none; position:absolute; width:550px; height:170px; z-index:1002;  border: 1px solid #000; background-color: #000; color: #fff; font-family: Tahoma,sans-serif;font-size: 14px; }
#baner_close { color: #cc0000; }
3. Set settings to fire $('#popup_content').popup(SETTINGS, function(){});
Click "Show popup" to preview the popup and also to get the settings object to copy/paste
popup_div, overlay_div, close_id - change them manually later to fit your elements IDs


starttime when to show popup (in seconds) 0 to start immediately after firing $("ELEMENT_ID").popup() plugin
multipages_timer set to true when you want to use 'starttime' across multiple pages on your website. E.g. you want to show popup after 120 seconds when user is looking through your shop's content on any page
selfclose after what time self close popup. 0 - disable feature
overlay turn on/off overlay
opacity_level opacity level of overlay (from 0 to 1)
overlay_cc close popup on overlay click
centered center popup vertically
top distance from top to show popup (in px or in percent ie. '20%') - works only for centered=false
left distance from left to show popup (in px or in percent ie. '20%') - works only for centered=false. Set 100% to align right
setcookie use cookie to prevent showing popup multiple times
cookie_name name of cookie, that is used
cookie_timeout how long should cookie be stored (in days, 0 = current session)
cookie_views how many times site may be viewed until the popup will be shown again (0 = don't use this)
floating turn on/off floating popup
floating_reaction floating reaction in miliseconds (how quickly start floating after scrolling/resizing the page)
floating_speed smaller value = higher speed (by default = 12)
fly_in turn on/off fly-in popup - works only with floating popups
fly_from if fly_in = true, can be 'top-left', 'top-right', 'left', 'right', 'top', 'bottom', 'bottom-left', 'bottom-right' ('top' by default)
fly_out turn on/off fly-out popup - works only with floating popups
fly_to if fly_out = true, can be 'top-left', 'top-right', 'left', 'right', 'top', 'bottom', 'bottom-left', 'bottom-right' ('bottom' by default)
popup_appear how popup appears "show" (default), "fadeIn", "slideDown" (has sense when fly_in = false, or with long popup_appear_time)
popup_appear_time time of appearing (may be "slow", "fast" or number in miliseconds) 0 or empty to show immediately
popup_disappear how popup disappears "hide" (default), "fadeOut", "slideUp" (works for fly_out = false)
popup_disappear_time time of disappearing (may be "slow", "fast" or number in miliseconds) 0 to hide immediately - for fly_out = false
confirm_close show native Javascript confirm box, when user tries to close the popup
confirm_close_text confirm box text (for confirm_close = true)
Show popup