Go to Post Purpose over pimpness is a policy that we are trying to adhere to. - santosh [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-04-2009, 13:12
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
Team 247 Gallery Help

First, i'd like to get some feedback on this part of the site in general:
www.247dabears.com/gallery

Also, if you look at the commented code, i have it so that you will get a cookie when you click any of the gallery links, and i want it so i can get them to stay open when you come back if the cookie = 09 or 08. Anyone?
Thanks
__________________
2009 Championship Finalists & 3 Blue Banners
  #2   Spotlight this post!  
Unread 02-05-2009, 20:52
kitfisto92's Avatar
kitfisto92 kitfisto92 is offline
<web 2.0 ftw />
AKA: Lenny Bernas
FRC #1089 (Mercury 1089)
Team Role: Leadership
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Hightstown, NJ
Posts: 32
kitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to all
Send a message via AIM to kitfisto92
Re: Team 247 Gallery Help

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...
__________________
2009 NJ Regional Chairman's Award
2011 NJ Regional Dean's List Award Recipient
  #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
  #4   Spotlight this post!  
Unread 02-05-2009, 23:56
ginosoprano09's Avatar
ginosoprano09 ginosoprano09 is offline
Aldo Cruz
FRC #2585
Team Role: Alumni
 
Join Date: Nov 2007
Rookie Year: 2007
Location: Bellaire, TX
Posts: 80
ginosoprano09 will become famous soon enoughginosoprano09 will become famous soon enough
Send a message via AIM to ginosoprano09 Send a message via Yahoo to ginosoprano09
Re: Team 247 Gallery Help

the "battery falling out" picture is epic
__________________
  #5   Spotlight this post!  
Unread 04-05-2009, 15:25
kitfisto92's Avatar
kitfisto92 kitfisto92 is offline
<web 2.0 ftw />
AKA: Lenny Bernas
FRC #1089 (Mercury 1089)
Team Role: Leadership
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Hightstown, NJ
Posts: 32
kitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to all
Send a message via AIM to kitfisto92
Re: Team 247 Gallery Help

don't gallery links like this usually auto-cookie?

and the code is so clearly organized; so easy to actually understand

my guess is its an error that may be with the layout of the site...?

Try this link to figure out how to accept cookies:
http://www.shopdev.co.uk/blog/cookie...sible-layouts/
^^ it uses jquery like your layout..so i hope it helps you
__________________
2009 NJ Regional Chairman's Award
2011 NJ Regional Dean's List Award Recipient
  #6   Spotlight this post!  
Unread 04-05-2009, 17:26
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
don't gallery links like this usually auto-cookie?

and the code is so clearly organized; so easy to actually understand

my guess is its an error that may be with the layout of the site...?

Try this link to figure out how to accept cookies:
http://www.shopdev.co.uk/blog/cookie...sible-layouts/
^^ it uses jquery like your layout..so i hope it helps you
Auto cookie? and thanks for the link, i'll check it out.
__________________
2009 Championship Finalists & 3 Blue Banners
  #7   Spotlight this post!  
Unread 04-05-2009, 18:11
kitfisto92's Avatar
kitfisto92 kitfisto92 is offline
<web 2.0 ftw />
AKA: Lenny Bernas
FRC #1089 (Mercury 1089)
Team Role: Leadership
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Hightstown, NJ
Posts: 32
kitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to all
Send a message via AIM to kitfisto92
Re: Team 247 Gallery Help

Quote:
Originally Posted by dqmot17 View Post
Auto cookie?
yeah like don't browsers auto accept cookies (unless you state not to in "options" tab)? in your case i think its different because you want it to use it to create a certain design feature (from what i understand) and maybe its a certain problem accepting cookies within the individual browser settings?
__________________
2009 NJ Regional Chairman's Award
2011 NJ Regional Dean's List Award Recipient
  #8   Spotlight this post!  
Unread 04-05-2009, 19:07
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
yeah like don't browsers auto accept cookies (unless you state not to in "options" tab)? in your case i think its different because you want it to use it to create a certain design feature (from what i understand) and maybe its a certain problem accepting cookies within the individual browser settings?
It makes the cookie fine, it reading doesn't work. the if cookie ='s blah then do blah isn't working.
__________________
2009 Championship Finalists & 3 Blue Banners
  #9   Spotlight this post!  
Unread 04-05-2009, 21:00
kitfisto92's Avatar
kitfisto92 kitfisto92 is offline
<web 2.0 ftw />
AKA: Lenny Bernas
FRC #1089 (Mercury 1089)
Team Role: Leadership
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Hightstown, NJ
Posts: 32
kitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to all
Send a message via AIM to kitfisto92
Re: Team 247 Gallery Help

Quote:
Originally Posted by dqmot17 View Post
It makes the cookie fine, it reading doesn't work. the if cookie ='s blah then do blah isn't working.
did you define what the value of "08" and "09" are on some other part because that can be the problem; it may not understand the definition of the code
__________________
2009 NJ Regional Chairman's Award
2011 NJ Regional Dean's List Award Recipient
  #10   Spotlight this post!  
Unread 06-05-2009, 15:22
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
did you define what the value of "08" and "09" are on some other part because that can be the problem; it may not understand the definition of the code
would it matter if they were in quotes? I can't edit it at the moment, but it ocured to me that maybe i wrote string ("") when i meant value (without quotes)
__________________
2009 Championship Finalists & 3 Blue Banners
  #11   Spotlight this post!  
Unread 07-05-2009, 15:27
kitfisto92's Avatar
kitfisto92 kitfisto92 is offline
<web 2.0 ftw />
AKA: Lenny Bernas
FRC #1089 (Mercury 1089)
Team Role: Leadership
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Hightstown, NJ
Posts: 32
kitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to all
Send a message via AIM to kitfisto92
Re: Team 247 Gallery Help

Quote:
Originally Posted by dqmot17 View Post
would it matter if they were in quotes? I can't edit it at the moment, but it ocured to me that maybe i wrote string ("") when i meant value (without quotes)
Most web languages are VERY particular about these things and so that can be the problem. good job noticing the problem
__________________
2009 NJ Regional Chairman's Award
2011 NJ Regional Dean's List Award Recipient
  #12   Spotlight this post!  
Unread 10-05-2009, 13:10
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
Most web languages are VERY particular about these things and so that can be the problem. good job noticing the problem
Well the problem was the 0 in front of the nine/eight, firefox was erroring out saying " Warning: 09 is not a legal ECMA-262 octal constant"
My next question is how to preload the images. i have so they are hidden by CSS, and once the page loads the are hidden by JavaScript not CSS, but it still looks funny. Any ideas on a way to preload it?
__________________
2009 Championship Finalists & 3 Blue Banners
  #13   Spotlight this post!  
Unread 10-05-2009, 21:02
kitfisto92's Avatar
kitfisto92 kitfisto92 is offline
<web 2.0 ftw />
AKA: Lenny Bernas
FRC #1089 (Mercury 1089)
Team Role: Leadership
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Hightstown, NJ
Posts: 32
kitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to all
Send a message via AIM to kitfisto92
Re: Team 247 Gallery Help

Quote:
Originally Posted by dqmot17 View Post
My next question is how to preload the images. i have so they are hidden by CSS, and once the page loads the are hidden by JavaScript not CSS, but it still looks funny. Any ideas on a way to preload it?
I say stick to either JAVA or CSS because it can take more time for the server to register, thus longer loading time.

As far as fixing it goes, try with just CSS and just JAVA and see which is sleeker =)
__________________
2009 NJ Regional Chairman's Award
2011 NJ Regional Dean's List Award Recipient
  #14   Spotlight this post!  
Unread 10-05-2009, 21:06
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
I say stick to either JAVA or CSS because it can take more time for the server to register, thus longer loading time.

As far as fixing it goes, try with just CSS and just JAVA and see which is sleeker =)
I hope you mean javascript? because i don't know any java (tried to learn it, looked at some simple scripts and thought That ain't simple and put it down)

And how exactly should i do it though? i've seen others preloading scripts but how (i don't really need code just an idea here) should i do it ?
__________________
2009 Championship Finalists & 3 Blue Banners
  #15   Spotlight this post!  
Unread 11-05-2009, 15:13
kitfisto92's Avatar
kitfisto92 kitfisto92 is offline
<web 2.0 ftw />
AKA: Lenny Bernas
FRC #1089 (Mercury 1089)
Team Role: Leadership
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Hightstown, NJ
Posts: 32
kitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to allkitfisto92 is a name known to all
Send a message via AIM to kitfisto92
Re: Team 247 Gallery Help

Quote:
Originally Posted by dqmot17 View Post
I hope you mean javascript?
oops yeah i did. sorry...so used to refering to it as JAVA like the AP class

Quote:
Originally Posted by dqmot17 View Post
And how exactly should i do it though? i've seen others preloading scripts but how (i don't really need code just an idea here) should i do it ?
I recommended coding what you have now into CSS as one idea and then one into javascript as another and see what you like more.

As far as a preloader goes, i recommended using whichever you are more comfortable with. (for me, that's CSS) and research the code to see how other sites do it and formulate how you want it to function
__________________
2009 NJ Regional Chairman's Award
2011 NJ Regional Dean's List Award Recipient
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CD's Unofficial Caption Contest #247 Billfred Games/Trivia 33 08-04-2009 11:52
THANKS 247 and 1251 for PALMETTO. aallen88 Thanks and/or Congrats 4 04-04-2006 15:16
Gallery for Team Posters & Graphics John Wanninger CD Forum Support 2 19-10-2005 01:19
Team 217 Photo Gallery JohnnyB Robot Showcase 7 13-03-2005 00:40
Team 247 - FIRST Testimonials BHS Jester General Forum 0 09-02-2005 15:19


All times are GMT -5. The time now is 01:23.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi