...

View Full Version : A Pop Up Window Code



miss
05-29-2004, 08:17 PM
Hey, I want a pop up window code which opens all the links in the same page.

please?

Rex
05-29-2004, 11:52 PM
Hello Miss -

I believe you could have found the answer easier by searching a search engine, or these forums. But here you go:

<a href="http://www.codingforums.com/" target="newWindow" onclick="window.open(this.href, this.target, 'width=345,height=320'); return false;">Coding Forums</a>

If you use the newWindow target name on all links, the page will open in a previously opened popup window, if there is any.

- Rex

miss
05-31-2004, 09:07 PM
I have searched and searched and searched but I didn't find what I wanted!

Anyways, Thanks. But I want scrollbars in the pop up window, How?

Thanks again. :)

MikeFoster
06-01-2004, 03:58 PM
Have a look at this thread (http://www.codingforums.com/showthread.php?t=39572)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum