<< Previous Topic | Next Topic >>BACK TO MAIN  

Links in javascript

November 7 2001 at 9:10 PM
  (no login)

Is there a way to make the quotes in the following script into links. I tried doing it with the standard HTML linking method which obviously failed.

<SCRIPT>
<!-- written by The Omega
// http://www.geocities.com/Area51/Corridor/4381
// the_omega@geocities.com
// You must leave these comments in to use the script
// (hey, I wrote it. Let me have a little credit!)
quote0="Quote"
quote1="Quote"
quote2="Quote"
quote3="Quote"
quote4="Quote"
quote5="Quote"
// ^^^ THE PLACE INDICATED!! ^^^
//Add more above, number sequentially

today2=new Date()
len=6
today=today2.getTime()/10
rnd=today%len
document.writeln(eval("quote"+rnd))
//-->
</SCRIPT>


See, I want the Quotes to link to files/sites but I can't get it to work.

 

 Respond to this message   
Current Topic - Links in javascript
  << Previous Topic | Next Topic >>BACK TO MAIN  
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement