PDA

View Full Version : Setting the size of Internet explore windows


l203422
04-15-2004, 12:27 PM
Hi my first post. Anyway I am creating my own website and it has a few Shockwave games I have created on it but the problem is when you open the link to the game it appears in a new fullsize Internet explorer window. I was wondering what I could do to set the size of the new window I am opening.

Thanks in advance for any help.

agent002
04-15-2004, 12:35 PM
That would be interesting to see, I bet it would open in a new Opera window for me :eek:

Anyway, welcome to HTMLForums :) Could you provide us a link to the page in question please?

l203422
04-15-2004, 12:39 PM
Well The site is still being developed I just put the games on this afternoon so the games are just labelled game2,3 and 4. Anyway here is the link.

http://www.hf-multimediawebsite.co.uk/Games.html

agent002
04-15-2004, 12:50 PM
I wasn't maybe thinking that much, I don't really need your code... but anyway, here's the code you could use for a popup window:
<a href="game1.html" target="_blank"
onclick="window.open(this.href, this.target, 'width=400,height=350'); return false;">Game 1</a>
:)

l203422
04-15-2004, 12:54 PM
Right thanks a lot thats sorted my problem out.