<a href="#" ...> not handled as link

David Faure faure at kde.org
Fri Oct 15 00:34:21 BST 2004


On Friday 15 October 2004 01:27, André Wöbbeking wrote:
> Funny, with trailing / I get no link and onClick doesn't work. But wait, 
> I used
> 
> <html>
>   <body>
>     <a href="#" onClick="window.open('http://www.kde.org')"/>Text</a>
>   </body>
> </html>
> 
> Without <body> tags it works as you described.

Indeed. The body tag makes a difference. Unbelievable :)
Now this is a job for someone who knows htmltokenizer...

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list