Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    full screen window, no scrollbars

    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

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    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
    Kris Hubby
    kwhubby site

  • #3
    New Coder
    Join Date
    Aug 2002
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    * * T H A N K Y O U * *

    I'll try this out.

    -- TW


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •