Javascript Help (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


Oznob -> Javascript Help (3/21/2001 17:31:00)

In the following Script I would like to have the new window open up and fill the whole screen of the viewer's. I have tried entering 'fullscreen=yes' but this gets rid of the toolbars and staus bars etc. - how can i change this script to acomplish my goal ?

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "toolbar=no,menubar=no,location=no,scrollbars=yes,status=0,resizable=no,width=300,top=0, left=0,height=300");
}
// End -->
</SCRIPT>

Thanks in advance for any help - i realize this in not really FP material - but i know someone out there knows the answer to this one.

Oznob





Marr -> RE: Javascript Help (3/21/2001 20:36:00)

Did you try setting the width to 100%?

Marr

------------------
Marrianne Williams
OutFront News
Stu Reilly Design
DreamweaverSites.com - Dreamweaver Templates





Oznob -> RE: Javascript Help (3/22/2001 20:31:00)

When I type in width=100% it just seems to make the window 100 width - what is the correct syntax for this - anyone know ???




Oznob -> RE: Javascript Help (3/22/2001 20:43:00)

moving this to the top - so it doesnt get forgotten =) sorry -- will only do this once =)

Anyone know the answer to this one ?





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875