Phantom arcade.
Yuiko
Posted: Dec 5 2007, 05:46 AM


Clair of PD.


Group: Active member
Posts: 188
Member No.: 586
Joined: 4-May 06



Just put this around your
CODE

<% BOARD %>


CODE

<div id="pdarcade"><% BOARD %></div>


and put this in your footers
CODE



<script type="text/JavaScript">
/************************
Phantom-arcade
Brought to you by
Chireru and Clair of
http://phantom-designs.net
************************/
if (location.href.match("act=Arcade")){

c=0
var game = new Array()
game[c++] = ["Curve ball","An addicting game!","http://www.albinoblacksheep.com/flash/curveball"]
game[c++] = ["Spank the monkey","How fast can you spank your monkey?","http://www.albinoblacksheep.com/flash/spankthemonkey"]
game[c++] = ["Crimson room","Can you escape the crimson room?","http://www.albinoblacksheep.com/flash/room"]
game[c++] = ["Sonic","Classic sonic the hedgehog!","http://www.albinoblacksheep.com/flash/sonic"]
game[c++] = ["Mario bros","A vintage classic!","http://www.albinoblacksheep.com/games/marioclassic"]
game[c++] = ["Bloody pingu throw","Much like the original but with more gore!","http://www.albinoblacksheep.com/flash/pingu2"]
game[c++] = ["Pingu throw","The original pingu throw!","http://www.albinoblacksheep.com/flash/pingu"]
game[c++] = ["Pac-man","A hit classic!","http://www.albinoblacksheep.com/flash/pacman"]
game[c++] = ["Snake","Try not to hit the walls or you die!","http://www.albinoblacksheep.com/flash/snake"]
game[c++] = ["Simon","Better do what he says!","http://www.albinoblacksheep.com/flash/simon"]
document.write("<div id='pdarcade'>text<\/div>")
games = '<div class="tableborder"><div class="maintitle">Arcade</div><div class="tablepad"><table border="0" width="100%"><tr><th align="left" width="25%" class="postlinksbar"><b>Game Name</b></th><th align="center" width="50%" class="postlinksbar"><b>Description</b></th><th align="center" width="25%" class="postlinksbar"><b>Play</b></th></tr>'
for(x in game){
games += '<tr><td align="left" width="25%" class="row3">'+game[x][0]+'</td><td align="center" width="50%" class="row3">'+game[x][1]+'</td><td align="center" width="25%"><a href="'+game[x][2]+'" class="row3">Play</a></td></tr>'
}
games += '</table></div><div class="titlemedium"><a href="http://www.phantom-designs.net">Arcade Script By Clair And Chireru Of Phantom-Designs.net</a></div></div></div></div>'
document.getElementById("pdarcade").innerHTML=games;
}
</script>
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


Topic Options



Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Archive