random stuff

When your typing in some text you’ll always make some kind of mistake.
Or maybe you’ll copy past something and then replace a few words. Maybe It’s not your text but you can replace some of the references and make it yours, nobody knows, right?

Or do they…

Using javascript we can record everything the user typed 😛
I’ve mentioned this in a previous post.

When you hit submit on the demo, you’ll see the result. In reality you won’t. I would just use the last text as what I need (a comment, review, solicitation?) and store the complete history in a database.

Then anytime I want (or somebody else, perhaps the future employer..) It’s just a matter of replaying that data.

Almost everything I needed was already implemented, I just had to add the functionality to start from a certain time.

Oh also, while I was changing stuff, I fixed a css issue with the rounded corners it didn’t look right because of the youtube video.
Just add this somewhere in your stylesheet:

div.youtubepopup div.ui-corner-all {
border-radius: 6px 6px 0 0;
}

And I changed the default attribute for the youtube Id to data-youtube-id because the rel attribute is supposed to specify the relationship between the current document and the linked document, not some unrelated data…
Because of this attribute we don’t need to use a class to select our youtube links we can simple use:

For the Twoo users who don’t have the diamond feature, you might have noticed that the “View Profile” button doesn’t work so there is no way you can see her/his profile.
Or can you? 😛Read the rest of this entry »