Click to See Complete Forum and Search --> : Can you amend windows sizes on open??


Jack73
07-24-2003, 06:28 AM
Hi

I wish to amend the size of a window which open up a webpage on a hyperlink. The linked-webpage is from another website and takes up the size of the screen and therefore you have to close the page in order to see my site again. Can I amend the size of the linked page so it only takes up say half the screen and therefore still see my website behind it?
Hope this makes sense?

Thanks !! Jackie

Code from the left nav to open the link is :

<p align="center">
<a href="http://www.multimap.com/p/browse.cgi?pc=GL15RZ&GridE=&GridN=&scale=10000&title=Carnet&cat=ind" target="main">how to find us</a>
</p>

Mr J
07-24-2003, 06:33 AM
Please try the following


<p align="center">
<a href="#null" onclick="window.open('http://www.multimap.com/p/browse.cgi?pc=GL15RZ&GridE=&GridN=&scale=10000&title=Carnet&cat=ind','','width=400,height=400')">how to find us</a>
</p>

Jack73
07-24-2003, 06:40 AM
Mr J

Thats great - thank you!!

Using the original code, could I of changed it so the page would open in the main frame of the webpage?
main frame is "main.htm"? For future reference as I also found this hard to do?

Thanks alot for your help!

Jackie

Mr J
07-24-2003, 07:21 AM
To load into another frame


<p align="center">
<a href="#null" onclick="parent.frameName .location='http://www.multimap.com/p/browse.cgi?pc=GL15RZ&GridE=&GridN=&scale=10000&title=Carnet&cat=ind'">how to find us</a>
</p>


Where frameName is the name of your frame

Jack73
07-24-2003, 08:29 AM
This also works for me.

Thanks alot for your help

Jackie