Quote:
Originally Posted by kitfisto92
first off, i love the way it is linked when you click on it and how there is a picture with the text. SO creative
The way the gallery functions is very cool with the captions to the side.
As far as the code goes...I couldn't figure out how to get to it to see it...
|
Thanks!
It uses jquery with cookie addon.
clicked is the name of the cookie, and some of the comments are wrong.
.under is the sub banners of the page.
Code:
Code:
/*if($.cookie('clicked') == "09"){
$("#Traverse").show("slow"); //show traverse banner
$("#TFF").show("slow"); //show TFF banner
$("#award").show("slow"); //show TFF banner
}
if($.cookie('clicked') == "08"){
$("#bowl").show("slow"); //show bowling banner
$("#oldTFF").show("slow"); //show TFF banner
$("#canada").show("slow"); //show canada banner
$("#detriot").show("slow"); //show detriot banner
$("#end08").show("slow"); //show end of the year banner
$("#open08").show("slow"); //show open House banner
}
if($.cookie('clicked') != "08" || $.cookie('clicked') != "09"){*/
$("#Traverse").hide(); //hide the traverse banner
$("#TFF").hide(); //hide the team ford first banner
$(".under").hide(); //hide all banner
//}
/*$("#Traverse").click(function(event){
$.cookie('clicked', '09');
});
$("#TFF").click(function(event){
$.cookie('clicked', '09');
});
$("#award").click(function(event){
$.cookie('clicked', '09');
});
$("#bowl").click(function(event){
$.cookie('clicked', '08');
});
$("#oldTFF").click(function(event){
$.cookie('clicked', '08');
});
$("#canada").click(function(event){
$.cookie('clicked', '08');
});
$("#detriot").click(function(event){
$.cookie('clicked', '08');
});
$("#end08").click(function(event){
$.cookie('clicked', '08');
});
$("#open08").click(function(event){
$.cookie('clicked', '08');
});*/