URL parameter value with js / javascript

Get URL parameter using JavaScript?

var getUrlParameter = function getUrlParameter(sParam) {
    var sPageURL = window.location.search.substring(1),
        sURLVariables = sPageURL.split('&'),
        sParameterName,
        i;

    for (i = 0; i < sURLVariables.length; i++) {
        sParameterName = sURLVariables[i].split('=');

        if (sParameterName[0] === sParam) {
            return typeof sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
        }
    }
    return false;
};

And this is how you can use this function assuming the URL is,
http://dummy.com/?technology=jquery&blog=jquerybyexample.

var tech = getUrlParameter('technology');
var blog = getUrlParameter('blog');

Cute Hide (show/hide element)

Smooth hiddinig elements with js:

    function cuteHide(el) {
        el.animate({opacity: '0'}, 130, function(){
            el.animate({height: '0px'}, 130, function(){
            });
        });
    }

    function cuteUnhide(el) {
        el.animate({height: '100%'}, 130, function(){
            el.animate({opacity: '1'}, 130, function() {
            });
        });
    }
    function cuteRemove(el) {
        el.animate({opacity: '0'}, 150, function(){
            el.animate({height: '0px'}, 150, function(){
                el.remove();
            });
        });
    }