Click to See Complete Forum and Search --> : Custom Size "new window"


danieldobyns
01-08-2003, 04:45 PM
I am hoping to have a splash screen on my index.html page that will provide a link to the actual main page. My website was built to be viewed in a specific size window (h=475, w=635) And I'm not sure how to do this.

I assume it's something simple, like in the TARGET= part of the link, but I can't figure out how to do this in the link.

Daniel

swon
01-08-2003, 06:06 PM
Do you want to use the window.open method?

if so you can do something like that:

<a href="mainpage.html" onClick="window.open(this.href,'main','width=635,height=475,locationbar=yes');return false">go to mainpage</a>

Robert Wellock
01-09-2003, 10:24 AM
You made a typo with href ;):


... onclick="window.open(this.href, ...

swon
01-09-2003, 10:40 AM
Re: you made a typo


you're right, thx :cool: