Code from dyn-web.com
- Scrolling Divs
- Scroll div content vertically or horizontally, onmouseover, onmousedown, onmousewheel or with a gliding motion onclick. Graphical scrollbars and multiple instances supported. Scroll areas can be positioned absolute or relative. New content can be swapped in and updated via ajax. Many more features and extras.
- Tooltips
- DHTML tooltip (completely revised 2008 version) is unobtrusive and full-featured. It supports obtaining content via ajax, flexible positioning and formatting options, as well as hoverable, sticky, duration, and class swapping options. It can be used to display images, images with text, and other rich HTML. It includes accessibility and device independent features.
- Rotate Images
- Swaps in images using a timer. Images can be linked. Optional pause and resume on mouseover. Multiple sets of rotating images can be included in a document. Supports random rotation, transition filter effect for Internet Explorer on Windows, optional rotating caption or title, and php array as source of images for rotation.
- Random Image Display
See two examples that display a randomly selected image each time the page loads, a PHP version capable of providing images from a variety of sources (database query, directory listing, static list you provide) and a JavaScript version, selecting from a static list of images you provide.
- Change Font-Size Onclick
- Object-based code to increase or decrease font-size by clicking on images or buttons. Control the range of text size adjustment and control using selector text which elements' font-sizes can be changed and how much.