Wanwan Posted September 22, 2005 Posted September 22, 2005 Greetings, I want to customize the size of the windows when someone click on a link, and the link will eventually open in new window with a custom size. Now, I want the redirected window have a smaller size instead of full screen. For example my code is : <a href = " /../catalog/art_classes.htm", target="_blank"><font color = "#3300CC"> Upcomming Art Classes </font></a></h3> I want to resize target ="_blank" . I am trying to describe my problem. Sometime it is hard to explain a problem hehe... if anyone don't understand, please let me know, I will try to rephrase it. thank you in advance Wanwan -- %_%_
Guest Posted September 22, 2005 Posted September 22, 2005 See the jscript in catalog\product_info.php - popupwindow() - sets up the parameters when it creates a new window for position and size.
dahui Posted September 22, 2005 Posted September 22, 2005 See the jscript in catalog\product_info.php - popupwindow() - sets up the parameters when it creates a new window for position and size. <{POST_SNAPBACK}> but that will work only with popups, normal call of a href and point it to _blank = new browser window, is depending on the user settings on locak machine. please correct me if I am wrong dahui
Guest Posted September 22, 2005 Posted September 22, 2005 you could setup the popup anyway you like its just another instance of the browser really.
Wanwan Posted September 23, 2005 Author Posted September 23, 2005 Well, the catalog\product_info.php has the code that I could learn, but somehow is a bit complicated for a non JavaScript background, like me... :P But, I am really thank you to enigma1, who pointed out where I can get something similar, and then I search for JavaScript Tutorial, and I got the syntax explaination from the tutorial. :D Now, my popup Windows is working well, thank you so much. Wanwan -- %_%_
Recommended Posts
Archived
This topic is now archived and is closed to further replies.