Jump to content

Recommended Posts

Posted

under every catagory there is a line brake it looks like that goes across the screen about 90% for where it starts.

I really want to remove wpi from creating one of these (or even making it 0px in hight) after every diffrent catagory or at all.

please let me know if you can help.

thanks


Posted

copy the vaio-theme's category.htm to the default theme's folder and edit it to your like. when no category.htm is found in a theme folder, the default fom boxes.js is taken (catch clause):

function CategoryHeader(category)
{
 var tf, strfile;
var txt=new String(); txt = "";
 var line = new String(); line="";
 var ex;

 strFile = WPIPath() + "themes\\" + theme + "\\category.htm";
try {
 tf = fso.OpenTextFile(strFile, 1);  
 while (!tf.AtEndOfStream)
 {
   line = tf.ReadLine();
 txt += line;  
 }
}
catch (ex) {
 txt = ('<div class="category">' + category + '</div><hr align="left" width="95%">\n');
}
finally { if (tf) tf.Close(); }
txt = txt.replace(/%CATEGORY%/gi,category);
return txt;
}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...