All posts in: How To

banner
banner

Open a new popup window using javascript

To open a new window using javascript can use the following function. You just have to do is send the link and the window name. function popup(mylink, windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == ...

Retrive time period like facebook

In facebook stream you’ll see the time period at the bottom of the stream. For example: 4 minutes ago, 2 days ago, 3 weeks ago…. In our recent project we have to show similar time fashion for our application’s activity stream. So I write a ...

Parse URL’s in text, create links

I’ve discovered a huge drawback to the Twitter messaging system: it does not store links. The Twitter site itself will identify URL’s in messages and convert them into clickable links for you automatically. But the magic ends at Twitter’s ...

Page 1 of 41234

Get Adobe Flash player