[javascript link pop up window?] - Computer Technology Forums

WE HAVE MOVED. Please see our NEW Computer Forums

Technology Forums | Technology Careers

11-8-2009: Sorry for the inconvenience. We finally upgraded to vBulletin 3 !!
See you there,
Larry




javascript link pop up window?

Go to the Tech-Forums Discussion Home Page



Posted by: spfd

hi, i was curious how to make a javascript pop up window.

ie. click on a link for a picture, it opens up the link but only a window, no address bar or anything.

I have this code
"<A HREF="jsp_11.html" onClick="window.open('opened.html', 'joe',
config='height=300,width=300')">"

it works, but the problem with it is, when i get the pop up, it changes the page content.

ie. i click on link, the window pops up, and the window that i used to click the link changes to jsp.html.

thanks in advance,



Posted by: ADZ

[url]http://javascriptkit.com/popwin/index.shtml[/url]

You can specify what you want in there.



Posted by: raylu

Why do you have an href pointing to another page?

[code]<a href=javascript:window.open('page. html','windowname',config=width=x,height=x,toolbar
=no,scrollbar=no,status=no,location=no')>Link</a>[/code]

I think that should do it. It's always eaiser to do this though:

[CODE]<a href=page.html target=_blank>Link</a>[/CODE]




Please Visit the Online Configurator, Email Hosting, Internet Marketing , Computer Schools , Software for Real Estate , AAOutlook , Search Engine Site