CITATION

Nixon, Robin. Plug-In JavaScript 100 Power Solutions. US: McGraw-Hill Osborne Media, 2010.

Plug-In JavaScript 100 Power Solutions

Authors:

Published:  October 2010

eISBN: 9780071738620 0071738622 | ISBN: 9780071738613
  • Contents
  • Acknowledgments
  • Introduction
  • 1 Making the Best Use of These Plug-ins
  • Downloading and Installing Web Browsers
  • Choosing a Program Editor
  • Managing Ajax
  • Older Versions of Microsoft Internet Explorer
  • Emulating Internet Explorers 6 and 7
  • The Companion Website
  • Including All the Plug-ins
  • Including Single Plug-ins
  • Where to Include the JavaScript
  • Cherry Picking Code Sections
  • Bug Fixing and Reporting
  • Waiting Until the Web Page Has Loaded
  • Summary
  • 2 JavaScript, CSS, and the DOM
  • The Document Object Model (DOM)
  • Accessing the DOM from JavaScript
  • Cascading Style Sheets
  • Accessing Styles in JavaScript
  • JavaScript and Semicolons
  • Summary
  • 3 The Core Plug-ins
  • Plug-in 1: O()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 2: S()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 3: Initialize()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 4: CaptureMouse()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 5: CaptureKeyboard()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 6: FromKeyCode()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 7: GetLastKey()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 8: PreventAction()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 9: NoPx() and Px()
  • About the Plug-ins
  • Variables, Arrays, and Functions
  • How They Work
  • How To Use Them
  • The Plug-ins
  • Plug-in 10: X() and Y()
  • About the Plug-ins
  • Variables, Arrays, and Functions
  • How They Work
  • How To Use Them
  • The Plug-ins
  • Plug-in 11: W() and H()
  • About the Plug-ins
  • Variables, Arrays, and Functions
  • How They Work
  • How To Use Them
  • The Plug-ins
  • Plug-in 12: Html()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 13: SaveState()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 14: RestoreState()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 15: InsVars()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 16: StrRepeat()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 17: HexDec()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 18: DecHex()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 4 Location and Dimensions
  • Plug-in 19: ResizeWidth()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 20: ResizeHeight()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 21: Resize()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 22: Position()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 23: GoTo()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 24: Locate()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 25: GetWindowWidth()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 26: GetWindowHeight()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 27: GoToEdge()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 28: CenterX()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 29: CenterY()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 30: Center()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 5 Visibility
  • Plug-in 31: Invisible()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 32: Visible()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 33: VisibilityToggle()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 34: Opacity()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 35: Fade()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 36: FadeOut()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 37: FadeIn()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 38: FadeToggle()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 39: FadeBetween()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 40: Hide()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 41: Show()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 42: HideToggle()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 6 Movement and Animation
  • Plug-in 43: Slide()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 44: SlideBetween()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 45: Deflate()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 46: Reflate()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 47: DeflateToggle()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 48: DeflateBetween()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 49: Zoom()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 50: ZoomDown()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 51: ZoomRestore()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 52: ZoomToggle()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 7 Chaining and Interaction
  • Plug-in 53: Chain(), NextInChain(), and CallBack()
  • About the Plug-ins
  • Variables, Arrays, and Functions
  • How They Work
  • How To Use Them
  • Using the CallBack() Function Directly
  • The Plug-ins
  • Plug-in 54: Repeat()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 55: While()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 56: Pause()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 57: WaitKey()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 58: Flip()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 59: HoverSlide()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 8 Menus and Navigation
  • Plug-in 60: HoverSlideMenu()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 61: PopDown()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 62: PopUp()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 63: PopToggle()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 64: FoldingMenu()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 65: ContextMenu()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 66: DockBar()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 67: RollOver()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 68: Breadcrumbs()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 69: BrowserWindow()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 9 Text Effects
  • Plug-in 70: TextScroll()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 71: TextType()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 72: MatrixToText()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 73: TextToMatrix()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 74: ColorFade()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 75: FlyIn()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 76: TextRipple()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 10 Audio and Visual Effects
  • Plug-in 77: Lightbox()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 78: Slideshow()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 79: Billboard()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 80: GoogleChart()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 81: PlaySound()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 82: EmbedYouTube()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 83: PulsateOnMouseover()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 11 Cookies, Ajax, and Security
  • Plug-in 84: ProcessCookie()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 85: CreateAjaxObject()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 86: GetAjaxRequest()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 87: PostAjaxRequest()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 88: FrameBust()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 89: ProtectEmail()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 12 Forms and Validation
  • Plug-in 90: FieldPrompt()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 91: ResizeTextarea()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 92: ValidateEmail()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 93: ValidatePassword()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 94: CleanupString()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 95: ValidateCreditCard()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • 13 Solutions to Common Problems
  • Plug-in 96: RollingCopyright()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 97: Alert()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 98: ReplaceAlert()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 99: ToolTip()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 100: CursorTrail()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Plug-in 101: TouchEnable()
  • About the Plug-in
  • Variables, Arrays, and Functions
  • How It Works
  • How To Use It
  • The Plug-in
  • Index