Skip navigation

Monthly Archives: December 2007

Erin: “How do we keep them out for sure then?”

Bobo: “We’ll use a salt”

Erin: (shocked) “Don’t you think that’s going a little too far?”

Google sitemap – MAN this is valuable

I like looking at Google trends

Its really nifty

lines
of
code
using
pre
tag
what
a
pleasant
surprise

If you’re going to hardcode event handlers right into your HTML, (perhaps its being delivered from a php page) there’s 2 ways you can do this:

<span onclick=” runFuncAndTargetIsTHIS( this ); “> <!– way A –>

or:

<span onclick=” runFuncButNeedToExtractTarget( event ); “> <!– way B –>

Function for way A looks like:

runFuncAndTargetIsTHIS( elem )
{
    alert( elem + ' is the HTML element that was clicked' );
}

While way B:

runFuncButNeedToExtractTarget( e )
{
    e = e || window.event;
    var target = e.target || e.srcElement;
    alert( target + ' is the HTML element that was clicked' );
}

Some people say you shouldn’t do things using Way A. But I find Way A sometimes convenient. The only reason I can think of right now that Way A is bad is its easier to cancel propagation (cancel bubbling) of event registered using way B.

this entry explains how to use window.setTimeout( code, delay );

the first argument can be a function object

http://www.biasecurities.com/blogs/jim/archive/2005/08/04/2047.aspx

This artist muses on how good icons will not attract too much attention to themselves. Good icons will allow the user to communicate his will to the application program with an intuitive ease — kind of like ‘an electronic ouiji board’, he says.

http://www.paintedweb.com/web/?p=4

Ever notice how your girlfriends dismiss guys?

I just realized I like girls that dismiss guys aggressively. Those girls usually know what they want!

I hate online relationships.

my advice: take it off. line.

i didn’t write a single line of javascript yesterday. i actually felt guilty.

wikipedia II is here!

http://en.citizendium.org/wiki/Butler

high quality!

‘ We aim at credibility and quality, not just quantity.’

soudns good!

i am bobobobo.

welcome to my blog.

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!