Thread: StatsLab11
View Single Post
Old 03-14-2011, 08:00 PM   #251
avwjase
Guest
 
Posts: n/a
Having an issue with widgets.

The Pioneer League

The first four standings is how I want it on my webpage with uniform columns etc... but to get that, I had to copy and paste the entire code into my wordpress and edit it. I assume that this will not update?

The bottom standings were installed with the:

Quote:
<body>
<?php include("/home/avwretro/public_html/widgets/lg_100_sl_0_div_1_standings.wgt"); ?>
<hr />
code. I assume this will update as I update the widget. However, it looks like garbage. How can I get this one to look like the one above that I manually edited? I do not want to have to manually edit the thing every single sim, it defeats the purpose.



EDIT:

Just in case it makes a difference, here is the code for the top 4. I took the code from the widget and edited the table widths to make them uniform.

Quote:
<body>

<table width="312" class='wdgT'>
<thead><tr class='wdgH'><td width="112" class='wdgH_l'>WCL North</td><td width="21">W</td><td width="21">L</td><td width="52">GB</td></tr></thead>
<tr class='wdg1'><td class='wdg1_l'><a href='http://www.avwretro.ho8.com//reports/html//teams/team_59.html'>Idaho Falls</a></td><td>0</td><td>0</td><td>-</td></tr>
<tr class='wdg2'><td class='wdg2_l'><a href='http://www.avwretro.ho8.com//reports/html//teams/team_60.html'>Tacoma</a></td><td>0</td><td>0</td><td>-</td></tr>
<tr class='wdg1'><td class='wdg1_l'><a href='http://www.avwretro.ho8.com//reports/html//teams/team_61.html'>Las Vegas</a></td><td>0</td><td>0</td><td>-</td></tr>
</table>
But I already know that the chances are slim and none that this thing will update since StatsLab can't regenerate this code -- I'd have to manually move it over constantly. Is there a solution to this? I am a novice web programmer at best.

Last edited by avwjase; 03-14-2011 at 08:10 PM.
  Reply With Quote