Re: FN-FORUM self resize popup
date posted 17th July 2001 14:13
At 12:12 17/07/2001 +0100, you wrote:
>does anyone have a nippet of javascript for a self re-sizing pop-up window
>that also removes the navigation etc?
without knowing what you want to do all I can do is point you at this:
http://www.webreference.com/js/tips/000526.html
which says this: window.resizeBy(X, Y)
X , Y being the size you want it.
If you want to remove the navigation of a window then you have to specify
it when you call the popup, eg:
window.open('http://www.yahoo.com","MYWINDOWNAME","height=420,width=800,top=0,left=0,scrollbars=yes,status=yes,resizable=no,toolbar=no")
this should give you a window aligned to the top left of the screen with no
nav, scroll bars even when there is nothing to scroll (there is no auto
setting), a status bar, not resizeable, and no nav buttons the size of the
window being 420x800.