Adnan’s Blog

Posts Tagged ‘javascript

jQuery Tools

Posted by: adnanrashid on: August 26, 2009

I recently came across a very nice jQuery control library called jQuery Tools. The library features the following JavaScript tools :

Tabs
Tooltips
Expose
Overlay
Scrollable
FlashEmbed

So now you are thinking “Whats so great about this? We already have tons of jQuery plugins for this…”. I thought so too.
The striking advantage of this library is that these tools can be combined, [...]

Javascript – Query String Parameters

Posted by: adnanrashid on: March 4, 2009

Here’s a small javascript helper to read Url Query String Parameters.
 
function GetUrlParams()
{
          var vars = [], hash;
           var hashes = window.location.href.slice(window.location.href.indexOf(‘?’) + 1).split(‘&’);
 
        for(var i = 0; i < hashes.length; i++)
        {
                hash = hashes[i].split(‘=’);
               [...]