Is it possible to open an html file in a new resized browser window using html code?
Jan.30, 2008 in
Other
Dre D asked:
I have a generated html code for a form that I want to use but it always opens in my current window.
Is it possible to change the code so that the form opens in a new resized browser of the size I specify using only html? Any help, code, links, or tips would be helpful. The code I have starts/ends with the tag form.
i tried javascript but ie7 gives me that annoying warning about activeX content.
Custom Search
February 1st, 2008 at 11:54 am
Play with this:
onclick=”window.open(this.href,’mywindow’,
‘width=600,height=500,
scrollbars=yes,screenX=100,
screenY=100,top=200,left=100’)
;return false;” target=”_blank”
width and height are self explanitory
scrollbars is too
screen is the position of the window
target=”_blank” is the command that opens a link in a new window.
All of that goes inside your a href=” ” tag. IY should all be one string – had to break it up so Yahoo sould post it all.