Welcome to the Art of Problem Solving Forum View Tool. Using this, you can place a window into the Art of Problem Solving Forum on your own website. This view is highly customizable. To include a peek into the AoPS Forum, include the following code on your web page:
<iframe name="aops"
src="http://www.artofproblemsolving.com/Forum/marquee.php?ls=4&width=200&fora=149,150,141&bgcolor=000000&height=100&marquee=true&sigcolor=FF0000&sf=1&si=1&sb=1&ss=2&lf=4&linkcolor=00FF00"
frameborder="1" MARGINWIDTH="0" WIDTH="200" HEIGHT="100"
scrolling="no">MESSAGE</iframe>
The parts in bold are the parts you'll want to edit for sure. You can also set the border or margin as you like, or add a scrollbar. We suggest setting the width and height in the iframe declaration equal to the values you enter as described below.
The MESSAGE is what will appear if your user is using an antiquated browser. The URL is how you include the view into the AoPS Forum. As you see, it starts with:
http://www.artofproblemsolving.com/Forum/marquee.php
What follows is a series of arguments that allow you to customize the view. As in the example, start with a ? after the URL, then separate the argument declarations by & signs.
The arguments are all optional. There are defaults for all of them. The arguments are
width - width of the view in pixels
height - height of the view in pixels
marquee - set to 1 if you want scrolling, 0 if you want it
to be stationary (after scrolling onto the page)
bgcolor - background color of the box the view sits in
linkcolor - color of the link and topic name
sigcolor - color of the signature to the topic (by so-and-so
part)
npost - number of posts you want included
fora - forum numbers of the forums you want included (click
on the forum you want on the site - you'll see the forum number in the URL);
these should be comma separated as shown above; if you enter invalid fora, you'll
get an error message.
url - domain topics will link to (aops for Art of Problem Solving,
ml for MathLinks) (default: Art of Problem Solving)
lf - font face of the topic (1 = times, 2 = Arial, 3 = Courier,
4 = Georgia, 5 = Verdana, 6 = Geneva)
ls - size of the topic (1 = tiny, 7 = huge)
lb - 1 to bold the topic, 0 not to (default no)
li - 1 to italicize the topic, 0 not to (default no)
sf - font face of the signature (1 = times, 2 = Arial, 3 =
Courier, 4 = Georgia, 5 = Verdana, 6 = Geneva)
ss - size of the signature (1 = tiny, 7 = huge)
sb - 1 to bold the signature, 0 not to (default no)
si - 1 to italicize the signature, 0 not to (default no)
The sample window below was produced by the code above.