[jQuery] Query String Object plugin help
Hi All,
First time jQuery user and poster here. I'm trying to grab the value
of a querystring using the Query String Object plugin. Here is my code
(along with some 'curvy corners' jQuery):
$(document).ready(function(){
$('.announce').corner({
tl: false,
tr: { radius: 16 },
bl: { radius: 16 },
br: false,
antiAlias: true,
autoPad: true,
validTags: ["div"]
});
$('#reportOptions').corner({
tl: false,
tr: { radius: 16 },
bl: { radius: 16 },
br: false,
antiAlias: true,
autoPad: true,
validTags: ["div"]
});
var BlueSky = $.query.get('BlueSky');
if (Bluesky == 1)
{
$('#header').hide();
$('#footer').hide();
$('#nav').hide();
}
});
Whenever I load up my page I get 'Bluesky' is undefined. Obviously I
want to check if Bluesky is 1 and hide my ids.
Any ideas where I'm going wrong?
Thanks,
Brett