38 users online (0 members and 38 guests)  


  Results 1 to 5 of 5

Related

  1. Making vertical scrollbar    Forum: Website Scripts Forum
    Replies: 2
  2. Vertical scrollbar    Forum: HTML Forum
    Replies: 2
  3. Vertical Scrollbar / Slider Manipulation    Forum: Javascript Forum
    Replies: 0
  4. How to get a second vertical scrollbar?    Forum: HTML Forum
    Replies: 3
  5. No vertical scrollbar?    Forum: Website Scripts Forum
    Replies: 2
  1. #1
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652

    activate vertical scrollbar when exiting a site withou it.

    Okay, now that I've found a reason to get rid of the 'competitive' vertical browser scrollbar (see http://Homes.ShermanBlvd.com ), how does one then allow the user to continue browsing with it re-activated upon exiting the web site?

    I'm using this code:

    <HTML><HEAD><TITLE>NoVTscroll opener</TITLE>
    <SCRIPT language-"JavaScript"><!--
    window.location=window.open("homes.htm","WinNo","width=790,height=450,
    toolbar=no,location=1,directories=no,status=1,menubar=1,scrollbars=no,resizable=yes");

    //-->
    </SCRIPT>
    </HEAD>
    <BODY>& nobsp ;

    </BODY></HTML>

    to activate the page without the vertical scrollbar. (It has other problems, but those are moot unless I can return control of the user's browser to that which they had before entering my "controlling' site.)

    [ Please note that the above referenced site still contains the vertical scrollbar. Don't want to implement this change until a solution is found. ]
    Last edited by HTML; 03-20-2007 at 12:54 PM.

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    hmmm, anybody???

  3. #3
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hmm. Never saw this one. (sure I have missed a few since this new template? maybe)

    Let me get the process straight -

    They load the page above, it contains a small section with a scrollbar.

    Instead of this, you want this section to load in a popup (with less options in the browser).

    this is the bit where I get confused..you mention you wish to return control of the browser to the user (fair enough) but wouldn't shutting down the popup achieve this?

    I have obviously misunderstood, would you mind explaining a bit more? Thanks.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  4. #4
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    The process being used is now at:

    http://1988-89.ShermanBlvd.com

    While it keeps the "parental" window open so the user has something to return to "with a history of browsing" before arriving at the site in question, it does not contain the page from which the "scrollbarless" window was launched. I give the verbose instructions at that page and have the "close window" button thereat to exit that "no vertical scrollbar" window but would rather have some technique that merely reinstalls the vertical scrollbar whenever the user clicks to place 'any' other page in that window.


    (I revised my error404.html file in order to eliminate the 40 second automatic meta transfer back to from whence the user came, because that was launching a new "no scrollbar" window every 40 seconds. The back -2 is obvious since the 1988no.htm launching file is -1 and must be bypassed to get back to the real web page the user will understand.)
    Last edited by HTML; 03-20-2007 at 12:55 PM.

  5. #5
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    The code that launches the scrollbarless window (in the 1988no.htm file) is:

    <HTML><HEAD><TITLE>NoVTscroll opener</TITLE>
    <SCRIPT language-"JavaScript"><!--
    window.location=window.open("../sb/1988-89.htm#p","","width=790,height=450,toolbar=no,location=1,directories=no,status=1,menubar=1,scrollbars=no,resizable=yes");

    //-->
    </SCRIPT>
    <META HTTP-EQUIV="Refresh" CONTENT="0;URL='javascript:history.go(-2);' ">
    </HEAD>
    <BODY>

    <CENTER>
    <A HREF=../sb/1988-89.htm><IMG BORDER=0 WIDTH=600 HEIGHT=400 SRC=../i/tab.gif>
    </CENTER>

    </BODY></HTML>


    It'd be nicer to be able to use the "opener.location=..." technique there if a way is also found to reinstall the vertical scrollbar at will in the parental/opener window but I tried a few variations with no success. My JavaScript skills are still at the elementary level - it (and C++ or even C) being entirely foreign to me.