Post by raisingdad on Nov 14, 2004 19:59:12 GMT
Live Preview
Its a little a redesign of the Main Page Boards.
The coding isn't perfect , and tidy but
Slight side-effect , is some Black Lines with TD's I didn't wanna show.
Main Footer
<script>
//Created By WebMasterX - Released For Use On Proboards/Sudden Launch/ConForums
//This code cannot be reposted outside SSD/ZD , or Modified by anybody other than WebMasterX
var cHL = '000000';
var TD = document.getElementsByTagName("TD");
for(t=0;t<TD.length;t++){
if(TD[t].width=="8%" && TD[t].className.match("windowbg") && TD[t+1].width=="66%"){
var Topics = TD[t+2].innerHTML
var Posts = TD[t+3].innerHTML
var BoardInfo = TD[t+1].innerHTML
var LastPost = TD[t+4].innerHTML
var OnOff = TD[t].innerHTML
TD[t+3].style.display = "none";
TD[t+1].width="60%"
TD[t+2].width="22%"
TD[t].width="5%"
TD[t].innerHTML= OnOff
TD[t].className="windowbg";
TD[t+1].innerHTML = BoardInfo
TD[t+1].className="windowbg2";
TD[t+2].innerHTML= LastPost
TD[t+2].className="windowbg";
TD[t+2].align="left"
TD[t+4].className="windowbg2";
TD[t+4].innerHTML="Topics: "+Topics+" Posts: "+Posts+"<br \>"
TD[t+4].width="26%"
}
if(TD[t].className.match("titlebg") && TD[t].innerHTML.match("Forum Name")){
TD[t+1].width="60%"
TD[t+2].width="22%"
TD[t].width="5%"
TD[t].style.display = "none";
TD[t+1].style.display = "none";
TD[t+2].style.display = "none";
TD[t+3].style.display = "none";
TD[t+4].align="left";
}
if(TD[t].width=="60%" && TD[t].className=="windowbg2"){
TD[t].onmouseover=function(){
this.style.backgroundColor=cHL;
this.style.cursor='default';}
TD[t].onmouseout=function(){
this.style.backgroundColor=this.bgColor;
}}}
</script>
"Normal Cell Highlights will not work , so use that "
I will add some support for Other Cell Highlights , like "Last Post Cell Highlight" which will not work with this.
Now , this is a kinda big re-design , and will cause some Compatability issues , with some scripts.
If you post in Support , you will most likely receive the help you need , Cell Highlight is builtin to this.
Its a little a redesign of the Main Page Boards.
The coding isn't perfect , and tidy but
Slight side-effect , is some Black Lines with TD's I didn't wanna show.
Main Footer
<script>
//Created By WebMasterX - Released For Use On Proboards/Sudden Launch/ConForums
//This code cannot be reposted outside SSD/ZD , or Modified by anybody other than WebMasterX
var cHL = '000000';
var TD = document.getElementsByTagName("TD");
for(t=0;t<TD.length;t++){
if(TD[t].width=="8%" && TD[t].className.match("windowbg") && TD[t+1].width=="66%"){
var Topics = TD[t+2].innerHTML
var Posts = TD[t+3].innerHTML
var BoardInfo = TD[t+1].innerHTML
var LastPost = TD[t+4].innerHTML
var OnOff = TD[t].innerHTML
TD[t+3].style.display = "none";
TD[t+1].width="60%"
TD[t+2].width="22%"
TD[t].width="5%"
TD[t].innerHTML= OnOff
TD[t].className="windowbg";
TD[t+1].innerHTML = BoardInfo
TD[t+1].className="windowbg2";
TD[t+2].innerHTML= LastPost
TD[t+2].className="windowbg";
TD[t+2].align="left"
TD[t+4].className="windowbg2";
TD[t+4].innerHTML="Topics: "+Topics+" Posts: "+Posts+"<br \>"
TD[t+4].width="26%"
}
if(TD[t].className.match("titlebg") && TD[t].innerHTML.match("Forum Name")){
TD[t+1].width="60%"
TD[t+2].width="22%"
TD[t].width="5%"
TD[t].style.display = "none";
TD[t+1].style.display = "none";
TD[t+2].style.display = "none";
TD[t+3].style.display = "none";
TD[t+4].align="left";
}
if(TD[t].width=="60%" && TD[t].className=="windowbg2"){
TD[t].onmouseover=function(){
this.style.backgroundColor=cHL;
this.style.cursor='default';}
TD[t].onmouseout=function(){
this.style.backgroundColor=this.bgColor;
}}}
</script>
"Normal Cell Highlights will not work , so use that "
I will add some support for Other Cell Highlights , like "Last Post Cell Highlight" which will not work with this.
Now , this is a kinda big re-design , and will cause some Compatability issues , with some scripts.
If you post in Support , you will most likely receive the help you need , Cell Highlight is builtin to this.