|
[01] Universal JavaScript Rollovers
Learn how to swap images for rollovers, including multiple and nested rollovers. Related tips: Content
- How to use the document.images object.
- How to make your rollovers backward compatible.
- How to create an instance of the Image object.
- How to combine several rollovers to create a menu.
- How to create multiple rollovers.
- How to ensure maximum "transition" quality.
- How to create nested rollovers.
[02] Mastering JavaScript Dates
Master date representation formats and learn how to stamp you site with the current date (JavaScript, CGI, and Cronjobs). Related tips: Content:
- How to create an instance of the Date object.
- How to extract the desired properties from that instance.
- How to display the date in a good-looking format.
- How to setup a cronjob to set the date.
- How to implement a server-side include to do the job.
[03] Rotating Text Banners
Take advantage of DHTML to save valuable space on your Web pages by rotating several text messages. Related tips: Content:
- How to determine which browser the user is running.
- How to create a container for the rotating text script.
- How to to update existing HTML code.
- How to rotate the banner.
[04] Text Rollovers
Learn how to highlight links and change their text when the user passes the mouse over them. Related tips: Content:
- How to use onMouseOver and onMouseOut with plain text.
- How to change a link's color when the user points at it or removes the pointer from it.
- How to change a link's text when the user points at it or removes the pointer from it.
- How to generate these effects for an entire document.
- How to generate these effects for an entire site.
- How to provide workarounds for Netscape Navigator 4.0x.
[05] Regular Expressions
Validate user-supplied data with this powerful string matching and manipulation tool. Just like Perl! Related tips: Content:
Pattern Matching and Regular Exressions
- What you can do with regular expressions.
- How to use various modifiers with matching operators.
- How to construct regular expressions.
- What rules apply to all regular expressions.
- How to use values (backreferences) inside and after a regexp.
- How to perform substitution commands.
JavaScript Regular Expressions
- How to define regular expressions.
- How to use the regular expression methods.
- How to use backreferences.
- How to create a general feedback form.
- How to provide a workaround for older browsers.
[06] Browser Compatibility
Discover the difference between browser and object detection, and find out what method you should choose. Related tips: Content:
- How to determine which browser the user is running.
- How to find out if a specific object exists.
- How to find out if a specific method exists.
- How to ignore errors when they occur.
- How to cut & paste common object detection routines.
[07] Window Spawning and Remotes
Explore different ways to launch new windows with HTML and JavaScript. You'll be popping remotes in no time! Related tips: Content:
- How to launch a new window with HTML.
- How to launch a new window with JavaScript.
- How to specify the new window's attributes.
- How to manipulate the new window after creating it.
- How to embed links and forms in the remote's document.
[08] Crispy JavaScript Cookies
Use JavaScript-based HTTP cookies to store and retrieve user-specific data on the user's machine with HTTP cookies. Related tips: Content:
- How to set a cookie and get one with HTTP headers.
- How to set a cookie and get one with JavaScript.
- How to use pre-packed functions to save time.
- How to put a personal counter on your page.
- How to "remember" the user's name.
[09] The Navigator Event Model
Learn how to use the Navigator's new event object, and how it affects the browser's event handling routines. Related tips: Content:
- How to utilize traditional event handlers with the attribute approach.
- How to utilize event handlers with the property assignment approach.
- How to capture and release events at a high level.
- How to process captured events.
- How to design event processing functions.
- How to pass an event to a specific object.
- How to drop an event through the hierarchy.
- How to access the event object for a specific event.
- How to use the event object's properties.
- How to use Navigator 4.0x's new and revised events.
- How to use the new mouse events.
- How to use the new keyboard events.
[10] The Internet Explorer Event Model
Find out how Internet Explorer implements event bubbling, and how to capture events at various levels. Related tips: Content:
- How to assign an event handler to an element.
- How to implement Internet Explorer 4.0x's explicit event handler scripts.
- How to capture events at various levels.
- How to disable an event handler.
- How to design event processing functions.
- How to take advantage of event bubbling.
- How to cancel event bubbling for a specific event.
- How to access the event object for a specific event.
- How to use the event object's properties.
- How to use Internet Explorer 4.0x's new and revised events.
- How to use the new mouse events.
- How to use the new keyboard events.
[11] The Cross-Browser Event Model
Study the differences between the event models in Navigator 4.0x and Internet Explorer 4.0x and how to overcome them. Related tips: Content:
- How to avoid elements that do not support the same event handler in both browsers.
- How to capture events at a high level.
- How to access the event object from within the event processing function.
- How to utilize the event object's properties.
- How to detect modifier keys.
- How to find out what key or mouse button the user pressed.
[12] JavaScript Selections
Learn how to create cross-browser scripts that refer to the selected text on the page. Related tips: Content:
- How Navigator 4.0x and Internet Explorer 4.0x handle selections.
- How to use selection-related event handlers.
- How to retrieve a selection in Navigator 4.0x.
- How to use the selection object in Internet Explorer 4.0x.
- How to create a TextRange object in Internet Explorer 4.0x.
- How to utilize a TextRange object's properties and methods.
- How to retrieve the current selection with Navigator 4.0x and Internet Explorer 4.0x.
[13] Scrolling JavaScript Banners
Enhance your page with this amazing, animated news scroller. You'll discover several very useful DHTML techniques. Related tips: Content:
- How to specify the banner's position.
- How to use external JavaScript files.
- How to configure the banner.
- How to assign the banner's messages to an array.
- How to initialize the banner.
- How to create the banner's elements.
- How to fill the banner's elements.
- How to set an element's visibility.
- How to rotate the messages.
- How to move the messages.
[14] Pop-out Elements
Strech the boundaries of your page with these fancy popout elements that expand and collapse on the side of the page. Related tips: Content:
- How to define a pop-out element as an instance of an object.
- How to define and use a pop-out element's properties.
- How to position a pop-out element's tab.
- How to position a pop-out element's box.
- How to toggle a pop-out element's visibility status.
- How to toggle a pop-out element's visibility.
[15] Lookup Lists
Learn how to implement lookup lists that match your selection as you type it in. Put an end to your sloppy Web sites. Related tips:
[16] Dynamic Tooltips
Master stylesheets to add the well-known Balloon Help feature to your page's elements and links. Related tips:
[17] Screen Properties
Find out the screen's dimensions, its available portion, and the number of colors it can display. Related tips:
[18] JavaScript Animations, Part I
Create your real-time animation library that supports sliding, movement, positioning, and visibility switching. Related tips:
[19] JavaScript Animations, Part II
Enhance your real-time animation engine with nested, and consecutive (path) animations. Related tips:
[20] Embedding Sound in Web Pages, Part I
Embed audio in your page with Navigator's LiveAudio plug-in and Internet Explorer's ActiveMovie Control. Related tips:
|