This code uses one background image for 3 distinct states: normal, selected and hover. The arrow is at the right side. This is a short code, but it can help you make the two levels menus that is quite nice for your website.
Need a color picker for your online web forms or web application? This advanced color picker is based on Yahoo's excellent UI library, more specifically, the slider widget. We've added additional code to help integrate the color picker with forms on your page, so clicking on specific form fields causes the selected color value to be populated inside them in real time. Furthermore, a color box is shown alongside the field to display the current input color in real time.
Some features: color hex code, color selector.
JavaScript language does not provide us a function for obtaining elements by class, only by id, name, and tag name. This JavaScript snippet will accomplish that, and includes optional arguments with defaults and support for multiple classnames in any order. It works in Internet Explorer, Firefox, Opera, Safari and Mac.
If your visitor is using Internet Explorer as their browser, this script will politely suggest Firefox as an alternative browser, maybe your users will remove IE like you; it is not windows notification, browser alert only. Just add it to the head of your page. Very simple!
Do you ever wonder how much you must pay for fuel/gas in a year? Use this simple gas cost calculator to find out how much you spend or calculate fuel/gas costs, cost average monthly and annually. In addition, this calculator will also compute the miles per gallon (MPG) for your vehicle.
This browser sniffer detects all the major browsers currently out there, and passes the results on as variables to facilitate your browser detection needs. It differentiates between Windows, Mac and Linux, and the most commonly used DHTML browsers - IE4/5/6, Netscape 4/6/7/other Gecko, Konqueror 2.2+, Safari, Opera 5/6/7. All other browsers are grouped together under a single exclude variable, to protect them from complex scripting.
Give and display the radio option to open links in either a new window or in the same window. Simple to set-up and completely unobtrusive.
In order to display detailed information about some object; such as member or product; you can use simple JavaScript code. This is upgraded version of Click Radio Button to View Information; this script display image for each item.
If you want to save the space on your web pages, let use this JavaScript. When users click any radio button, its corresponding information is automatically displayed. A simple and quick JavaScript but useful and high customization.
Also see: Click Radio Button to View Information with images
Let use this simple JavaScript if you want to use the DOM to include a cascading style sheet. Very simple to implement and customize.


03/07/2009
0
