Go to Post Our robot throws custom $5.50 FIRST Frisbees at a rate of 75 discs per minute and a speed of ~32 feet per second. It costs over $80 to feed our robot for 12 seconds. - Woolly [more]
Home
Go Back   Chief Delphi > Other > Chit-Chat
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-08-2004, 15:32
JohnBoucher JohnBoucher is offline
Blue Shirt
FRC #0237
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Watertown, CT
Posts: 2,927
JohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond repute
Re: Random Page Loader

Do you just want an different image to be displayed every time that page is loaded, or do you want a different .HTML page loaded?

The different image is easy, I don't know if you can do a different page.

Check out www.team237.com for the random image loader.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-08-2004, 16:38
rowe rowe is offline
Eric Rowe
FRC #1097 (Site 3 Engineering)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Sacramento, CA
Posts: 133
rowe has a spectacular aura aboutrowe has a spectacular aura about
Send a message via AIM to rowe Send a message via MSN to rowe Send a message via Yahoo to rowe
Re: Random Page Loader

im just making this on the fly, but i think the code would be:
Code:
<script type="text/javascript">
<!--
var pages = new Array('url1','url2',...,'urlN');
function loadRandomPage(){
  var newPage = pages[Math.floor(Math.random()*pages.length)]
  window.location=newPage;
}
//-->
</script>
<input type="button" onclick="loadRandomPage()" value="Change URL">
Let me know if that works.
__________________
Eric Rowe | Alumn
Team 1097 | Site 3 Engineering
2005 Silicon Valley Regional Finalists
2005 Silicon Valley Regional Sportsmanship Award
2005 Sacramento Regional Finalists
2005 Sacramento Regional Sportsmanship Award
2004 Silicon Valley Regional Sportsmanship Award
2004 Sacramento Regional Visualization Award
2004 Sacramento Regional Engineering Inspiration Award

Last edited by rowe : 16-08-2004 at 16:41. Reason: code debugged
Reply With Quote
  #3   Spotlight this post!  
Unread 16-08-2004, 18:58
coreyk's Avatar
coreyk coreyk is offline
Alumni - Former President,Treasurer
FRC #0103 (Cybersonics)
Team Role: Leadership
 
Join Date: Nov 2003
Rookie Year: 2003
Location: PA
Posts: 70
coreyk is a glorious beacon of lightcoreyk is a glorious beacon of lightcoreyk is a glorious beacon of lightcoreyk is a glorious beacon of lightcoreyk is a glorious beacon of lightcoreyk is a glorious beacon of light
Re: Random Page Loader

Thank you Eric, the script works! Thank you also to everyone who posted-- your help is greatly appreciated.
__________________
Corey
Cybersonics Technology Team 103 Alumni
www.cybersonics.org| cybersonics@palisadessd.org
Former President, Treasurer, Webmaster, Awards, and Editor
Reply With Quote
Reply


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
Print a different page than current page? KathieK Website Design/Showcase 9 24-08-2004 21:11
Bug in IFI Loader rwaliany Programming 2 06-01-2004 21:26
How random is random???? archiver 1999 0 23-06-2002 21:59
page navigation Brandon Martus Announcements 2 06-12-2001 21:12
How about a Drivers/Operators page and a Human Players page Anthony S. CD Forum Support 4 02-06-2001 22:47


All times are GMT -5. The time now is 18:45.

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