Jump to content
xisto Community
Sign in to follow this  
UnheroicHero

What's With This?

Recommended Posts

<script type="text/javascript">var quotes = ["User axed: Inty""User axed: Aziz Strife 7777""User axed: joeynova""User axed: Ricapar9x""User axed: bttfpromo""User axed: Heartless""User axed: curleyjoe1624""User axed: Lord Setar""User axed: Lion O""User axed: Unheroic Hero"];function getQuote(){var qs = document.getElementById("quote");var quote = quotes[Math.floor(Math.random() * quotes.length)];alert(quote);}</script><center><input onclick=getQuote() type="button" value="PIE"></center>What's wrong with it?

Share this post


Link to post
Share on other sites

Hey..I know you...and what is that supposed to be? A list of all the users that have been axed from.....>_>?

Share this post


Link to post
Share on other sites

Lol UnheroicHero! It's Helljumper from Sub-Zero ;) We know Milk from Sub-Zero since Milk registered recently. Oh and, I already made a button like that for Omega Gateway. But here is how you would want to do it.

 

Replace the text in red with your own values.

 

<script type="text/javascript">

 

var quotes = [

 

"You Banned: Unheroic Hero", <----Always use a comma when adding more than one quote!---

 

You can add as many quotes as you want..

 

];

 

function getQuote()

{

var qs = document.getElementById("quote");

var quote = quotes[Math.floor(Math.random() * quotes.length)];

 

alert(quote);

}

</script>

 

<input onclick=getQuote() type="button" value="Name of Button">

Share this post


Link to post
Share on other sites

Well? Did it work? I use that script for most of the buttons I make and it works for me. In fact, I'm making a button right now! Similar to the one you are making, but for different message boards.

Share this post


Link to post
Share on other sites

I don't know where I know you from...

Edited by Milk (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.