I am trying to control the javascript external feed that works with my home pages css.
My site calls sportsrant.css and there is a class in the css file called
and
the external js feed is within a cell
i want to use this so these links show up as the rest on my site do. Is there a way to call the css class within the java script!!!
any help would be appreciated!
You can see that just adding this script to the cell breaks up the right side of this test page!
thanks,
Mike
My site calls sportsrant.css and there is a class in the css file called
Code:
.RantBlackSmall { font-family: "Verdana", "Arial", "Helvetica", sans-serif; font-size: 10px; text-decoration: none; color: #000000} .RantBlackSmall:visited { color: #000000 } .RantBlackSmall:active { color: #000000} .RantBlackSmall:hover { text-decoration: none }
the external js feed is within a cell
Code:
<table width="155" height="100" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top" background="images/borders/menu_bg_right.jpg"><div align="center"><img src="images/borders/menu_top.jpg" width="155" height="2"><br> <table width="150" height="25" border="0" cellpadding="0" cellspacing="0" background="images/cell/orange_header.jpg" bgcolor="#EBCC6E"> <tr> <td width="23"> </td> <td><strong><font color="#555555" size="1" face="Verdana, Arial, Helvetica, sans-serif">Latest Posts</font></strong></td> </tr> </table> <br> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"> [b]<script type="text/javascript" src="/forums/external.php?type=js"></script> <script type="text/javascript"> <!-- for (i = 0; i < 10; i++) { if (threads[i].title.length > 20) { threads[i].title = threads[i].title.substring(0,20) + '...'; } document.writeln("<li><a href=\"[/b][url="http://www.sportsrant.com/forums/showthread.php?t"][b]http://www.sportsrant.com/forums/showthread.php?t[/b][/url][b]=" + threads[i].threadid + "\">" + threads[i].title + "</a> by: <a href=\"[/b][url="http://www.sportsrant.com/forums/member.php?u="][b]http://www.sportsrant.com/forums/member.php?u="+threads[i].poster+"\[/b][/url][b]">" + threads[i].poster + "</a></li>"); } //--> </script> [/b] <br> <strong><a href="[url="http://www.sportsrant.com/forums/index.php"]http://www.sportsrant.com/forums/index.php[/url]" class="RantMenuTop">Go live</a><br> <br> </strong></font></div></td> </tr> </table>
any help would be appreciated!
You can see that just adding this script to the cell breaks up the right side of this test page!
thanks,
Mike
Comment