Sent by S.D.Price on 29 October 2003 12:12
Perhaps it would be useful to include a style switcher to allow the user to
toggle off the Javascript replace function and show pure text?
Steven
-----Original Message-----
From: Christian Heilmann [EMAIL-REMOVED]]
Sent: 29 October 2003 10:49
To: Peter-Paul Koch; [EMAIL-REMOVED]; [EMAIL-REMOVED];
[EMAIL-REMOVED]
Subject: RE: [css-d] Toogle CSS off with W3C DOM - FIR uses wrong tool
> > > That's a great idea - just one question would it work if someone
has
> > > javascript on but images turned off?
> > >
> > > I'm guessing (hoping) the javascript would fail and the visitor
would
> >just
> > > see text.
> >
> >Due to me having problems to send here yesterday I also posted my
> >solution on WD-L.
> >
> >http://www.onlinetools.org/tools/firdom/
> >
> >Users with Javascript ON but images OFF will get the original wording
> >of the headline as an alt attribute in the image.
>
> Sorry, not in Mozilla.
True, I just tested that, but then again, if you turn images off in Mozilla
you don't get any alternative text display on any page.
This is why that feature is called "Load images" and not "turn off images".
Really odd way to do that.
Do you know a way around that? I could add a title, but that is not
the idea of alt+title.
To work around that, we'd need to add the image in the h1 and hide the
text via display:none; but then we have two elements in the generated code.
Maybe that is a better option?
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/