Post by Singular on Dec 13, 2006 21:44:45 GMT -5
This will add a button in the menu bar that links to your blank page. The blank page will have options like an option to center etc. You will not be able to post if you use this code. I updated the version so now you can use all of the HTML that you want and all of the "quotes" that you want!
Preview: Here
Global HEADERS
<script type="javascript">
<!--
var URL = "LINK URL"; // URL of link in menu
var image = "IMG URL"; // URL of image in menu
document.getElementsByTagName('td')[5].innerHTML += '<a href="'+URL+'"><img src="'+image+'" border="0"></a>';
//-->
</script>
BOARD FOOTERS Note: This must be placed in a BOARD footer
<span id="pageContent" style="display: none">
<!-- Make a New Page 0.2 by Singular //-->
CONTENT GOES HERE
</span>
<script type="text/javascript">
<!--
/* Make a New Page 0.2 by Singular
v4studios.proboards32.com/
Please Keep this Intact and Please Don't Repost */
var putInTable = "Yes"; // Put Content in a Table? (Yes or No)
var tableTitle = "New Page"; // Title of table (if it is marked yes)
var centerText = "Yes"; // Center Text? (Yes or No)
// Don't Edit Below
var pageContent = document.getElementById("pageContent").innerHTML
if (centerText == "Yes") {
centerText = "<center>"; } else {
centerText = ""; }
if (putInTable == "Yes") {
putInTable = '<table border="0" width="100%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td width="100%" class="titlebg"><font size="2"><center><b>'+tableTitle+'</b></center></font></td></tr><tr><td width="100%" class="windowbg"><font size="2">';
} else {
putInTable = ""; }
var td = document.getElementsByTagName('td');
for (a=0;a<td.length;a++) {
if (td.width=="100%" && td.innerHTML.match(/Currently,|Sub/)) {
td.innerHTML = "<br><br>"+putInTable+centerText+pageContent+" </td></tr></table></td></tr></table><br><br>";
}
}
//-->
</script>
Edit RED
You Can Edit GREEN
Remember to not put this code in your Global Footer.
Preview: Here
Global HEADERS
<script type="javascript">
<!--
var URL = "LINK URL"; // URL of link in menu
var image = "IMG URL"; // URL of image in menu
document.getElementsByTagName('td')[5].innerHTML += '<a href="'+URL+'"><img src="'+image+'" border="0"></a>';
//-->
</script>
BOARD FOOTERS Note: This must be placed in a BOARD footer
<span id="pageContent" style="display: none">
<!-- Make a New Page 0.2 by Singular //-->
CONTENT GOES HERE
</span>
<script type="text/javascript">
<!--
/* Make a New Page 0.2 by Singular
v4studios.proboards32.com/
Please Keep this Intact and Please Don't Repost */
var putInTable = "Yes"; // Put Content in a Table? (Yes or No)
var tableTitle = "New Page"; // Title of table (if it is marked yes)
var centerText = "Yes"; // Center Text? (Yes or No)
// Don't Edit Below
var pageContent = document.getElementById("pageContent").innerHTML
if (centerText == "Yes") {
centerText = "<center>"; } else {
centerText = ""; }
if (putInTable == "Yes") {
putInTable = '<table border="0" width="100%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" border="0" width="100%"><tr><td width="100%" class="titlebg"><font size="2"><center><b>'+tableTitle+'</b></center></font></td></tr><tr><td width="100%" class="windowbg"><font size="2">';
} else {
putInTable = ""; }
var td = document.getElementsByTagName('td');
for (a=0;a<td.length;a++) {
if (td.width=="100%" && td.innerHTML.match(/Currently,|Sub/)) {
td.innerHTML = "<br><br>"+putInTable+centerText+pageContent+" </td></tr></table></td></tr></table><br><br>";
}
}
//-->
</script>
Edit RED
You Can Edit GREEN
Remember to not put this code in your Global Footer.