Hello,
I set this function to open a window from the menu:
function MM_openwin(MM_file,MM_height,MM_width)
{
MM_config=""
MM_config+="toolbar=no,";
MM_config+="location=no,"
MM_config+="directories=no,";
MM_config+="status=no,"
MM_config+="menubar=no," //Not on Apple Mac for obvious reasons
MM_config+="scrollbars=no,"
MM_config+="resizable=yes," //Mac windows are always resizable
MM_config+="copyhistory=no,"
MM_config+="width="+MM_width+","
MM_config+="height="+MM_height
var MM_win=open(MM_file,"",MM_config);
MM_win.focus();
}
Now how do I specify so that when it open, it uses scrollbars without changing the function above but by just changing the part where I call the function. In other words, what should this say so when the window open, it has scrollbars??
Also, if anyone knows, how can I position the window to go to a certain part of the screen that I want to specify?
,"June","javascript:MM_openwin(\"services/june.html\",500,750)",,"June",1
Thanks!
Opening a window with my own specs...
Hi,
Take a look at the new demo at
http://www.milonic.co.uk/menu/menusampl ... ampleid=16
With regard to moving your window you could try "self.moveTo(x,y)" in the opened page
-- Andy
Take a look at the new demo at
http://www.milonic.co.uk/menu/menusampl ... ampleid=16
With regard to moving your window you could try "self.moveTo(x,y)" in the opened page
-- Andy