Admin
Forum Head
The Head Admin[M:0]
Just trying to help people out with coding stuff
Posts: 1,927
|
Post by Admin on Dec 18, 2009 13:07:44 GMT 12
Code Title:[CB] Rules for a thread Preview:It will come out like this if you kept the code how it is: LINE ONE
LINE TWO
LINK THREE
LINK FOUR ETC Browser Support:Cross Browser Description:Well While I was experimenting with a code i'm making now i thought that this would help for people wanting to write rules or a note to members for just a thread. Text would be centered and below the welcome table and pm bar. Code:<script type = "text/javascript"> <!-- //Rules for a thread //Made by [lUkE]™ // javacodez.proboards.comif (location.href.match(/thread= NUM/)) { document.write("<p> LINE ONE</p>"); document.write("<p> LINE TWO</p>"); document.write("<p> LINE THREE</p>"); document.write("<p> LINE FOUR</p>"); } //--> </script> Instructions:Where it's in red put the thread number. Where it's blue put the text you would like to appear. To make more text come repeat this: document.write("<p>text here</p>"); I know this is basic but thought it might help for anyone wanting this Put in the boards header and it should appear in the thread. Support Contacts:PM me. Updates:N/A
|
|
Mark
Junior JGFX Member
[M:0]
Posts: 122
|
Post by Mark on Jan 19, 2010 13:13:01 GMT 12
Cool code. You should try make it bigger and better.
|
|