1. Trang chủ
  2. » Giáo án - Bài giảng

javascript in 10 simple steps or less (2004)

647 5,6K 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 647
Dung lượng 13,89 MB

Nội dung

[...]... Searching for Text in Strings Task 17: Replacing Text in Strings Task 18: Formatting Strings Task 19: Applying Multiple Formatting Functions to a String Task 20: Creating Arrays Task 21: Populating an Array Task 22: Sorting an Array Task 23: Splitting a String at a Delimiter Task 24: Calling Functions xix 1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 xii JavaScript in 10 Simple Steps. .. Strings Searching for Text in Strings Replacing Text in Strings Formatting Strings Applying Multiple Formatting Functions to a String Creating Arrays Populating an Array Sorting an Array Splitting a String at a Delimiter Calling Functions Alerting the User Confirming with the User Creating Your Own Functions Passing an Argument to Your Functions Returning Values from Your Functions Passing Multiple... Ordering in HTML Task 255: Changing Layer Placement and Size in JavaScript Task 256: Changing Layer Visibility in JavaScript Task 257: Changing Layer Ordering in JavaScript Task 258: Fading Objects Task 259: Creating a Page Transition in Internet Explorer Task 260: Installing the X Cross-Browser Compatibility Library Task 261: Showing and Hiding Elements with X Task 262: Controlling Stacking Order... for New Browser Windows Task 123: Determining the Availability of Scroll Bars for New Browser Windows Task 124: Restricting Resizing of New Browser Windows Task 125: Loading a New Document into a Browser Window Task 126: Controlling Window Scrolling from JavaScript Task 127: Opening a Full-Screen Window in Internet Explorer Task 128: Handling the Parent-Child Relationship of Windows Task 129: Updating... 346 xvi JavaScript in 10 Simple Steps or Less Task 168: Controlling Line Height in CSS Task 169: Creating Drop Shadows with CSS Task 170: Modifying a Drop Shadow Task 171: Removing a Drop Shadow Task 172: Placing a Shadow on a Nonstandard Corner Task 173: Managing Z-Indexes in JavaScript Task 174: Setting Fonts for Text with CSS Task 175: Setting Font Style for Text with CSS Task 176: Controlling Text... Creating a script Block Hiding Your JavaScript Code Providing Alternatives to Your JavaScript Code Including Outside Source Code Commenting Your Scripts Writing a JavaScript Command Temporarily Removing a Command from a Script Using Curly Brackets Writing Output to the Browser Creating a Variable Outputting a Variable Creating a String Creating a Numeric Variable Performing Math Concatenating Strings... illustrate the basics of creating scripts and using JavaScript Part 2: Outputting to the Browser This part covers some core techniques for using JavaScript to generate dynamic output to the browser window, including outputting dynamic values such as dates xx JavaScript in 10 Simple Steps or Less Part 3: Images and Rollovers Using JavaScript, you can manipulate images, producing effects such as rollover... provide additional information you might find helpful note tip caution cross-reference The Note icon is used to provide additional information or help in working in JavaScript The Tip icon is used to point out an interesting idea or technique that will save you time, effort, money, or all three The Caution icon is used to alert you to potential problems that you might run into when working in JavaScript Although... Object in Drag and Drop Task 210: Changing Cursor Styles Task 211: Determining the Current Scroll Position Task 212: Creating an Expanding/Collapsing Menu Task 213: Creating a Highlighting Menu Using Just Text and CSS—No JavaScript Task 214: Creating a Highlighting Menu Using Text, CSS, and JavaScript Task 215: Placing Content Offscreen Task 216: Sliding Content into View Task 217: Creating a Sliding... Creating Multiple Form Submission Buttons Using INPUT TYPE=”button” Buttons Task 108 : Reacting to Mouse Clicks on Buttons Task 109 : Using Graphical Buttons in JavaScript Task 110: Controlling the Form Submission URL Task 111: Validating a Numeric Text Field with Regular Expressions Task 112: Encrypting Data before Submitting It Task 113: Using Forms for Automatic Navigation Jumping Part 5: Manipulating . Form in Another Browser Window 268 Task 131: Closing a Window in JavaScript 270 Task 132: Closing a Window from a Link 272 xiv JavaScript in 10 Simple Steps or Less 01 542419 FM.qxd 11/19/03 10: 22. 10: 28 AM Page i 01 542419 FM.qxd 11/19/03 10: 28 AM Page ii JavaScript TM in 10 Simple Steps or Less Arman Danesh 01 542419 FM.qxd 11/19/03 10: 28 AM Page iii JavaScript TM in 10 Simple Steps or. alt="" JavaScript TM in 10 Simple Steps or Less Arman Danesh 01 542419 FM.qxd 11/19/03 10: 28 AM Page iii 01 542419 FM.qxd 11/19/03 10: 28 AM Page ii JavaScript TM in 10 Simple Steps or Less 01

Ngày đăng: 28/04/2014, 15:44

TỪ KHÓA LIÊN QUAN