athomsen Posted August 1, 2005 Author Posted August 1, 2005 Well actually blinkdt it should be the following, you forgot the first change //insert checkbox and label// -- checkbox -- if (debugOn) txt += ('<font class="txt">' + i + '</font>\n');txt += ('<input type="checkbox" id="chkbox' + i + '" ');if (uid[i]==null || uid[i]==""){ txt += ('name="chkbox' + i + '" '); txt += ('onclick="checkCategory(this, \'' + cat[i] + '\');" ');}else { txt += ('name="' + uid[i] + '" '); txt += ('onclick="checkDeps(' + i + ');checkCategory(this, \'' + cat[i] + '\');" ');}txt += ('onMouseOver="qdh(prog[' + i + '],desc[' + i + '],Style[0]);" ');txt += ('onMouseOut="htm();"');txt += ('/>\n');// -- label --BTW blinkdt thanks for laying the ground work for the category feature. I was going to make one from scratch until I heard you had beat me to it .
Kelsenellenelvian Posted August 1, 2005 Posted August 1, 2005 So... If a check box is unchecked the category is unchecked.I am not getting this to work.When I uncheck a box the cat check box still stays checked>>>
athomsen Posted August 1, 2005 Author Posted August 1, 2005 (edited) I am going to update the first post with all of the correct changes and then after I unpack a new copy of WPI and add in all of the changs I will post the files as well. Hold on... Edited August 1, 2005 by athomsen
Kelsenellenelvian Posted August 1, 2005 Posted August 1, 2005 Thank you I want to release a fixed version tonight.
Lost Soul Posted August 1, 2005 Posted August 1, 2005 this code seems to be getting better and better
blinkdt Posted August 1, 2005 Posted August 1, 2005 I was going to make one from scratch until I heard you had beat me to itOh, you could have saved me the pain. I'm no scripter, you dah man! Keep up the great work, this is polishing up nicely.
athomsen Posted August 1, 2005 Author Posted August 1, 2005 (edited) My next mission is to make the category text clickable and to try to remove the rudundant (and sorry to say not so exact of a method) code to skip non checkbox inputs.But now I must actually go eat something! Edited August 1, 2005 by athomsen
Ghost82 Posted August 2, 2005 Posted August 2, 2005 Found another thing:The category selection box ignores exclusions. I have multiple versions of MSOffice on my disc and if I select the category right after loading WPI it selects ALL Office versions wich won't work during install...here's what I have:Office 2003 BasicOffice 2003 Business Contact Manager (BCM)Office 2003 Small Business Edition (SBE)Selecting Basic excludes both other Office versionsSelecting SBE excludes Basic but leaves BCM open for selectionSelecting BCM also selects SBE and excludes Basicall of this is good BUT: if I select the category checkbox (Office) then ALL versions get selected!!! Man this is a pain... All I can do for you is test but I'm not really a coder (time to fetch myself a workshop I guess )
athomsen Posted August 2, 2005 Author Posted August 2, 2005 (edited) I may not have time at work today but when I get home I will start to work on this issue.Keep the problems comin! Edited August 2, 2005 by athomsen
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