Posts Tagged notes
April
24
2008
Written by: hipsterdoofus at 2:27 pm in the Web Development category.
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: notes
April
24
2008
Written by: hipsterdoofus at 1:45 pm in the Web Development category.
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: notes, tips, typography, writing
April
2
2008
Written by: hipsterdoofus at 2:13 pm in the Web Development category.
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: css, notes, programming
March
26
2008
Written by: hipsterdoofus at 3:59 pm in the Web Development category.
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: asp.net, notes, programming
February
27
2008
Written by: hipsterdoofus at 2:02 pm in the Web Development category.
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: css, notes
February
5
2008
Written by: hipsterdoofus at 12:00 pm in the Web Development category.
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: Flash, notes, SWFObject
January
30
2008
Written by: hipsterdoofus at 4:53 pm
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: Acrobat, javascript, notes, programming, snippet
January
24
2008
Written by: hipsterdoofus at 3:16 pm in the Web Development category.
Working with Client-Side Script
Tags: asp.net, notes, programming