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.
See Highlights for important site information. 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
Tooltip Update. The Tooltips code has been updated to provide more flexibility for Ajax Tooltips.
Top Scripts and Tutorials
The most popular script at dyn-web is Scrolling Divs, featuring custom scrollbars, scrolling on both dimensions and many other features. View a fuller description of this and other dyn-web Code.
The most popular tutorial is Scripting Iframes, with information about cross-browser object references and numerous code examples. See a full description and other Tutorials.
Licensing Requirements
Code provided for download from dyn-web is fully functional but may require purchase of a license for all but personal use. Code requiring a license, when uploaded to a server other than localhost, will pop up a licensing alert on page load. Once a license is purchased, access to a download with alert-free code is provided.
See Licensing for information about license types and what is included with the purchase of a license. See the Price List and Order Form for information on which code requires purchase of a license.
Other code, not included in the Price List, such as that provided in the Iframes Tutorial, is free of charge for all uses.
Please read dyn-web's Terms of Use if you plan to use our code.
Support Policies
Please read our Support Policies. Pay particular attention to the 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.
Code
- Scrolling Divs
- Scroll div content vertically or horizontally, onmouseover, onmousedown, onmousewheel or with a gliding motion onclick. Custom scrollbars and multiple instances are 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
- The JavaScript DHTML tooltip 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 JavaScript
- 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 and optional rotating caption or title.
- Rotate Images JS with PHP Extension
- Extends the capabilities of the Rotate Images JavaScript to PHP. Rotating images can come from a directory listing or from query results. All the functionality of the JavaScript can be incorporated with the PHP data, including links, captions, and randomness.
- 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, buttons or text links. Control the range of text size adjustment and control using selector text which elements' font-sizes can be changed and how much.
- PHP Order Form
- The Order Form is generated from an array of products and prices. One example includes a standard PayPal button for payment; the other includes contact information for sending an order email.
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 with examples available for download.
- 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 and Other Code Malfunctions
- Covers the types of problems and errors that can occur when implementing code from dyn-web or other sources. How to locate JavaScript 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, email address and other contact information.
- 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 which code requires purchase of a license. Starting point for purchasing a license for dyn-web code, quickly and securely.
- Donations
- Form for submitting a donation to dyn-web.
- Policies
- Support policy, refund policy, safeguarding your privacy and security.
- License Agreement
- Terms of the license for use of dyn-web code.