 <p>You can parse the parameters of the url with javascript easily, then check if that particular 'nofade' param exists (or any other) and fade your image if it does</p> <pre><code>$(function(){ // Grab our url parameters and split them into groups var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&amp;'); // assign parameters to our object var params = {}; for(var i = 0; i &lt; hashes.length; i++){ var hash = hashes[i].split('='); params[hash[0]] = hash[1]; } // Now params contains your url parameters in an object if(typeof(params['nofade']) === 'undefined' || !params[nofade]){ // Perform image fade here } }) </code></pre>