HTML question...


New member
How do you spawn a document in a window with a pre-determined size? Essentially like the pop-up ad windows that are spawn to the size of the image within.
I've tried every goddamn workaround I can think of, and checked all the references I can get my hands on, but can't find one thing on it. Even examining the source of pages that spawn windows and checking the spawned windows themselves hasn't gotten me anywhere.
Is there some new and interesting frame tags or link properties I'm not aware of? Is it some javascript?
Essentialy, I just want to be able to have someone click a link that loads a page in a 1032x850 window with no menus.
There's gotta be an html guru around here somewhere...
LOL, I hate to do this right after seeing that thread... but this really belongs in the Programming/Webmastering forum.

*Andrew275 tries to resist.......

*Andrew275 clicks the "Move thread" selection. :o :D

To answer your question, I know this can be done with JavaScript. use this example:

<a href="'test.html', 'Name of Window', 'toolbar=no,scrollbars=yes,resizable=yes,width=320,height=32')">link</a>
lol andrew. I just made that post because it defeats the purpose of putting those posts in OT instead of the forum it's "supposed" to be in. I've posted stuff in OT that has been moved...and I put it there specifically for the OT guys to see. So I end up having to report it in OT :(.
Next question :D

How do you prevent the browser window that spawned the new window from going to a page that simply says "[object]"? (or) How do prevent the initial window from following the link that creates the new window?
What I would do is something to this effect:

<script language="JavaScript">
function winopen(a,b,c)

<a href="javascript:winopen('page.html', 'title', 'toolbar=no,scrollbars=yes,resizable=yes,width=320,height=32')">Link</a>