[Javascript] Sorry, another question.

TomMallard mallard at serv.net
Wed Apr 18 12:18:51 CDT 2001


Are you closing the document after it's changed? I don't think dynamic
changes show up without doing that for NS until 6.0. Sometimes I've had to
document.write the whole page to get things to work for NS4...depends on the
page structure.

tom
----- Original Message -----
From: "Ben" <ben at babelfish.co.uk>
To: <javascript at LaTech.edu>
Sent: Wednesday, April 18, 2001 9:58 AM
Subject: Re: [Javascript] Sorry, another question.


> > >Slightly different question this time involving changing the font style
> of
> > >an anchor tag in Netscape 4.7.  Can it be done?
> >
> > Nope. Well, you can use separate layers for each individual normal and
> > mouseover link, but it's far too much work generally, besides that you
> have
> > to position all layers absolutely, which is again lots of work.
>
> Madness! Absolute position is great for about 5 minutes until you realise
> the hell you have got yourself in to :)
>
> > >I'm trying this way, :
> > >
> > >function changeLink(obj)
> > >{
> > >     obj.className = 'clsNewClassName';
> > >}
> > >
> > >where clsNewClassName is the new class i want it to use.  no joy there,
> it
> > >doesn't even error.
> >
> > As you noted, you can change the properties to whatever you like, but
the
> > browser won't react. Apart from the style properties there are several
> such
> > strange dead ends in NN4.
>
> It makes me wonder if they actually finished writing it.
>
> > My guess is that they added the properties and made them read/write but
> > couldn't manage to make the actual display on-screen change when you
> change
> > the properties.
> >
> > You simply *cannot* change text dynamically in NN4.
> >
> > ppk
>
> No problem.  Thanks for your help.
>
>  .b
>
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>





More information about the Javascript mailing list