Lost Soul Posted August 1, 2005 Share Posted August 1, 2005 ok peeps heres an update on what to do if you want things like change the colors of the category divder lines and the colors of the next and previous linesfirst off go to your wpiscripts folder and open boxes.js in an editorcategory divider color linesyoull find on line 112you can add the color command to that line and make it look like this to change its colorsthis is darkred in the example txt += ('<hr align="left" width="95%" color="#8B0000">\n');now to change the colors of the previous and next divider lines..this is a multiple line edit to do thisstarting with line 198 alter this tag to add or make it look like this example<hr size="1" color="#8B0000">notice all ive added was the color commandfollow up by adding the same command and color of choice in all hr command lines198203204208209and that should do it. to alter those line colors Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 2, 2005 Share Posted August 2, 2005 Could you expand on section 2???please just post what you have below this area://// This function creates a page-break and the virtual scrollbar// Link to comment Share on other sites More sharing options...
Lost Soul Posted August 2, 2005 Author Share Posted August 2, 2005 (edited) sure here it is //// This function creates a page-break and the virtual scrollbar//function backnext(li,colw,next, cols) { position = "boxes.js"; var txt = new String(); txt = ""; previ = li - 1; nexti = li + 1; var colwidth=Math.round(100/cols,2); txt += ('</td></tr>\n<tr class="rtclass"><td colspan="' + cols + '" height="100%" >' ); txt += ('<table class="tclass" height="100%" cellspacing=0 cellpadding=0><tr><td><hr size="1" color="#8B0000"></td>'); if (previ!=0) txt += ('<td class="backnext" align="center"><a class="backnext" href="#pg' + previ + '">Previous</a></td>');else txt += ('<td class="backnext"><hr size="1" color="#8B0000"></td>'); txt += ('<td width=20><hr size="1" color="#8B0000"></td>'); if (next) txt += ('<td class="backnext" align="center"><a class="backnext" href="#pg' + nexti + '">Next</a></td>'); else txt += ('<td class="backnext"><hr size="1" color="#8B0000"></td>'); txt += ('<td width=50><hr size="1" color="#8B0000"></td></tr></table>'); txt += ('</td></tr></table>'); if (next) { txt += ('<table class="tclass">'); txt += ('<tr class="rtclass"><td width="' + colwidth + '%" valign="top" nowrap>'); txt += ('<a name="#pg' + nexti + '"></a>'); } else txt+=('<table><tr><td>'); lasti= nexti; return txt;} Edited August 2, 2005 by Lost Soul Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 2, 2005 Share Posted August 2, 2005 Hey thanx. Link to comment Share on other sites More sharing options...
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