Jan 14, 2003 #1 ashz Programmer Joined Dec 9, 2002 Messages 43 Location ES href (<a href="http://...) is the regular way to open a windows is their a way to open a window in another page?
href (<a href="http://...) is the regular way to open a windows is their a way to open a window in another page?
Jan 14, 2003 #2 Supra Programmer Joined Dec 6, 2000 Messages 422 Location US Sure if you have the handle of the other page, or if you want to open a new window. To open a new window: Code: window.open("[URL unfurl="true"]http://www.something.com","MyWindow");[/URL] To open something in that window, use: Code: window.open("[URL unfurl="true"]http://www.something.com",target="MyWindow");[/URL] Upvote 0 Downvote
Sure if you have the handle of the other page, or if you want to open a new window. To open a new window: Code: window.open("[URL unfurl="true"]http://www.something.com","MyWindow");[/URL] To open something in that window, use: Code: window.open("[URL unfurl="true"]http://www.something.com",target="MyWindow");[/URL]
Jan 14, 2003 #3 BDNFLNC Technical User Joined May 30, 2002 Messages 202 Location US What about... <a href="link.htm" target="_blank">link</a> Upvote 0 Downvote
Jan 15, 2003 Thread starter #4 ashz Programmer Joined Dec 9, 2002 Messages 43 Location ES Hi, Thanks for the help but since my href html link is limited I can not use the target option, Furthermore my knowledge in JavaScript is very minimal. How can I use javascript below (Supra thread) in an html file and how can I disable the toolbars of the browser and limit the size of the new window. Thanks a lot for the replies. Upvote 0 Downvote
Hi, Thanks for the help but since my href html link is limited I can not use the target option, Furthermore my knowledge in JavaScript is very minimal. How can I use javascript below (Supra thread) in an html file and how can I disable the toolbars of the browser and limit the size of the new window. Thanks a lot for the replies.
Jan 15, 2003 #5 liteon Programmer Joined Jan 7, 2003 Messages 11 Location DE Try <A HREF="javascript:void(0)" onClick="window.open('http://www...', 'Window new name', 'resizable=yes,height=500,width=600', false);" >New window</A Upvote 0 Downvote
Try <A HREF="javascript:void(0)" onClick="window.open('http://www...', 'Window new name', 'resizable=yes,height=500,width=600', false);" >New window</A