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 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry no scroll bars in new popup window

    hey there.
    I am using the following script for my website:
    -->>> (please scroll down...there is the problem discribed...)


    <head>
    <script language="JavaScript">

    n = (document.layers) ? true:false;
    ie = (document.all) ? true:false;

    function fenster ()
    {
    fens1="";
    var hoehe;
    var breite;
    hoehe=parseInt(screen.availHeight);
    breite=parseInt(screen.availWidth);
    if (n) fens1=window.open("frames_net.htm","fens","width=breite,height=hoehe,resizable=Yes,");
    if (ie) fens1=window.open("frames_ie.htm","fens","width=breite,height=hoehe,resizable=Yes,");
    fens1.moveTo (0,0);
    fens1.resizeTo (breite,hoehe);
    }
    </script>
    </head>

    And the starter in the BODY TAG.


    Alright this starts by typing in the domain in the old window poping up a new window with screen max available height and width but no scrollbars !!!

    Till now I never needed a scrollbar 'caused by one-side flash animations, but now I need even more space.

    Things I tried already:
    adding after "resizeable=yes" a ",scrolling=yes" (not working)
    adding after "resizeable=yes" a ",scrollbars" (not working)

    Any ideas ??? I know it might be a small step but I couldn't figure it out.

    Thx for the help. Greetings from Germany.

    Lars*

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    scrollbars=yes
    or
    scrollbars=1

  • #3
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    not that easy

    hey @ glenngv.

    thanx for the advice but it's not that easy, means it's still not working.

    I thought that someone would try to give me a really "cheap" advice but I tried that also.

    So folks keep on posting !

    bye.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    for cross-browser compatibility you need to add both

    "scrolling=yes,scrollbars=yes"

  • #5
    New to the CF scene
    Join Date
    Aug 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool now that works ! :-)

    this works....you see....just a small step for you experts but a huge one for me!

    thank you !

    see you next time.

    Lars*

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Knowledge is a curious thing - once you know something, it's obvious. If you don't know something, and logic alone is not enough, it can seem mysterious.

    This creates the illusion that somehow knowledge is power, when really knowledge is just knowledge; power only comes through the application of knowledge.



  •  

    Posting Permissions

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