Does this ever happen to you?
You’re having a decent conversation with someone, then, for some reason, something switches on in your head and you check out her breasts. Or you look somewhere that you shouldn’t really be looking in a normal street conversation.
Before she thought you were kind of cute, but now she thinks you’re just rude. She seems to want to close the conversation.
What can you do or say to recover?
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?”
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 –>
<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
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.
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.
wikipedia II is here!
‘ We aim at credibility and quality, not just quantity.’
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!