Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Locked Topic
[Solved]can some one help please
Topic Started: May 8 2008, 12:28 PM (304 Views)
FITZ
Member
[ * ]
can someone take this invisionfree code that i use all that time and try to convert it to make it work for ZB please

Code:
 
<script type="text/javascript">
<!--
/* add section to the statistics on the index
code by Stefan */

newSectionPosition = 4
newSectionTitle = 'Text Links'
newSectionImage = 'http://i5.ifrm.com/11773/23/upload/p1943141.gif'
newSectionContent = '<a href="http://bigboardsresources.com/index.php?showtopic=2833" title="Your Link" alt="Your Link">Place your text link here!</a>'

e = document.getElementsByTagName('DIV')
for (n = 0; n < e.length; n++) {
if (e[n].className == 'maintitle' && e[n].innerHTML == 'Board Statistics') {
for (tbl = e[n].nextSibling; tbl && tbl.nodeName != 'TABLE'; tbl = tbl.nextSibling);
if (tbl) {
np = (newSectionPosition - 1) * 2
nr = tbl.insertRow(np)
nc = nr.insertCell(-1)
nc.className = 'pformstrip'
nc.innerHTML = newSectionTitle
nc.colSpan = 2
nr = tbl.insertRow(np + 1)
nc = nr.insertCell(-1)
nc.className = 'row2'
nc.innerHTML ='<img src="' + newSectionImage + '">'
nc = nr.insertCell(-1)
nc.className = 'row4'
nc.innerHTML = newSectionContent
}
break
}}
// -->
</script>
Edited by FITZ, May 8 2008, 12:28 PM.
Offline Profile Goto Top
 
Nicola
Darth Vader's Sewing Instructor
[ *  *  *  *  *  *  * ]
Sorry but this does not fall under the purpose of this forum.

Plus, if you'd checked the code index: http://support.zetaboards.com/topic/174521/
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Coding & Modifications · Next Topic »
Locked Topic