Jump to content

Recommended Posts

Posted

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 :angry: .

;)


Posted (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 by athomsen
Posted
I was going to make one from scratch until I heard you had beat me to it

Oh, you could have saved me the pain. :P I'm no scripter, you dah man! Keep up the great work, this is polishing up nicely.

Posted (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! :lol:

Edited by athomsen
Posted

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 Basic

Office 2003 Business Contact Manager (BCM)

Office 2003 Small Business Edition (SBE)

Selecting Basic excludes both other Office versions

Selecting SBE excludes Basic but leaves BCM open for selection

Selecting BCM also selects SBE and excludes Basic

all of this is good BUT: if I select the category checkbox (Office) then ALL versions get selected!!! :angry: 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 ;) )

Posted (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 by athomsen

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...