Winternet

Serendipity Lameness

Filed under: — jwinter on 12/18/2004 at 3:29 pm

Serendipity, a blog tool written in PHP has some pretty overengineered HTML and Javascript.

Let’s take a look at this:

<a href="http://example.com" title="http://example.com"
onmouseover="window.status=’http://example.com’;return true;”
onmouseout="window.status='’;return true;">
An example link</a>

First of all, using the URL in the title attribute is silly. But apart from that, why have the totally unnecessary Javasript to provide the URL in the status bar? This is the default behavior in any browser where the user actually wants it.

The saddest thing about this code: It actually prevents the URL from showing up in the status bar in Firefox.

Serendipity developers, here’s the HTML that you want to generate:

<a href="http://example.com" >An Example</a>

or at most:

<a href="http://example.com" title="An Exemplary Example" >An Example</a>

3 Comments »

The URI to TrackBack this entry is: http://www.jwinter.org/log/archives/2004/12/18/serendipity-lameness/trackback/

  1. Thank you Joe for clearing that up. Sean and I were thinking the same thing. Damn Firefox!

    Comment by nijo & sean — 12/19/2004 @ 10:06 pm

  2. No, no, no. Don’t you see? It’s Serendipity that’s broken. Firefox is working fine.

    Comment by Joe W. — 12/31/2004 @ 2:50 pm

  3. Ah, Serendipity, that makes more sense.
    By the way Joe, on your homepage, in your resume box, you wrote “You may have guessed from the layout that I’m not a designer.”
    Well, I don’t know how to design websites myself, but I would gladly help design a logo or layout for you. Of course, someone else would have to put it up.

    Comment by nijo — 2/9/2005 @ 10:41 pm

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


0.050 || Powered by WordPress