Category Archives for jQuery
jQuery Timer Plugin
Time does not change us. It just unfolds us. -Max Frisch I m happy to post about my first ever jQuery plugin. This plugin will allow you to add a simple timer to a HTML element like DIV or SPAN … Continue reading
Nav Highlighter
We were suddenly faced with the necessity of training a lot of young men in the art of navigation. -Clyde Tombaugh Navigation items built out of li elements or a common class name assigned to multiple divs or a set … Continue reading
How to create sticky table headers using jQuery
Welcome those big, sticky, complicated problems. In them are your most powerful opportunities. -Ralph Marston Here s a nice way to use jQuery and make table headers sticky when a page is scrolled down and the table headers reach … Continue reading
Solution for jQuery Cycle’s scrollHorz property hiding slides
There are two ways to slide easily through life: to believe everything or to doubt everything. Both ways save us from thinking. -Alfred Korzybski This is more of a reminder for me than anything else. If it helps you then … Continue reading
Javascript equivalent for PHP’s array_map()
To map out a course of action and follow it to an end requires courage Ralph Waldo Emerson I was looking for an equivalent of the PHP array_map() function or the Python map() function in Javascript. Turns out that Javascript … Continue reading
Making HTML tags more useful by custom attributes
Being good is commendable, but only when it is combined with doing good is it useful. -Anonymous I have been over using a simple technique to pass on more data to an HTML element in order to manipulate it better … Continue reading
How to quickly create iPhone style on off buttons
Whenever you’re pissed off, just remember that it’s better than being pissed on. -Christopher Titus The famous iPhone on off style sliding buttons can be quickly created by using jQuery and jQueryUI draggable behavior. Here’s quick demo if you’d like … Continue reading
Vimeo’s embed code doesn’t go well with jQuery
Ain’t no fool like an old fool -Anonymous If you are using some jQuery to load a page with the latest Vimeo embed code then there are chances it ll throw out this error: Permission denied for <http://player.vimeo.com> to get … Continue reading
How to disable dragging on a HTML element with jQuery
They are not free who drag their chains after them. -French proverb All HTML elements have a default nature whereby they can be dragged around for whatever reasons. Sometimes you dont want this, especially on sliders. Of course, if you … Continue reading
