S

saveSettings() function, 73, 74 script element, 106 scripts, running, 100-101 scrollTo() command, 44 SELECT statement, 138 selectors (CSS)

building navigation, 21 defined, 6

hyperlink example, 7 pseudoclasses and, 25 semicolon (;), 10, 115 sessionStorage attribute currentDate value, 76, 81, 85 functionality, 72 PhoneGap example, 129 saving selected date, 75-76 setDate() function, 76 shell prompt ($), 105 slash (/), 3, 102 slideInSelector property, 69 slideUp() method, 88 slideupSelector property, 69 square bracket notation, 10 startupScreen property, 69 startWatchingShake() function, 138 statusBar property, 70 stopPropagation() method, 136 stopWatchingShake() function, 139 storage error code reference, 91 Web SQL Database, 76-89 Web Storage data, 71-76 string concatenation operator, 10 stylesheets applying, 8 preparing, 17-18 styling HTML pages adding CSS, 20-23 adding icons to home screens, 52 adding look and feel, 23-24 Ajax considerations, 33-38 automatic scroll-to-top, 44 Back button app, 46-52 controlling page scaling, 19 first steps, 14 handling long titles, 43 hijacking local links, 45 jQuery support, 25-30 preparing stylesheets, 17-18 progress indicator, 38-40 setting general site-wide styles, 20 setting page title, 41-42 testing considerations, 13 traffic cop app, 33-38 submitSelector property, 70 swapSelector property, 70 SYNTAX_ERR error code, 91

0 0

Post a comment