cobler
08-04-2008, 06:57 PM
not wanting to use Javascript I like to set a link to a new window to open in a given position and size and without scrollbars or menu or toolbar - to do this I use the target_blank tag as follows:
<a href="newpageurl.htm"TARGET=_BLANK" onClick="window.open(this.href, 'popupwindow', 'width=900,height=600,left=50,top=0'); return false;">OPEN NEW WINDOW</a>
In IE6 it works a treat - by missing out the attributes: "scrollbars" and "resizable" from within the <a href ...> command - the new window opens just 'bare' - it has no bars other than the top title bar - there are no scrollbars and there is no bar at the bottom.
I would like the same to happen in FIREFOX. BUT NOT SO!
IN FIREFOX - there ALSO TURNS UP A BAR AT THE BOTTOM WITH THE RESIZE MARK IN RIGHT HAND SIDE AND with the word "done" in it in the left-hand side! Is it possible to get rid of this bottom bar in FIREFOX? If so, how is it done?
BTW - inserting "scrollbars=no" or "scrollbars=0", has no effect in FIREFOX!
Thanks in advance for help
<a href="newpageurl.htm"TARGET=_BLANK" onClick="window.open(this.href, 'popupwindow', 'width=900,height=600,left=50,top=0'); return false;">OPEN NEW WINDOW</a>
In IE6 it works a treat - by missing out the attributes: "scrollbars" and "resizable" from within the <a href ...> command - the new window opens just 'bare' - it has no bars other than the top title bar - there are no scrollbars and there is no bar at the bottom.
I would like the same to happen in FIREFOX. BUT NOT SO!
IN FIREFOX - there ALSO TURNS UP A BAR AT THE BOTTOM WITH THE RESIZE MARK IN RIGHT HAND SIDE AND with the word "done" in it in the left-hand side! Is it possible to get rid of this bottom bar in FIREFOX? If so, how is it done?
BTW - inserting "scrollbars=no" or "scrollbars=0", has no effect in FIREFOX!
Thanks in advance for help