The Highly Extensible CSS Interface
April 2 2008
Something for me to read: The Highly Extensible CSS Interface. I’ve been meaning to spend more time learning additional web development technologies and this link seems along those lines.
Comments (+)
Something for me to read: The Highly Extensible CSS Interface. I’ve been meaning to spend more time learning additional web development technologies and this link seems along those lines.
Comments (+)
Note to myself about how to programmatically reference asp.net controls nested in a repeater (among other) web control, In Search Of ASP.Net Controls.
Specifically, I reference the “Finding Controls In Headers and Footers” section. There are descriptions of how to more generally use the FindControl method.
Comments (+)
Useful looking bookmarklet that gives you access to a web page based grid and rulers, a point-to-point measurement tool, or crosshairs for gathering page coordinates: Allan Jardine | Design. Akin to the Web Developer’s Toolbar as far as usefulness for the web developer.
Comments (+)
This is a note to myself about the javascript syntax needed to calculate a textbox field on an order form I created. For this example, the price per item is based on the quantity entered via textbox (”text_1″), calculated according to a fixed table that I’ve hard coded. Setting the Event.value property displays the result in the specified textbox.
var qty = this.getField("text_1").value;
var price = 0;
if (qty > 750) {
price = 275;
} else if (qty >375) {
price = 300;
} else if (qty >175) {
price = 325;
} else if (qty >75) {
price = 350;
} else if (qty >25) {
price = 375;
} else if (qty >1) {
price = 400;
} else {
price = 500;
}
Event.value = (qty*price);
This code should be added in the Acrobat form text field properties under the “Calculate” tab. Select “Custom Calculation Script”, press the “Edit” button, and add the javascript.
Reference:
Comments (+)
Working with Client-Side Script
Comments (+)