View Full Version : Chromeless Windows
sailor420
17.08.2001, 19:26
Is there a way to make all of your chromeless windows the same size, without putting the size definitions in the actual code for each link? The reason that I ask is that I am using some scripts that dont like the chromeless code. If I could just put the "openIT" instead of the "openIT('****.html',w,h,x,y, 'wname')" everything would work just fine.
I guess what I am asking is how would I change the .js file to make all of the menus a predetermined size? Keep in mind that I am not very good at heavy javascript...
Thanks ya'll...
Edited by - sailor420 on 08/17/2001 5:27:27
in the function openIT
find the line
return openchromeless(theURL, wname, W, H, X, Y, NONEgrf, CLOSEdwn,....
replace w, h, x, y with ur window values for width/height/left/top
and on the link, use openIT('****.html', 'wname')" ...that should work just fine...i tested on ie5.5 and ns4.7..didn'tget any problems...
if anyone finds a bug, please let us know that this is incorrect way of solving the problem..thanks : )
anders
:: http://dzygn.com ::
anders@dhtmlcentral.com
I've got one question Do you know how to make chromeless windows for NN?
chromeless windows as seen on [url:x3rnkdn4k0]http://www.microbians.com[/url:x3rnkdn4k0] are made by resizing a fullscreened window witch is not possible in Netscape (don't support fullscreen-mode), but you can use a window-script like Thomas' on this page.
simu={
name:'<font color=navy>Simon Käser</font id=navy>', age:<font color=navy>15</font id=navy>,
email:'[url:x3rnkdn4k0]mailto:simuk@freesurf.ch[/url:x3rnkdn4k0]', url:'[url:x3rnkdn4k0]http://www.simu.ch.vu[/url:x3rnkdn4k0]'
}
Edited by - simu on 20 Aug 2001 22:28:55
vBulletin® v3.6.7, Copyright ©2000-2008, Jelsoft Enterprises Ltd.