ShadedBorder with Gracefull Degradation

Yeah well, it was raining… And I’ll be on holiday for quite some days from Tuesday on – without any computer. So this weekend was kind of the perfect time to hack a little bit on my neat little fun project ShadedBorder.

The result: after version 0.3 yesterday, today comes version 0.4. 😉 The new features:

  • Graceful Degradation: If JavaScript is disabled, your page will look almost as good as if ShadedBorder could do its job.

Ellipsis or “truncate with dots” via JavaScript

posted in: css, javascript | 0

Internet Explorer comes with a nice CSS feature for truncating text by appending three little dots: text-overflow:ellipsis. Here’s a screen shot: Unfortunately text-overflow:ellipsis is no standard and not supported by Firefox, Opera, etc. With some JavaScript hacking however you can … Continued

Retrieving CSS styles via JavaScript

posted in: css, javascript | 0

Unobstrusive JavaScript is getting popular. Scripts are used to enrich a page’s look while the HTML source code remains pretty clean. Examples are jQuery, script.aculo.us, and of course RUZEE.Borders ;-). One important method is the retrieval of the current CSS … Continued