|
Well, this one is so much more complex then the last version, I'm going to need help testing. Its Advanced Category Splitter v3.0. Woo! Try out all the different settings. Its basically three different splitters in one. I think I've squashed every bug, but best to find out now. Main footers for those who don't know. <script type="text/Javascript"> // Advanced Category Splitter v3.0 by Chris // Do not redistribute without permission of the creator /* DO NOT EDIT THIS LINE */ var him = []; var fim = [];
// EDIT HERE var type = 1; // 1 = Original ACS type. Text in head image. // 2 = Head/Base images with cat name in normal row. // 3 = Head/Base images with cat name in the Forum Name row spot.
var markAsReadType = 1; // 0 = Mark as read button is not shown at all. // 1 = Mark as read button is in own row in final category. // 2 = Mark as read button is in the footer image underneath final category
him["URL"] = "http://iycatacombs.com/gbhd/grads/head.gif"; // URL of your header image. Required only if using type 1. him["height"] = 19; // Pixel height of your head image. Required if using a head image
fim["URL"] = "http://iycatacombs.com/gbhd/grads/foot.gif"; // URL of your footer image. Required only if markAsReadType is 2 fim["height"] = 19; // Pixel height of your base image. Required if using a footer image.
var forumName = 1; // 0 = Don't include the forum name row. Note: This can mess up the cell sizes. // 1 = Include the forum name row.
var defaultCats = [ // These are the category ids for the categoriess that will be hidden on the first time the page is viewed. Last one does not have a comma. "text" ];
var spacing = 15; // Space between the categories.
// DO NOT EDIT var aTB = document.getElementsByTagName("TABLE"); var isIE = (document.all?true:false);
if(!document.cookie.match(/debo=1/i)){ defaultCats.push("debo"); for(a=0;a<defaultCats.length;a++){ document.cookie = defaultCats[a]+"=1;expires="+(new Date()).toGMTString().replace(/\d{4}/,"2050"); } }
function hideShow(i){ var i2 = document.getElementById(i); i2.style.display = (i2.style.display=="none"?"":"none"); document.cookie = i+"="+(i2.style.display == ""?"0":"1")+";expires="+(new Date()).toGMTString().replace(/\d{4}/,"2050"); }
var div = document.createElement("DIV"); var sp = document.createElement("DIV"); sp.style.height = spacing;
if(location.href.match(/action=home$/i) || !location.href.match(/(action|board)=/i)) document.write("<script type='text/Javascript' src='http://www.iycatacombs.com/codes/acsv3/normal"+type+".js'><\/script>"); </script>
Last Edit: Jun 12, 2006 15:58:21 GMT by Chris
|
|
|
|