inherit
28715
0
Dec 10, 2007 12:57:01 GMT -8
NomadWarrior
252
August 2004
nomadwarrior
|
Post by NomadWarrior on Feb 18, 2006 5:56:37 GMT -8
Forum URL: severance1.proboards39.comHi guys, I've got a typical 'newb' kind - of question. I was busy trying to fix a table problem with the resolution 1280x1024 after complaints from members, and I knew there was a fix for it here. I was able to find this code: <SCRIPT LANGUAGE="JavaScript"> <!-- tablew = document.getElementsByTagName('TABLE'); for(t=0;t<tablew.length;t++) { if(tablew[t].width=="92%"){ tablew[t].width='50%'; } } // --> </script> I need the pixel width version of this code. I know it's around, because I've used it a long time ago. Could someone help me out of this problem? - JC
|
|
inherit
71928
0
Feb 21, 2006 18:33:59 GMT -8
kishanx2
43
February 2006
kishanx2
|
Post by kishanx2 on Feb 18, 2006 5:57:37 GMT -8
<script type="text/javascript"> tablew = document.getElementsByTagName('TABLE'); for(t=0;t<tablew.length;t++) { if(tablew[t].width=='92%' || tablew[t].width=='720'){ tablew[t].width="710"; } } </script>
Global Footer. Edit '710'.
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Feb 18, 2006 5:57:51 GMT -8
Forum URL: severance1.proboards39.comHi guys, I've got a typical 'newb' kind - of question. I was busy trying to fix a table problem with the resolution 1280x1024 after complaints from members, and I knew there was a fix for it here. I was able to find this code: <SCRIPT LANGUAGE="JavaScript"> <!-- tablew = document.getElementsByTagName('TABLE'); for(t=0;t<tablew.length;t++) { if(tablew[t].width=="92%"){ tablew[t].width='50%'; } } // --> </script> I need the pixel width version of this code. I know it's around, because I've used it a long time ago. Could someone help me out of this problem? - JC This help? support.proboards.com/index.cgi?board=codedatabase&action=display&n=1&thread=70219
|
|
inherit
28715
0
Dec 10, 2007 12:57:01 GMT -8
NomadWarrior
252
August 2004
nomadwarrior
|
Post by NomadWarrior on Feb 18, 2006 6:11:55 GMT -8
Excellent. This will solve the problem, guys. This thread is on Resolved as of now. See you around. - JC
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Feb 18, 2006 6:22:58 GMT -8
Cool good luck.
|
|