Thursday, July 10, 2014

How to create a popup window after clicking link

One of the most basic, but useful javascript functions is creating a resizeable popup window without a toolbar.

Just use the following code:

<a href="javascript:void() onclick="open('url','title of window','width=640,height=400,resizeable=true,toolbars=0'>Test link </a>

I hope you find that useful. See you next time!

In the meanwhile, check out my new car app for iPhone

No comments:

Post a Comment