...

View Full Version : full screen window, no scrollbars



thunderwatch
06-05-2003, 11:46 PM
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:

<script>

<!--/*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){
window.open(targeturl,"","fullscreen,scrollbars")
}
//-->
</script>

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

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

Thanks so much!

-- thunderwatch

kwhubby
06-06-2003, 01: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

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

I'll try this out.

-- TW



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum