View Full Version : full screen window, no scrollbars

06-06-2003, 12:46 AM
I've tried about 10 different ways of modifying the code below so that there are no scrollbars in the launched window, but I can't seem to get it. I'm probably trying too hard, because it seems so simple.

Here's the original code:


<!--/*Full Screen Window Opener Script-
Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com*/

function fullwin(targeturl){

<input type="button" onClick="fullwin('http://www.dynamicdrive.com')" value="Open window">

How can I modify it to omit scrollbars in the full-screen window?

Thanks so much!

-- thunderwatch

06-06-2003, 02:32 AM
well a way I know how to do that with full screen popups is to have a property of body as scroll="no" so you could do it like this:
var x =window.open("","","fullscreen=1")
x.document.write("<html><body scroll='no'></body></html>").
if you opened a page you could put that property into the body tag itself on the page.... It appears that using the scrollbars=no attribute in the window.open doesnot work if its fullscreen

06-06-2003, 02:35 AM
* * T H A N K Y O U * *

I'll try this out.

-- TW