View Single Post
Old 26th August 2008, 05:51 AM   #3 (permalink)
Tenniel
Registered User
 
Tenniel's Avatar
 
Join Date: Mar 2008
Posts: 61
Tenniel Goblin Sharpshooter (Lvl 2)
Thanks, I think you have put me on the right path with scripting. Not sure if PDA browsers support Javascript, but Mobile Internet Explorer supports VB script. I have tried a few things and it looks good, makes the HTML more maintainable by putting repetive lines of HTML in a VBScript loop, e.g. this creates the ability score table (rather than having it written out 6 times):

<script type="text/vbscript">
document.write("<table border=1 width=100%>")
private score
For Each Ability in arrAbilities
score=eval(Ability)
document.write("<tr><td>" & Ability & "</td>")
document.write("<td align=right>" & Score & "</td>")
document.write("<td align=right>" &ScoreMod & </td></tr>")
Next
document.write("</table>")
</script>
__________________
Anyway, to cut a long story short I threw a and a which beat his and a , another double followed by a double and a double . After he'd thrown a and a I threw a and a .

Last edited by Tenniel; 26th August 2008 at 07:36 AM..
Tenniel is offline   Reply With Quote