Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

html : target="_blank" customize the size


Wanwan

Recommended Posts

Posted

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 -- %_%_

Posted

See the jscript in catalog\product_info.php - popupwindow() - sets up the parameters when it creates a new window for position and size.

Posted
See the jscript in catalog\product_info.php - popupwindow() - sets up the parameters when it creates a new window for position and size.

 

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

Posted

you could setup the popup anyway you like its just another instance of the browser really.

Posted

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 -- %_%_

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...