Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Feb 3, 2007 10:26:40 GMT -5
My first working Javascript code. <script type='text/javascript'> // Resize Forum Width //http://forum.xd-designs.com
var XD = document.getElementsByTagName("table"); for(x=0;x<XD.length;x++){ if(XD[x].width == "92%") XD[x].width = "700" ; // Edit to what you want the width to be. You can use percentages } </script>
Global, Main, Or Specific Board FootersPreview: Click Here!Enjoy
|
|
Gamoc
Smiley Abuser & Big Word Abuser..
Defying Gravity!
Posts: 3,935
|
Post by Gamoc on Feb 3, 2007 22:10:15 GMT -5
Boy, I haven't seen a million people make this code before
|
|
Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Feb 3, 2007 22:21:09 GMT -5
Pikablu, just be happy that I can make this code now
|
|
Gamoc
Smiley Abuser & Big Word Abuser..
Defying Gravity!
Posts: 3,935
|
Post by Gamoc on Feb 3, 2007 22:27:00 GMT -5
I am jealous, though, I still can't get a code to execute.
|
|
Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Feb 3, 2007 22:47:57 GMT -5
Keep working
|
|
|
Post by racinfan88 on Feb 16, 2007 21:49:22 GMT -5
Congrats XD! ;D
|
|
|
Post by horus on Oct 17, 2008 11:04:35 GMT -5
YES YES YES, it is a simple code for you all hahaha, but to people like me, I LOVE IT! Been looking for this code EVERYWHERE!
Thanks MATT!
|
|
Coriander
Trust me, I'm not normal.
Posts: 51
|
Post by Coriander on Oct 18, 2008 13:32:16 GMT -5
Does this code work if you have side tables? Because all of the ones that I have seen do not work when there are side tables and I need one that does.
|
|
Coriander
Trust me, I'm not normal.
Posts: 51
|
Post by Coriander on Oct 18, 2008 19:35:01 GMT -5
Never mind. I found another way without adding code.
|
|
|
Post by horus on Oct 19, 2008 19:09:29 GMT -5
Does this code work if you have side tables? Because all of the ones that I have seen do not work when there are side tables and I need one that does. Yup, well, it on my proboards, You can adjust the width of the side tables, and the with of your actual forum. And I get all of my codes off of this site. So yup.
|
|