Welcome to Dynamic Web Coding
Welcome to dyn-web.com, home of Dynamic Web Coding - DHTML, JavaScript, Ajax and PHP in action!
Presenting scripts that are lightweight, unobtrusive, practical, well-documented and easy to implement. Providing tutorials with practical problem solving information.
Sporting a new look and freshly updated code and content, new code demo's, documentation and tutorials as of April, 2008.
Check Highlights for important changes and updates. See the current Code offerings to view and download the latest versions.
Be sure to read our Terms of Use, License Information and Policies if you wish to use dyn-web code.
Latest News
An update for Tooltips is available (version date: May 5, 2008) along with more documentation and examples.
A brief tutorial on Object Literals has been added to assist you in implementing code that includes their use for setup, such as Tooltips and Rotate Images.
More to Come
Check back often! New code samples, additional documentation and new tutorials are in the works and should be available soon.
Highlights
Dynamic Web Coding has undergone big changes recently. We've taken our top four scripts and given them a thorough overhaul. The tooltip code has undergone the most radical transformation with many new features and added flexibility. Rotate Images also been completely rewritten and supports new capabilities such as rotating titles or captions.
Scrolling Divs, formerly known as Scrolling Layers, now finally supports the much requested mousewheel scrolling and new methods for dynamic update. All code now sports unobtrusive event handling and more attention to device independence and other accessibility features.
The Iframes Tutorial has also been completely rewritten with updated information about the object references involved.
Updated Policies
Please read our updated Policies. Our support policy in particular has been undergone noteworthy changes. Please read about the changes regarding scope and duration of support provided with license purchase. Also please note that we do not provide free support or support in advance of payment.
Where's the Other Code?
Some of the code that has been removed will likely reappear in an updated form at some time in the future. We didn't have time to go through everything and some of the code had gone out of vogue. Our apologies if we have remove something that you miss.
Code
- 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.
Tutorials
- Scripting Iframes
- Using JavaScript to manipulate properties of iframes and to communicate between the document containing the iframe and the document inside it. In depth discussion and demonstration of cross browser object references.
- Combining Scripts - Multiple Onloads
- Discussion of the various approaches to handling the problem of competing onloads when combining JavaScripts - from the body onload attribute and window.onload to addLoadEvent and DOMContentLoaded.
- JavaScript Errors
- Covers the types of error messages that can occur when implementing code from dyn-web or other sources. How to locate error messages, what some of the common error messages mean and how to resolve them.
- Object Literals
- A brief overview to assist users of dyn-web code with the object literals used by some scripts for setup. Basic syntax, how to locate and correct errors, and links to further information.
Business
- Contact
- Contact form and email address
- Terms of Use
- Terms and conditions under which you may use code from dyn-web.com
- Licensing Information
- Information about license types and what is included with the purchase of a license.
- Price List and Order Form
- Lists what code requires purchase of a license. Purchase a license for dyn-web code, quickly and securely.
- Donations
- Form for submitting a donation to dyn-web for free code and content.
- Policies
- Support policy, refund policy, safeguarding your privacy and security.
- License Agreement
- Terms of the license for use of dyn-web code.