DHTML and CSS advanced Visual QuickPro Guide 0321266919, 9780321266910

Exploring the advanced DHTML and CSS programming techniques, this work covers topics ranging from standards and accessib

574 137 10MB

English Pages xiv, 424 pages illustrations 23 cm [441] Year 2004;2005

Report DMCA / Copyright

DOWNLOAD FILE

DHTML and CSS advanced Visual QuickPro Guide
 0321266919, 9780321266910

Table of contents :
Cover......Page 1
Contents......Page 6
Introduction......Page 10
Chapter 1: Creating a Dynamic Web Site......Page 16
What Makes a Web Site Dynamic?......Page 18
Understanding Layout on the Web......Page 20
Creating an Accessible Web Site......Page 23
Understanding Hypertext, Navigation, and Controls......Page 25
Navigation Dos and Don'ts......Page 27
Dynamic by Design......Page 30
The Four Ds of Web Design......Page 31
Chapter 2: Mastering CSS......Page 42
The Myths of CSS......Page 43
Building Your Style Sheets......Page 45
Web Typography: Beyond Times and Arial......Page 48
Creating Web Pages for Print......Page 52
Building a Master Style Sheet......Page 54
Understanding CSS Shorthand......Page 56
Using Grouping and Context......Page 58
Fixing CSS Browser Inconsistencies......Page 60
CSS Beyond Internet Explorer 6......Page 63
Chapter 3: Advanced DHTML Techniques......Page 70
Setting Up and Accessing Arrays......Page 71
Changing an Array......Page 76
Sorting an Array......Page 79
Working with Data Objects......Page 84
Storing Data in Frames......Page 86
Storing Data in URLs......Page 93
Storing Data in Cookies......Page 99
Delaying or Stopping an Action......Page 106
Handling Errors on the Fly......Page 109
Chapter 4: Content......Page 112
Preloading Images......Page 113
Adding External Content with iframes......Page 115
Adding External Content Using Server-Side Includes......Page 117
Adding External Content with JavaScript......Page 119
Viewing Someone Else's External JavaScript or CSS......Page 121
Adding External Content with PHP......Page 124
Inserting a New Element......Page 126
Inserting a New Text Element......Page 129
Inserting a New iframe Element......Page 131
Removing an Element......Page 133
Including Random Content......Page 135
Including Multiple Pages in a Single Page......Page 137
Including a Clock......Page 140
Chapter 5: Layout......Page 144
Creating Simple Columns......Page 145
Creating Balanced Columns......Page 148
Creating Graphic Background Columns......Page 152
Creating Contextual Layouts......Page 156
Centering Layouts Horizontally and Vertically......Page 160
Creating Curved Text Wrapping......Page 162
Creating Curved Borders......Page 165
Creating a Drop Shadow Around an Element......Page 169
Creating a Frame Drop Shadow......Page 173
Keeping Pages Framed......Page 177
Switching Layouts on the Fly......Page 181
Highlighting Table Rows......Page 184
Chapter 6: Navigation......Page 188
Working with Link Styles......Page 189
Creating an HTML Text Graphic Button......Page 197
Creating Tabbed Navigation......Page 201
Adding a Simple Menu......Page 204
Adding a Fixed Drop-down Menu......Page 207
Adding a Floating Menu Bar......Page 215
Adding a Clipping Menu......Page 218
Adding a Jump Menu......Page 227
Adding Pop-up Menus......Page 230
Educating the Browser......Page 235
Chapter 7: Controls......Page 238
Creating Customized Browser Controls......Page 239
Creating a Sortable Table......Page 243
Adding Font Size Controls......Page 248
Creating a Scrollable Area......Page 254
Animating Scroll Controls......Page 257
Adding a Calendar Date Picker......Page 264
Adding QuickTime Video Controls......Page 270
Opening and Closing Frames......Page 274
Chapter 8: Forms......Page 284
Styling Forms......Page 285
Highlighting Form Fields......Page 291
Auto-Focusing Form Fields......Page 297
Performing Form Validation......Page 301
Creating Contextual Forms......Page 305
Creating Contextual Form Data......Page 309
Restricting a Form Field's Content......Page 313
Disabling Form Controls......Page 316
Creating Graphic Form Controls......Page 320
Chapter 9: Special Effects......Page 324
Creating Transparent Layers......Page 325
Creating Text Drop Shadows......Page 329
Floating Objects......Page 332
Adding a GIF Animation......Page 335
Adding Ambient Sound......Page 341
Creating Transparent Graphics in PNG Format......Page 343
Special Effects in Internet Explorer for Windows......Page 348
Chapter 10: Databases......Page 354
Understanding XML......Page 355
Accessing XML Data in Internet Explorer for Windows......Page 357
Accessing XML Data with Mozilla and Internet Explorer......Page 360
Understanding MySQL......Page 364
Creating Database Objects in MySQL......Page 365
Understanding PHP......Page 367
Using PHP with MySQL......Page 368
Adding Comments to the PHP Blog......Page 371
Adding a Comments Input Form......Page 375
Adding an Administrator Page......Page 381
Creating a Secure Blog Entry Input Form......Page 386
Appendix A: CSS Quick Reference......Page 390
Adding Styles......Page 391
Selectors: HTML, Classes, IDs......Page 393
Grouping Styles......Page 394
Properties and Values......Page 395
Appendix B: DHTML Quick Reference......Page 404
The DOM......Page 405
Events......Page 406
Properties and Values......Page 407
Reserved Words......Page 410
Appendix C: WAI Accessibility Checklist......Page 412
Priorities......Page 413
Priority 1 Checkpoints......Page 414
Priority 2 Checkpoints......Page 416
Priority 3 Checkpoints......Page 418
Appendix D: Browser-Safe Fonts......Page 420
A......Page 426
C......Page 427
D......Page 429
E......Page 430
F......Page 431
H......Page 432
I......Page 433
M......Page 434
P......Page 435
S......Page 436
T......Page 437
V......Page 438
Y-Z......Page 439

Polecaj historie