Results 1 to 8 of 8

Thread: Someone stole my scrollbar(resolved)

  1. #1
    BG
    Guest

    Someone stole my scrollbar(resolved)

    Whats up guys n gals

    OK, I have an html page (support.htm) that I need to pop up in a seperate browser without toolbars, menus ect...

    I have that working using the following script and with
    <body onload="resizeTo(400,500)"> in the body tag on support.htm

    <script LANGUAGE="JavaScript">
    {
    window.open('support.htm','',directories='no',menubar='no',scrollbars='yes',
    status='no',toolbar='no')
    }
    </script>

    Problem is that there are no scrollbars in the popup window?
    Any Ideas ?

    Thanks all
    "B"

  2. #2
    scoutt
    Guest
    it will only show scrollbars if the window is too samll to show all the stuff on that page.

    if it is try scrollbar="1" instead scrollbars="yes"

  3. #3
    BG
    Guest
    scrollbar='1' didn't make a difference

    It will scroll if I use the mouse wheel but the scrollbar will not display??

  4. #4
    BG
    Guest
    Figured it out. I don't know why I had to, but I had to set the scroll parameter to 'yes' in the body tag also. I thought this was default???

    <body onload="resizeTo(400,500)" scroll='yes' >

    Go Figure

    Thanks

  5. #5
    scoutt
    Guest
    this is the popup I use. suppose you can set it so it loads onLoad.
    Code:
    <!--script LANGUAGE="JavaScript">
     function MsgBox() {
      Newwindow=window.open("support.htm","","scrollbars=1,rezisable=1,toolbar=0,status=0, menubar=0,location=0,directories=0,width=500,height=170");
      Newwindow.document.close();
    }
    </script-->
    then <body onLoad="MsgBox()">

  6. #6
    Frenzied Member Motoxpro's Avatar
    Join Date
    Sep 2001
    Location
    Spiro, OK
    Posts
    1,211
    why u need pop ups.....no1 will come to your site

  7. #7
    scoutt
    Guest
    I agree, but some popups are necessary in some cases.

  8. #8
    A whole bunch of sites do <a href="whatever" target="_new"> which is REALLY annoying. But some sites, like the Dell Configuration site, makes good use of popups. Take your pick.

Posting Permissions

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



Click Here to Expand Forum to Full Width