August 1, 200521 yr Author 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 .
August 1, 200521 yr 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>>>
August 1, 200521 yr Author 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, 200521 yr by athomsen
August 1, 200521 yr 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.
August 1, 200521 yr Author 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, 200521 yr by athomsen
August 2, 200521 yr 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 )
August 2, 200521 yr Author 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, 200521 yr by athomsen
Create an account or sign in to comment