|
Post by Snowstar on Dec 4, 2012 18:17:46 GMT -5
<script type="text/javascript"> <!-- /* avatar size limit by california */ var maxWidth=150; var maxHeight=300; var img=document.getElementsByTagName("img"); for(i=0;i<img.length;i++){ if(img.width>maxWidth && img.alt.match(/\[avatar\]/i)){ img.style.height=""+(img.height*maxWidth/img.width)+"px"; img.style.width=""+maxWidth+"px"; } if(img.height>maxHeight && img.alt.match(/\[avatar\]/i)){ img.style.width=""+(img.width*maxHeight/img.height)+"px"; img.style.height=""+maxHeight+"px"; } } // --> </script> Most roleplays have this code, for user enjoyment. If you put it in the global footer, below or above all other codes it would be nice of you! Thanks! -Snowstar
|
|
|
Post by Kat on Dec 4, 2012 19:26:07 GMT -5
Thank you for the code! I've put it in. ^^
|
|
|
Post by Snowstar on Dec 5, 2012 19:37:35 GMT -5
I still can't change my size, though.....did you set it to WIDTH - 150, HEIGHT - 300?
Is it under EVERYTHING ELSE in the global footers?
|
|
|
Post by Kat on Dec 7, 2012 19:49:05 GMT -5
Yes it should be working. O.o Not sure why it is not.
|
|