The next specification of HTML is looming before us, with newer browsers, such as Firefox 3.5 beginning to implement more and more of the specification. One new element that may lend itself particularly well to implementations of the slider widget is the <audio>
(and potentially the <video>
) element. This element will automatically add controls that enable the visitor to play, pause, and adjust the volume of the media being played.
The default controls however, at this point anyway, do not appear to be style-able, so if we wish to change their appearance, we need to create our own controls. The slider widget would of course make an excellent substitution for the default volume control.
This next example should be considered highly experimental, and will, at the time of writing, work only in Firefox 3.5. Create the following new page in your text editor:
<!DOCTYPE HTML> <html lang="en"> <head> <link rel="stylesheet" type="text/css" href="development...