Adding All Mixed Up to your pages
You can add a block of code to your webpage which will place a
table that contains up-to-date links from the 2-player games at
All Mixed Up. Visitors to your pages can invite you to play a game
by clicking on a link in the table.
A table can display 3 types of information: your games in
progress, invitation games and open games. You can control which
type of table you see and which type of table
anyone else would see if they looked at your page.
play me
|
|
|
Display the list of your preferred games. If the viewer clicks on
a link they they'll start a game and automatically invite you to
play. Use the my info page to choose which games
you prefer to receive invitations for and those games will be listed
in the table.
... blog.cgi?user=YourUsername&theysee=invite ...
|
pick up
|
|
|
Display any open games that anyone can play. This
produces a simplified version of the open games
page. Clicking on a game name will let anyone join the game in
question. Clicking on a player name displays that player's
information.
... blog.cgi?user=YourUsername&theysee=open ...
|
my games
|
|
|
You don't have to be on All Mixed Up to see if its your turn to
move. If you place this table on your web page it will display
the games you are currently playing.
... blog.cgi?user=YourUsername&isee=mygames ...
|
Table decoration
You can use CSS style-sheet elements to control how parts of the
table are displayed. The following table elements have CSS class
names:
| element |
CSS class |
example |
| the table |
amu_table |
background: #eeeeee; |
| the heading row |
amu_heading |
text-align: center;
border-bottom:1px dotted #999;
font-size: 12px;
|
| game name cell |
amu_game |
font-size: 12px;
|
| player name cell |
amu_player |
border-left:1px dotted #999;
font-size: 12px;
|
Getting the code
To add a tables to your own pages, just copy the following block
of HTML to wherever you'd like the table to appear, and change
YourUsername to your username at All Mixed Up.
<SCRIPT LANGUAGE=JAVASCRIPT SRC=http://www.allmixedup.com/feed/blog.cgi?user=YourUsername></SCRIPT>
back to All Mixed Up
|