Marthax Posted March 6, 2005 Posted March 6, 2005 Hi everyone!I checked through the default config.js file and then executed it to get the hang of how everything works when using WPI. I managed to add programs and create categories, but one thing I can't seem to resolve is how to make the underline to a category shorter. Right now, the line is across the whole screen instead of being shorter and leaving some space for other categories. I've checked through a lot of posts that some of you have made and everyone uses this except me. I know that I'm missing some kind of command, but which one is it?Thanks in advance!Marthax
blinkdt Posted March 19, 2005 Posted March 19, 2005 @MarthaxI'm using an older version of WPI, but I was able to make the change by editing the "boxes.js" file found in wpiscripts. Look for the following://c h a n g e category header info here { txt += ('<div class="category" color="red">' + cat[i][0] + '</div><hr align=\"left\" width=73% color=\"18339F\">'); oldcat = cat[i][0]; cats += 2; }I added the comment "//c h a n g e category header info here" and then changed the width= value to 73% for my purposes. I may have also changed the color and alignment values. Play with the width value and I think you will achieve success. Good luck.
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