» home
» contact
» terms of use

FREE SCRIPTS
» new
» text
» image
» utility
» background
» animation
» date/time

FREE ONLINE TOOLS
» code generators
» text animator
» drawing animator
» color animator
» slideshow factory
» javascript speed test

FREE BASIC SNIPLETS
» alert box
» image: multi-rollover
» pop-up: centering
» more

FREE'N'CRAZY
» realtime death counter
» eyeQ
» fun ticker

RECOMMENDED LINKS
» www.dynamicdrive.com
» www.hotscripts.com

Flying popup-window onClick
This Fun JavaScript creates a popup-window when you click on a link. The popup-window floats from the left side of your screen to the right side. Very easy installation. Browsers: Internet Explorer 5x/6x/7x/8x, Firefox 2x/3x/4x, Opera 7x/8x/9x/10x, Google Chrome 3x/4x.

Test the script
Click here to start the Flying Popup

Configuration
Step 1: Paste the following code between the <head> and </head> section of your webpage:




Step 2: Open your webpage and add a link like this:

<A HREF="javascript:openpopup('popupwindow.html','200','200','150')">Open Pop-up</A>

GREEN is the URL of the HTML-file displayed in your popup-window
BLUE is the width of the popup-window (pixels).
RED is the height of the popup-window (pixels).
BROWN is the vertical distance to the top of the screen (pixels).