вторник, 6 марта 2012 г.

The Latest Scripts from JavaScript Source

Image Effects: Fader - This script demonstrates several techniques for fading the background of selected HTML components such as buttons, text boxes, and page backgrounds, from one color to another.

Cookies: Daily Welcome Cookie - This script sets a cookie, with an alert window that only comes up the first time you visit the page each day. Good for calling attention to daily specials and news updates. Can be configured to work in other ways also.

Games: JsTetris - A Tetris-clone game. Does not require images. Keeps tracks of high game scores, using a cookie.

Forms: Image Upload Preview - This script is intended for forms where the user needs to upload an image to a Web site. The image is displayed on the page for previewing before uploading. The display will be resized if needed so as not to break the page layout. Valid file types are set in the script; others will be disallowed. Works only in Internet Explorer but degrades gracefully.

Navigation: Link Listing - Display a list of the links on your Web page. Using CSS, you can select which ones to display. The list includes the URL and link title. Useful as a cross-reference listing. You will need to add the 'title' attribute and 'class="link"' to each link you want displayed. test Obama Bush