totalactivism Posted March 10, 2005 Posted March 10, 2005 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
hasi001 Posted March 16, 2005 Posted March 16, 2005 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; }
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now