Announcement: www.kde.org/testing

Mat Colton mat.colton at web-xs.de
Tue Jan 21 22:45:50 UTC 2003


Am Dienstag, 21. Januar 2003 15:48 schrieb Andy Goossens:
> On Monday 20 January 2003 23:40, Mat Colton wrote:
> > Am Freitag, 3. Januar 2003 02:18 schrieb Andy Goossens:
> > > * Like Dre said, do not require JavaScript. On a related note, *never*
> > > use 'javascript:' or '#' links. (Unless '#' == top of the page, which
> > > is allowed).
> >
> > Why not use "#"? XHTML handles it in a different manner than HTML, but
> > it's still part of it. Even in XHTML 1.1 STRICT. What do you use to
> > anchor stuff? Just out of curiosity.
>
> <a href="#"></a> To go to the top of the page is OK.

Or "#content", "#globalnav", "#localnav" whatever.

> <a href="#" onClick="goToLocation('page.html')"></a> Is wrong! Do not
> assume that everybody's browser has JavaScript support (enabled). 

Oh, I get it, I thought you were saying not to use anchors within pages. 
I agree with you that JS may be used, but not required.
-- 
Bye,
Mat



More information about the kde-www mailing list