Internet marketing resources, ecommerce web site design tutorials and  just for fun - free cell phone ringtones!
  Taming the Beast - quality web marketing and ecommerce development services

Launching popups – the easy way

Posted by Michael Bloch in web development (Thursday February 2, 2006 )

Sick of messing about with lines and lines of code and seperate coding to launch a simple popup window?

Try this simple snippet out, it’s basically just an extension of normal linking code:

Launch popup

Change pathto/poppage.htm to the location of where the page you want to pop up is stored in your file base. Make sure all the code is on a single line, not on multiple lines as above.

You can specify if you want a toolbar, scrollbar, status bar, menu bar etc. by changing the “0” value to “1” and adjust the width and height to suit, and also the positioning on the screen by altering the “left” and “top” value.

Much simpler :)


Comments for Launching popups – the easy way

No comments yet.

Sorry, the comment form is closed at this time.