Web Analytics Made Easy -
StatCounter Dynamically hiding the sidebar in NS6 - CodingForum

Announcement

Collapse
No announcement yet.

Dynamically hiding the sidebar in NS6

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamically hiding the sidebar in NS6

    This could be a totally daft question, but here I go:

    If I execute the below JS upon entering a page in NS6, I *almost* get a "stripped" window.

    self.resizeTo(800,600);
    self.menubar.visible=false;
    self.toolbar.visible=false;
    self.locationbar.visible=false;
    self.personalbar.visible=false;
    self.scrollbars.visible=false;
    self.statusbar.visible=false;

    All that remains is that nasty NS6 sidebar to the left... Is there a way of getting rid of it? I was hoping that a simple 'self.sidebar.visible = false;' would work, but no...

    I've searched for info on the methods and attributes of the sidebar object, but all I've found is the addPanel method... which is of little help!

    Thanks for any input on this.

  • #2
    Your site is a guest in MY browser. I do not come to your house and start knocking down walls and rearranging furniture...
    I think you should concentrate on learning how to design a site that fits in whatever space is given to it.
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

    Comment


    • #3
      Thank you. That really helped.

      Comment

      Working...
      X