conditional

Calling javascript function with different parameters, depending on which page I'm on

Hey there! I'm trying to get to learn som javascript/jQuery stuff, and I'm really struggling with this one. It's basically a question of structure – how to do things in the best possible way. I've got this function that randomly picks out a list item from one of three unordered lists (where all list items have been hidden), and shows i...

Linq join, group, count where count greater than value

I have the following linq expression that lets me join two tables, group them by a "DSCID", and then get a count of the grouped values: var qryGeoApppendCount = from a in append join g in geo on a.Field<string>("RNO") equals g.Field<string>("RNO") group g by g.Field<i...

Show ubercart attribute only if other attribute is checked

If you have a set of attributes that should only be available to a product (shown to the user and then selectable), if a certain other attribute is checked, how would one accomplish this? Andrew ...