View Full Version : resize window by its own...
scriptblur
09-08-2002, 06:40 AM
Hi there,
Any kind souls wish to help me???
My problem is there any script that can resize the window on its own.... Example like set the window size at width=250, height=350 and when we either double click the html icon or press any menu buttons, it will pop up a 250 by 350 sized window instead of maximised szie...
If there is one... can any one please teach me.... Thanks....:confused:
joh6nn
09-08-2002, 06:47 AM
you mean so that when you open explorer, it's always automatically set to a size you specify? no, that can't be done with a script.
scriptblur
09-08-2002, 06:54 AM
OK.. thank you....
But are that any other methods to do it????
I got a script for a pop-up menu button from the Marcomedia Firework and hope that it can open a small sized window...
How can i continue from here: mm_menu_0904132039_0.addMenuItem("Week 1" );
Is It possible???
if (window.mm_menu_0904132039_0) return;
window.mm_menu_0904132039_0 = new Menu("root",63,20,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#0099cc","center","middle",3,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0904132039_0.addMenuItem("Week_1");
:confused:
Hi,
There's a few different ways to go about this. A good place to start in terms of backwards compatability is this:
<a href="test.html" target="win" onclick="javascript:window.open(this.href,this.target,'width=300,height=300,status,scrollbars,resizable');ret urn false">
<img src="some.gif" width="20" height="20" alt="some.gif">
</a>
This code would do for single icons etc. A menu would be more involved.
scriptblur
09-08-2002, 06:57 AM
Ok.. thank You...
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.