Blog entries collection for the tag JavaScript
Trim function for older IE browsers
July 27th 2013
2985

Trim function for older IE browsers

If you use jQuery, you’ve certainly came across the trim() function. It’s the quickest and painless way to remove the white space from the beginning and end of a string. However as much as jQuery tries to cover cross-browser compatibility, there’s just this little that always gets missed out on. For a quick workaround read inside.

jQuery Custom Content Scroller mobile extension [updated 18/03]
March 18th 2013
7322

Familiar with malihu jQuery Custom Content Scroller? Or maybe even using it extensively on all the projects you lay your hands on? Read inside to find out how you can add mobile browser functionality to this otherwise extremely brilliant script.

Read and process hash tag URL
September 17th 2012
2770

Using hash tag links is a popular practice between AJAX calls based websites as hash tag URL extension can be easily changed without reloading the page. This post will show you how to read the part of URL after the hash tag and process it to the specified function. Read inside to see how it really works.

External hash tag link and Internet Explorer bug
September 14th 2012
4671

If you are jQuery fan and building a web site with some animations you will (most likely) end up using hash tag links. But if you ever try to open them using external souce link you may bump into a very unpleasant surprise. Using the ’notorious’ Internet Explorer such links, once opened will automatically refresh the page at your very first click.

Look inside for a very simple workaround to this little, but quite annoying bug.