|
Post by sky.strife on Aug 23, 2004 15:58:57 GMT -8
I'm getting an error too.
This code's alone.
using IE:
any ideas?
|
|
|
Post by sky.strife on Aug 23, 2004 16:35:28 GMT -8
ah. Your break tag accually broke the line. code should be: <script type="text/javascript"> <!-- /* Hi-Tech Mini-Profile v.1.3 - Money Created by Naruto http://hatakeforum.proboards30.com/index.cgi */
// Gender Colors var Female = "pink"; var Male = "lightblue";
// Status Online / Offline Colors var Online = "green"; var Offline = "red";
// Money Info var Currency = "$"; var MoneyName = "Gil";
var TD = document.getElementsByTagName("TD"); for(t=0;t<TD.length;t++){ if(TD[t].width=="20%" && TD[t].vAlign=="top" && TD[t].innerHTML.match(/Posts: (\d+)/gi)){ var Amount = TD[t].innerHTML; var Amount = TD[t].innerHTML.split("Posts"); var Amount = Amount[1].split(":"); var Amount = Amount[1].split(" "); var PostCount = Amount[0]; var Money = parseInt((PostCount * 2.5)); var Info = TD[t].innerHTML.split("<b"+"r>"); if(navigator.appName.match(/Microsoft/i)){ var Info = TD[t].innerHTML.split("<B"+"R>"); } var Posts = Info[13].split(":"); TD[t].cellSpacing="0"; if(Info[12].indexOf("Gender")==-1){ Info[12]="<font size='1'>---</font>"; } if(Info[12].match("female.gif")){ Info[12]="<font color='"+Female+"'>Female</font>"; } if(Info[12].match("male.gif")){ Info[12]="<font color='"+Male+"'>Male</font>"; } if(Info[4].match("online")){ Info[4]="<font color='"+Online+"'>Online</font>"; } if(Info[4].match("offline")){ Info[4]="<font color='"+Offline+"'>Offline</font>"; } TD[t].innerHTML = "<table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='titlebg' colspan='2'><font size='1'>"+Info[0]+"</font></td></tr><tr><td align='center' class='windowbg2' colspan='2'><font size='1'>"+Info[1]+"</font><br />"+Info[2]+"</td></tr><tr><td align='center' class='windowbg' colspan='2'>"+Info[5]+"<br /><font size='1'>"+Info[7]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Status:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Info[4]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Gender:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Info[12]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Posts:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Posts+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>"+MoneyName+":</font></td><td class='windowbg2' width='50%'><font size='1'>"+Currency+Money+"</font></td></tr></table><br /><table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='catbg'><font size='1'><b>Contact</b></font></td></tr><tr><td align='center' class='windowbg2'>"+Info[9]+Info[10]+"</td></tr></table>"; TD[t].innerHTML = TD[t].innerHTML.replace("Posts, ","") }} //--> </script> That fixed it for me.
Last Edit: Aug 23, 2004 16:36:03 GMT -8 by sky.strife
|
|
100%
|
Post by Aaron on Aug 24, 2004 13:12:53 GMT -8
Sorry. *fixed* I hate when that happens.
|
|
|
Post by justlooking on Aug 25, 2004 12:04:17 GMT -8
does not work for me? Look: and i lose my avatar too sigh
|
|
100%
|
Post by Aaron on Aug 25, 2004 16:04:53 GMT -8
URL please.
Also, make sure that if you're using a custom title, that you use "<br />" instead of "<br>".
|
|
|
Post by justlooking on Aug 26, 2004 8:02:59 GMT -8
URL please. Also, make sure that if you're using a custom title, that you use "<br />" instead of "<b r>". tkdss.proboards2.com/ps i tried your V2 the one you use here i know it is not realesed etc so i took it straight off, but it works fine so i dont understand why the othe rone does not. thanks in advance#nosmileys
|
|
100%
|
Post by Aaron on Aug 27, 2004 7:28:22 GMT -8
The one I use here isn't version 2, it's 1.2...
I edited my post, so go back to the first post and try it again..
|
|
|
Post by justlooking on Aug 27, 2004 22:49:40 GMT -8
ok thanks it said v2 in the script, soz ill try this one now thanks again. edit it works but say Nan$ after 15 posts it is a brand new test board empty of codes too, any way you say are using 1.2 here does this mean i can use yours as long as i take out the contact gif? sorry to be a pain
|
|
100%
|
Post by Aaron on Aug 28, 2004 9:02:42 GMT -8
Go ahead if nothing works, use mine. Don't forget to take out the contact image.
|
|
|
Post by justlooking on Aug 29, 2004 1:31:06 GMT -8
ty thats great and yes about the image of course i was wondering what makes them better being at the top of all codes or at the bottom of all codes
|
|