DHTML glitches with NS 4.5


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: DHTML glitches with NS 4.5

  1. #1
    Cliff Guest

    DHTML glitches with NS 4.5


    I'm having problems with some DHTML script I wrote. It runs fine with I.E.
    but it's a little glitchy in NS. Whenever I resize my window in NS I lose
    all of my layer attributes and style sheet effects. It seems as if a Netscape
    just displays everything as typed and disregards all DHTML stuff like hidden
    layers and CSS font sizes and such. After hitting reload everthing is fine
    again. I'm viewing the page directly off my hard drive. Is there a work around
    to this problem? I was thinking of writing a script to automatically reload
    the page when it's resized although I don't think that will work b/c it might
    not reckognize the script after a resize. Help!

    Cliff

  2. #2
    Cliff Guest

    Re: DHTML glitches with NS 4.5


    I tried coding a refresh on the "OnResize" event but to no success. What I
    have is onResize="history.go(0)". This causes a never ending loop of constant
    screen refreshes when the screen is opened initially in a non maximized state.
    Can anybody help or explain this to me? Thanx in advance.

    Cliff

  3. #3
    Needle2000 Guest

    Re: DHTML glitches with NS 4.5


    I've had that problem many times, the reason this happens is becuase Netscape
    in their dazzed and confused frame of mind, made the navigator window reshesh
    on resize, but not reload CSS elements. Therefor you will get this problem
    with most DHTML in netscape.

    Your best bet is to use a browser detect and not have the menu dropdown in
    Netscape, however if you are bent on keeping the dropdown menu, then your
    only option is to put an onresize reload javascript function. That will do
    the trick.


    "Cliff" <clifton.craig@hotmail.com> wrote:
    >
    >I'm having problems with some DHTML script I wrote. It runs fine with I.E.
    >but it's a little glitchy in NS. Whenever I resize my window in NS I lose
    >all of my layer attributes and style sheet effects. It seems as if a Netscape
    >just displays everything as typed and disregards all DHTML stuff like hidden
    >layers and CSS font sizes and such. After hitting reload everthing is fine
    >again. I'm viewing the page directly off my hard drive. Is there a work

    around
    >to this problem? I was thinking of writing a script to automatically reload
    >the page when it's resized although I don't think that will work b/c it

    might
    >not reckognize the script after a resize. Help!
    >
    >Cliff



  4. #4
    Needle2000 Guest

    Re: DHTML glitches with NS 4.5


    I've had that problem many times, the reason this happens is becuase Netscape
    in their dazzed and confused frame of mind, made the navigator window reshesh
    on resize, but not reload CSS elements. Therefor you will get this problem
    with most DHTML in netscape.

    Your best bet is to use a browser detect and not have the menu dropdown in
    Netscape, however if you are bent on keeping the dropdown menu, then your
    only option is to put an onresize reload javascript function. That will do
    the trick.


    "Cliff" <clifton.craig@hotmail.com> wrote:
    >
    >I'm having problems with some DHTML script I wrote. It runs fine with I.E.
    >but it's a little glitchy in NS. Whenever I resize my window in NS I lose
    >all of my layer attributes and style sheet effects. It seems as if a Netscape
    >just displays everything as typed and disregards all DHTML stuff like hidden
    >layers and CSS font sizes and such. After hitting reload everthing is fine
    >again. I'm viewing the page directly off my hard drive. Is there a work

    around
    >to this problem? I was thinking of writing a script to automatically reload
    >the page when it's resized although I don't think that will work b/c it

    might
    >not reckognize the script after a resize. Help!
    >
    >Cliff



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