Posts Tagged notes

Light text on dark background vs. readability

April 24 2008

A recent project has gotten me researching readability issues and I wanted to note this with regards to web readability, Light text on dark background vs. readability | 456 Berea Street

Tags:

Comments (+)

Web Design References

April 24 2008

Smashing Magazine is proving a treasure trove of print and web design tips and examples. The latest to catch my eye make reference to:

Tags: , , ,

Comments (+)

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.

Tags: , ,

Comments (+)

Finding ASP.Net Controls in Repeaters

March 26 2008

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.

Tags: , ,

Comments (+)

Title Attribute for Stylesheet Links

February 27 2008

This is one of those things that I never knew: Correctly Using Titles With External Stylesheets.

Apparently, adding a title attribute to an external stylesheet link makes browsers consider it a preferred stylesheet and will exclude any other externally linked stylesheets. Leaving out the title attribute from the link simply defaults it to persistent status, the default. Interesting because it could conceivably result in styles not getting applied; I imagine that this has come up before or will come up in the future.

Tags: ,

Comments (+)

Security Hurdle for Flash in IE

February 5 2008

A resolution for a “This page contains both secure and nonsecure items” Security Information dialog box that pops up in IE (6, 7) for pages that include a Flash SWF object: Security Information error in Internet Explorer. In my case, it was related to calling the javascript for SWFObject from a non-https directory.

Tags: , ,

Comments (+)

Calculated Field in Adobe Acrobat Form

January 30 2008

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:

Tags: , , , ,

Comments (+)

Note to Self: Working with Client-Side Script

January 24 2008

Working with Client-Side Script

Tags: , ,

Comments (+)