The Web Wizard’s Guide To JavaScriptChapter 9Applied Web Programming TechniquesChapter Objectives?To learn how to use a triple nested loop to generate an interactive table of Web-safe colors ?To discover how bine JavaScript with client-side image mapping to enhance the user interface of your Web pages ?To find out how to detect the visitor’s browser and platform ?To understand how to change the text displayed in the visitor’s status bar to provide your own content ?To learn how to create scrolling text in a text field ?To get a glimpse of how Dynamic HTML and Cascading Style Sheets can boost the power of your JavaScript programmingGenerating Content with Nested Looping?You can use a short group of nested loops to create lengthy plex tables that include background colors and JavaScript code. ?When you include quotes within quotes within quotes, you may need to escape the most deeply nested quote using the backslash character. JavaScript and Client-Side Image Mapping?By using client-side image maps with JavaScript, you can create novel pelling user interfaces that involve substantial interactivity. ?You can use pseudo-URLs and onclick handlers to execute JavaScript code when links and map areas are Detection?Browser detection is often necessary to deliver different content for different browsers and platforms.?Browser detection scripts (sniffers) are ideal candida
the web wizard’s guide to javascript 来自淘豆网www.taodocs.com转载请标明出处.