|
Post by Wormopolis on Aug 18, 2009 17:21:12 GMT -8
<script type="text/javascript"> <!-- // HTML injection between boards and IC // By Wormopolis // wormocodes.proboards.com// insert something between boards and info center // creates a DIV with id="betweener" that can be used later. if (true) { for (bcls=document.getElementsByTagName('b'), i=0; i<bcls.length; i++) { if (bcls .innerHTML.match(/Info Center/i) && bcls.parentNode.className=="text1" && bcls.parentNode.parentNode.className=="titlebg") { ICtable=bcls.parentNode.parentNode.parentNode.parentNode.parentNode; ICtable=ICtable.parentNode.parentNode.parentNode.parentNode; nwDiv=document.createElement('div'); nwDiv.id="betweener"; nwDiv.width="100%"; ICtable.parentNode.insertBefore(nwDiv, ICtable); break; } } } // --> </script>
At this point you can either have a script move an existing element inside the DIV "betweener", or you can use a document.write statement to insert directly into it.
|
|