June 6, 2006
curvyCorners
curvyCorners is a free JavaScript program that will create on-the-fly rounded corners for any HTML DIV element, that look as good as any graphically created corners.
curvyCorners is a free JavaScript program that will create on-the-fly rounded corners for any HTML DIV element, that look as good as any graphically created corners.
A simple mix of Javascript and CSS that makes it ridiculously easy to incorporate sidenotes into your web pages or blogs. It even includes a handy set of colors (all set in CSS and tweak-able) to create that oh-so-subtle correlation between the sidenote and the relevant text.
The popular javascript debugger firefox extension has been updated to version 0.4 which adds major features such as:
JavaScript Debugger
Stack Traces with JavaScript Errors
Debug JavaScript Errors
Logging levels and assertions
printf-like String formatting
Check out the full release notes for more.
Although Javascript shouldn’t be classed as an object-oriented language, pretty much everything within it is object based; from DOM scripting (Document Object Model) through to specific built-in objects such as Image and Date. This basically means that we can adopt some OOP concepts but not all.
Shaun Inman has published an article discussing a new approach to handling the clearing of floated elements in CSS.
“What if we use JavaScript to determine when we’ve made a mistake and simply correct it? Instead of looping through all the contained elements, looking for the tallest and setting the containing elements’ height to [...]
The next generation of web apps make heavy use of JavaScript and CSS. This article, by Cal Henderson the lead developer of Flickr, shows you how to make those apps responsive and quick.
This is a handy reference for all the various getElementsBy*() JavaScript functions that are out there, from the DOM standard getElementById to the very advanced getElementsBySelector functions.
“I’ve put this together because it’s near impossible to write any useful scripts that use the DOM without these functions, and its nice to know the different methods available.”
I [...]
One of the biggest pains while writing JavaScript for the browser is targeting elements in the dom for manipulation. The normal method consists of putting unnecessary ID’s or Class attributes on elements and fetching them with getElementById() or getElementsByTagName() followed by a loop through the returned elements if there are more [...]
A small piece of javascript reads al SPAN tags, checks if it has class=”editText” and a id=. If that is true, it adds a onclick function. That onclick function will create a textfield or input (depending on the size of the editable text). Someone has the ability to edit the field. When the text field [...]
This is the third and final installment of A Designer’s Guide to Prototyping Ajax. In this installment Particletree shows us how to apply an event to an element and to target a specific element by its ID.