|
|
|
|||||||
| Home | Forum Index | Register | Blogs | Motorcycle Photos | Search | Today's Posts | Mark Forums Read |
| Install RiderInfo.com Motorcycle Forum Content on Your Website | |
|
Now you can have the latest motorcycle forum content displayed on your web site. Just install the javascript code below on your website on your html page. That's it! Instructions for RSS and XML are below. Add motorcycle forum content to your website today! |
|
|
JavaScript 1) On your HTML page, locate: </head> Add Above: <style type="text/css"> <!-- .headtd { background-color: #CCCCCC; color: #000000; font-size: 75%; } .headtd a:link { background-color: #CCCCCC; color: #990000; } .headtd a:visited { background-color: #CCCCCC; color: #990000; } .headtd a:hover { background-color: #CCCCCC; color: #666666; } .headtd a:active { background-color: #CCCCCC; color: #666666; } .linktd { background-color: #F5F5F5; color: #000000; font-size: 75% } .linktd a:link { background-color: #F5F5F5; color: #990000; } .linktd a:visited { background-color: #F5F5F5; color: #990000; } .linktd a:hover { background-color: #F5F5F5; color: #666666; } .linktd a:active { background-color: #F5F5F5; color: #666666; } //--> </style> 2) Place this code on your HTML page where you can display a 160 pixel wide column. This goes in the <body>: <script type="text/javascript" src="http://www.riderinfo.com/forums/external.php?type=js&forumids=16,2,36,42,41,44,43,55,45,47,46,48,26,24,49"></script> <table><tr><td align="center" width="160"> <script type="text/javascript"> <!-- // copyright motorcycle forum www.riderinfo.com var num_Of_Links = 10; var forumName = "Motorcycle Forum"; var forumLink = "http://www.riderinfo.com/forums/"; var threadLink = forumLink + "showthread.php?t="; document.writeln('<table width="100%" cellpadding="5" cellspacing="0" border="1" align="center">'); document.writeln('<tr><td class="headtd" align="center">'); document.writeln('<a href="http://www.riderinfo.com/" target="new">' + forumName + '<\/a><br />Latest Posts'); document.writeln("<\/td><\/tr>"); for (i = 0; i < num_Of_Links; i++) { document.writeln('<tr><td class="linktd" align="center">'); document.writeln('<a href="' + threadLink + threads[i]["threadid"] + '" target="new">' + threads[i]["title"] + '<\/a><br \/>'); document.writeln('<\/td><\/tr>'); } document.writeln('<\/table>'); //--> </script> </td></tr></table> 3) Done! Test your HTML page. See example display below. Motorcycle Forum News Feeds RSS XML If you want the lastest motorcycle forum news via RSS, point your RSS reader to: http://www.riderinfo.com/forums/external.php?type=rss&forumids=16,2,36,42,41,44,43,55,45,47,46,48,26,24,49 If you want the lastest motorcycle forum news via XML, point your XML reader to: http://www.riderinfo.com/forums/external.php?type=xml&forumids=16,2,36,42,41,44,43,55,45,47,46,48,26,24,49 Prefer a motorcycle forum banner for your website? Check out our motorcycle forum banner page! |