iAlex
Junior Member
Posts: 73
|
Post by iAlex on Dec 19, 2007 19:52:25 GMT -5
Ok, well I don't know how many people are actually aware of the [noubbc][/noubbc] tags. But they are part of the default Proboards UBBC. Any UBBC that is put inbetween the [noubbc][/noubbc] tags will not take affect. E.g. [b]Because of the [noubbc] tags, this text is not bold![/b]Wow! Amazing isn't it? Anyway, this code will add a UBBC Icon with the others, that looks like this: . When clicked, it will add [noubbc][/noubbc] tags to the posting area. You may change the Image URL at the start of the code, or keep it as it is. Cross-Browser. Global Footers. Open Source. <script type="text/javascript"> <!--
/*No UBBC Tag - By iAlex - Open Source*/
var iDoesAnyoneEvenKnowAboutThisFunction = "http://img102.imageshack.us/img102/5506/noubbctq5.png" //No UBBC Icon
if(document.postForm){ var iSrslyDoubtIt=document.createElement('img'); iSrslyDoubtIt.src=iDoesAnyoneEvenKnowAboutThisFunction; iSrslyDoubtIt.border='0'; iSrslyDoubtIt.alt='NoUBBC'; var iMeanSrslyItIsRandom=document.createElement('a'); iMeanSrslyItIsRandom.href='javascript:add("[noubbc]","[/noubbc]")'; iMeanSrslyItIsRandom.appendChild(iSrslyDoubtIt); document.postForm.color.parentNode.parentNode.appendChild(iMeanSrslyItIsRandom); } //--> </script>[/size]
|
|
|
Post by Jeeeeeel on Feb 23, 2008 18:37:41 GMT -5
Ok, well I don't know how many people are actually aware of the [noubbc] [/noubbc] tags. But they are part of the default Proboards UBBC. Any UBBC that is put inbetween the [noubbc][/noubbc] tags will not take affect.[/quote] I never knew that. Thanks for the Code, iAlex.
|
|