RE: writing DIV HTML in Netscape
by "Cyanide _7" <leo7278(at)hotmail.com>
|
Date: |
Wed, 10 May 2000 10:20:47 CDT |
To: |
pbenoit(at)triton-network.com |
Cc: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
>Cyanide,
>
>I know exactly what you're seeing. I've seen it time and time again,
>though
>I'm not sure that I've ever had problems with it in the manner that you
>describe. I'm not sure if what you see when you view source in Netscape,
>is
>actually what Netscape sees when it presents a page.
hmmmmm, i sure hope so!
If so, then Netscape
>has more problems than we could possibly imagine. Having said that, I
>don't
>have a solution for you except to say that if you see Ttyle, Netscape
>probably is still seeing Style, but it's view source is bugged.
>
>I'd like to see your event handlers, and how you are going about it.
i've gotten onresize to work (just a syntax mistake), but still can't seem
to get onscroll to work. here is a simple version of the script:
<script>
<!--
window.onscroll = myScrollHandler;
captureEvents(Event.SCROLL); // registered event type 262144
function myScrollHandler(){
status = "X:"+pageXOffset+", Y:"+pageYOffset;
return true;
}
//-->
</script>
SCROLL is the const 262144 in the Event object, so i know thats the official
name of the event, and handlers merely have an on prefix. plus this works in
IE just fine... - Cyanide_7
>
>-Peter
>
> > -----Original Message-----
> > From: Cyanide _7 [SMTP:leo7278(at)hotmail.com]
> > Sent: Wednesday, May 10, 2000 4:38 AM
> > To: hwg-languages(at)hwg.org
> > Subject: writing DIV HTML in Netscape
> >
> > hey list,
> > its never really bothered me until now, but Netscape has a hell of a
> > time
> > writing DIV tags to the document. every time a write one, it writes the
> > normal opening tag, then a copy of the opening tag with the Style
> > attribute
> > changed to say Ttyle. it is by far the single most confusing phenomenom
>i
> > know in Netscape! i've had Netscape lock up as if it were in an infinite
> > loop while writing div tags, or simply crash, or just show them
> > improperly.
> > has anyone found a method that can prevent all this?
> >
> > and another problem i've been having (and seen many workarounds for)
>is
> > that Netscape doesn't seem to want to fire its onscroll and onresize
>event
> >
> > handlers! i define them, capture them, but they never fire. they even
>have
> >
> > Event ids! most scripts i've found that use these in IE use intervals to
> > accomodate Netscape. why is this?!? thanx - Cyanide_7
> >
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA