View Single Post
  #3   Spotlight this post!  
Unread 02-05-2009, 21:02
dqmot17's Avatar
dqmot17 dqmot17 is offline
Orange Hat
FRC #0247 (Da Bears)
Team Role: Webmaster
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 142
dqmot17 can only hope to improve
Send a message via AIM to dqmot17
Re: Team 247 Gallery Help

Quote:
Originally Posted by kitfisto92 View Post
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');
	 });*/
__________________
2009 Championship Finalists & 3 Blue Banners