Enable/Disable Browser Buttons


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Thread: Enable/Disable Browser Buttons

  1. #1
    Jeff Guest

    Enable/Disable Browser Buttons


    Does anyone know how to Enable/Disable Browser Buttons?


  2. #2
    Adrian Forbes Guest

    Re: Enable/Disable Browser Buttons

    You can't

    Jeff <jeffm@earthlink.net> wrote in message news:39a159ed$1@news.devx.com...
    >
    > Does anyone know how to Enable/Disable Browser Buttons?
    >




  3. #3
    Sébastien Ros Guest

    Re: Enable/Disable Browser Buttons

    You can ! (excuse me Adrian)

    1 - See windows.open in DHTML help on msdn.microsoft.com (especialy
    "toolbar=no"
    2 - if you it at the startup of your web application, see HTML Applications
    (.hta) on the same web site. It make you web app run in a window like any
    other application

    -----
    Sébastien Ros
    s.ros@essaim.univ-mulhouse.Fr





  4. #4
    Adrian Forbes Guest

    Re: Enable/Disable Browser Buttons

    You can do that from scripting on the web server? No. Also, press Ctrl-N
    in your new window (IE) and see what happens....press Alt-[LEFT ARROW] and
    see what happens...

    Sébastien Ros <s.ros@essaim.univ-mulhouse.fr> wrote in message
    news:39b37651$1@news.devx.com...
    > You can ! (excuse me Adrian)
    >
    > 1 - See windows.open in DHTML help on msdn.microsoft.com (especialy
    > "toolbar=no"
    > 2 - if you it at the startup of your web application, see HTML

    Applications
    > (.hta) on the same web site. It make you web app run in a window like any
    > other application
    >
    > -----
    > Sébastien Ros
    > s.ros@essaim.univ-mulhouse.Fr
    >
    >
    >
    >




  5. #5
    Nader Guest

    Re: Enable/Disable Browser Buttons


    Adrian is right. also, try hitting the backspace button. Even though you don't
    see the buttons, you can still navigate.

    "Adrian Forbes" <adrian.forbes@spamless.ntli.net> wrote:
    >You can do that from scripting on the web server? No. Also, press Ctrl-N
    >in your new window (IE) and see what happens....press Alt-[LEFT ARROW] and
    >see what happens...
    >
    >Sébastien Ros <s.ros@essaim.univ-mulhouse.fr> wrote in message
    >news:39b37651$1@news.devx.com...
    >> You can ! (excuse me Adrian)
    >>
    >> 1 - See windows.open in DHTML help on msdn.microsoft.com (especialy
    >> "toolbar=no"
    >> 2 - if you it at the startup of your web application, see HTML

    >Applications
    >> (.hta) on the same web site. It make you web app run in a window like

    any
    >> other application
    >>
    >> -----
    >> Sébastien Ros
    >> s.ros@essaim.univ-mulhouse.Fr
    >>
    >>
    >>
    >>

    >
    >



  6. #6
    Michael Gautier Guest

    Re: Enable/Disable Browser Buttons


    The other issue is would the code implementation be cross browser compatible.


    "Nader" <nkayoumi@hotmail.com> wrote:
    >
    >Adrian is right. also, try hitting the backspace button. Even though you

    don't
    >see the buttons, you can still navigate.
    >
    >"Adrian Forbes" <adrian.forbes@spamless.ntli.net> wrote:
    >>You can do that from scripting on the web server? No. Also, press Ctrl-N
    >>in your new window (IE) and see what happens....press Alt-[LEFT ARROW]

    and
    >>see what happens...
    >>
    >>Sébastien Ros <s.ros@essaim.univ-mulhouse.fr> wrote in message
    >>news:39b37651$1@news.devx.com...
    >>> You can ! (excuse me Adrian)
    >>>
    >>> 1 - See windows.open in DHTML help on msdn.microsoft.com (especialy
    >>> "toolbar=no"
    >>> 2 - if you it at the startup of your web application, see HTML

    >>Applications
    >>> (.hta) on the same web site. It make you web app run in a window like

    >any
    >>> other application
    >>>
    >>> -----
    >>> Sébastien Ros
    >>> s.ros@essaim.univ-mulhouse.Fr
    >>>
    >>>
    >>>
    >>>

    >>
    >>

    >






  7. #7
    Rory Winston Guest

    Re: Enable/Disable Browser Buttons


    One method that works only for IE is to write a Browser Helper Object - an
    inprocess COM component that is loaded by IE on startup. They are quite a
    bit of effort just for this task, but they do give you full control over
    IE. Search the MSDNlibrary for 'BHO' if you're interested.

    Rory

    "Michael Gautier" <michaelgautier@hotmail.com> wrote:
    >
    >The other issue is would the code implementation be cross browser compatible.
    >
    >
    >"Nader" <nkayoumi@hotmail.com> wrote:
    >>
    >>Adrian is right. also, try hitting the backspace button. Even though you

    >don't
    >>see the buttons, you can still navigate.
    >>
    >>"Adrian Forbes" <adrian.forbes@spamless.ntli.net> wrote:
    >>>You can do that from scripting on the web server? No. Also, press Ctrl-N
    >>>in your new window (IE) and see what happens....press Alt-[LEFT ARROW]

    >and
    >>>see what happens...
    >>>
    >>>Sébastien Ros <s.ros@essaim.univ-mulhouse.fr> wrote in message
    >>>news:39b37651$1@news.devx.com...
    >>>> You can ! (excuse me Adrian)
    >>>>
    >>>> 1 - See windows.open in DHTML help on msdn.microsoft.com (especialy
    >>>> "toolbar=no"
    >>>> 2 - if you it at the startup of your web application, see HTML
    >>>Applications
    >>>> (.hta) on the same web site. It make you web app run in a window like

    >>any
    >>>> other application
    >>>>
    >>>> -----
    >>>> Sébastien Ros
    >>>> s.ros@essaim.univ-mulhouse.Fr
    >>>>
    >>>>
    >>>>
    >>>>
    >>>
    >>>

    >>

    >
    >
    >
    >



  8. #8
    Buzdor Guest

    Re: Enable/Disable Browser Buttons


    >Does anyone know how to Enable/Disable Browser Buttons?


    An extremely elaborate and impractical (for a standard website) workaround
    is to build navigation around server-side scripting, controlling where a
    user can and can not go from any particular page. Navigating back may display
    a cached page on the browser, but the minute any server hit happens, your
    app can redirect the browser.

    You could also set every hyperlink to JavaScript open a new window and then
    close the current window. The child window will not have a back function
    because it has never been anywhere before.

    Other navigation lockdowns can only be done (as far as I am aware) through
    methods that include practically writing the client browser, or something
    that encapsulates it. For example, a Java applet that controls at what location
    the browser is, a Shockwave program that has internal navigation, or a VB
    program with the ie browser ActiveX control.

    For a current project, we're using the first and second (server-side + window
    changing) idea. We don't totally restrict navigation, but we expire logins
    and prevent accidental re-entry of data.

  9. #9
    Chris McCann Guest

    Re: Enable/Disable Browser Buttons


    Another way (using IE) is:

    <A HREF="next.html" onclick="javascript:location.replace(this.href); event.returnValue=false;
    event.cancelBubble=true;">
    Click here to navigate to the next page without adding the current page to
    the history stack.
    </A>

    Article: http://www.msdn.microsoft.com/worksh...32000.asp#back

    Not sure if there's a way to do the same in NN...


    "Jeff" <jeffm@earthlink.net> wrote:
    >
    >Does anyone know how to Enable/Disable Browser Buttons?
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center