A start page just for me

Homework giving you a headache? Math gives you a migraine? Can't quite figure out how to do something in photoshop? Never fear, the other members of CAA share their expertise in this forum.

A start page just for me

Postby Bobtheduck » Sat Dec 30, 2006 3:57 pm

Ok, I built a start page just for myself, I attatched it so you can see (it's rediculously simple)... I am going to use it to remind myself of things whenever I get online... I edit the file whenever there's something important I need to remember... What I'd like to do, though, is somehow have random bible verses or important quotes or something show up whenever I loaded it... Remember, this stuff could be local and I'd actually prefer it to be local so I could edit the list whenever I wanted... I saw Mith do something like that with his signiature once, I was wondering if someone could tell me how to do that?
You do not have the required permissions to view the files attached to this post.
https://www.youtube.com/watch?v=evcNPfZlrZs Watch this movie なう。 It's legal, free... And it's more than its premise. It's not saying Fast Food is good food. Just watch it.
Legend of Crying Bronies: Twilight's a Princess
Image
User avatar
Bobtheduck
 
Posts: 5867
Joined: Mon Aug 25, 2003 9:00 am
Location: Japan, currently. Gonna be Idaho, soon.

Postby teen4truth » Sat Jan 20, 2007 1:48 pm

*can't help* sorry :(
What's up? I'm an archaeologist, traveler, and Trekky.
I blog about my adventures as a traveler here:
http://unsettledvoyage.blogspot.com
I blog about my adventures as an alien hunting cowgirl in a parallel universe here:
http://alternatevoyage.blogspot.com
User avatar
teen4truth
 
Posts: 808
Joined: Mon Jul 11, 2005 7:54 am
Location: Out in the final frontier

Postby Mithrandir » Sun Jan 21, 2007 3:43 pm

This javascript should do it. Just paste this whole thing where you want the text to show up. Add more elements to the array "text[n]" to make it work. Just be sure none of your quotes have quotation marks or you'll get an error. Also, increment in whole (integer) numbers.

- Mith
Code: Select all
<script language="Javascript">
var text=new Array()
text[0]="Thing 1.";
text[1]="Thing 2.";
text[2]="Thing 3.";
text[3]="Thing 4.";
var number_things = text.length;
var randomNum=Math.floor(Math.random()*number_things) -1;
if (randomNum < 0) { randomNum = 0; }
document.write(text[randomNum] + "Using: " + randomNum);
</script>
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 88 guests