Ouch! Don't use non-standard fonts for things that don't make sense in others!
I don't quite get what you're attempting to do with this. First you said "points," but then you gave an example of "25%?" You want to give a percentage of a total amount of points? Or you want to start with a set number of points then deduct from those points using a percentage system?

02-09-2006, 09:43 PM

julmado

Thank you for the reply, Twey.

I see now how imprecise my first sentence is.

The end result would be that, for each task accomplished (radio button on yes), a certain percentage is added in the the textbox (and so to the total).

It's killing me that Opera doesn't display Dings, I've used it for years and always touted its strict compliance to web standards.

Used PNG's instead of fonts and now it looks better in Opera that IE for some reason..

Your markup is overly complex, as a result, my script probably is too. Really though, this sort of thing should be done server side unless cheating isn't an issue and client side javascript enabled is highly likely. Your images would look better with transparent backgrounds, that way they will blend in on all browsers:

I can't thank you enough jscheuer1, this is precisely what I wanted to do.

Just change the "value" variables and voila.

Just for the sake of curiosity, how much time did it take to type up such a script?

I should really crack open a JS book some time.

Once again, many thanks and respect.

02-10-2006, 06:04 PM

jscheuer1

The script was the easy part. I would like to repeat that this should be done server side (something I'm not much up on) unless, it is OK if folks cheat (they would only be cheating themselves, that sort of thing) and you can be reasonably sure folks will have javascript enabled - like telling them it is required for the link to this 'self evaluation' form.