View Full Version : Multiple Pop ups

10-06-2003, 11:37 PM
Ok have many different links on my page that I want to pop-up when u click on them, but I dont know how to do that because all of them just have the 1 thing Url at the top, can anyone help me, and if possible not having to put anything in the head just in the link like <a href="" onlick"open.windo" or something, Thanks

10-07-2003, 03:15 AM
well if just want the page to open in a new window you just put target="_blank", the size and positiong of the window wont be of your control, and the window will be in the state of the default appearance of the browser. so <a href="url" target="_blank"></a>

if you want the window in a specific, size, place, or with specific properties, you would have to open the new window via javascript, using window.open("url", "id name", "properties")
an example:

<a href="javascript: void(window.open('http://google.com/', 'google', 'width=200, height=100, left=50, top=100, toolbar, location, directories, status, scrollbars, menubar, resizable'));">google</a>

you could play with the properties to change those numbers, and to remove some of the single true false type properties like status, scrollbars, location, toolbar, menuebar, resizable

note...!! remove the space in java script, to make javascript