Posts Tagged ‘JavaScript’

jQuery UI Carousel 0.3.0

This is the first release of my jQuery UI Carousel.

At LBi Towers our JavaScript current library of choice is jQuery and where necessary we leverage the widgets of jQuery UI. Although there are a number of jQuery Carousel plugins there isn’t an official jQuery UI Carousel widget, which is an unfortunate omission as carousel’s tend to be a common requirement of site development.

To investigate jQuery UI widget development and fulfill this requirement i took some time to build this initial jQuery UI Carousel widget. Version 0.3.0 is the first release, it contains the basic functionality of a carousel and has been included in a current project i can only call “The Sceptre of Rajim” and yes at LBi Towers we have a fixation with M.A.S.K episode names.

(more…)

Supporting HTML5 elements without JavaScript

HTML5 is the newest standard for HTML development, it has a range of additional features that will change the way we interact with the web. This is great for web development, there is a problem though, older browser versions specifically IE 6, 7 and 8 do not support the new HTML5 elements so that you cannot attach CSS to those elements.

Fortunately Sjoerd Visscher, Remy Sharp and John Resig amongst others have promoted a technique in mitigating this problem by using JavaScript to create a new DOM element of the same name as the required HTML 5 element, this then allows the browser to attach CSS to the element.

The fundamental problem of this though is that you are reliant on JavaScript for this to work and if the new elements have a structural role in the design then your design is going to fall apart.

(more…)