Tag Archives: javascript

Link

Report on github for JavaScript 2012-01-07

For anyone who hasn’t seen these reports before.  They are generated from information I collect from github on a weekly basis (Mondays) for certain languages.  Hopefully allow people to see trends in popular repositories or up and coming new ones.

This week saw Font Awesome step up to 8th on the most starred overall.  While still maintaining a place on both most starred this week / month, it looks like the project could jump a few more places if it maintains the pace.

jQuery: Form changed warning

jQuery Logo

jQuery

The majority of us has had a moment where we’ve been filling out a web page form, been distracted and then left the page without submitting, accidentally clicked a link and navigated away or even had no input focused and hit backspace. Wouldn’t it have been nice to get a little warning saying “Hey, you’ve put changed this form data.  You sure you want leave this page and lose it all?”.  Here’s my effort using jQuery and trying to allow for multiple forms on a single page.
Continue reading

Hasbro website using some of my JavaScript

Code

Code

A recent comment on my about page asked about slidinglist2.js and a problem they had with it. My first thought was “What the heck is that, never heard of it, don’t think it’s one of mine.”. But after doing a Google search on it I found out it’s some JavaScript by Lennart Pilon, which uses a function “stolen” from my old Mootools nested.js script for dragging around nested lists.

The nice surprise was finding that bit of code on the Hasbro website. Makes me feel a little guilty for abandoning it now :P

http://www.hasbro.com/includes/js/lib/slidinglist2.js

Now I’ll have to try and find out what they’re using it for. Shame I didn’t stick it under a “giveMeAfreeToyWare” license!