Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to open window in a new page with a smaller dimension


Guest

Recommended Posts

Posted

Hi! I need to open a new page from a link, but with smaller dimensions. I have no clue how to do it. The code for the link is:

 

<a href="http://www.muccelmic.com/muccelmic/games/maximsdayout.html" target="_blank " > <IMG src="http://www.muccelmic.com/muccelmic/games/maximsdayout_150x110.jpg"> </a>

 

I found some code for this is advanced_search.php for popup_search_help.php, but I don't know how and if I can use it.

 

function popupWindow(url) {

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re

sizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,l

eft=150')

}

 

 

It's for a game: See here.

 

And by the way, what do you think about these games provided by Free Online Games .com on a website that doesn't only sell products, but offers information, too? Is it too unprofessional? Do you have other suggestions for having some interactive fun?

 

Thank you so much!

Posted

Well, I dropped it! I integrated the game into a php page so I don't need a smaller new window.

Archived

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

×
×
  • Create New...