-
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
-
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
-
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
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks