Welcome to Dynamic Web Coding!
Welcome to dyn-web.com, home of Dynamic Web Coding - JavaScript and PHP in action! Presenting scripts that are lightweight, unobtrusive, practical, well-documented and easy to implement. Providing tutorials with practical problem solving information.
Latest News
New Free JavaScripts. New JavaScripts are being added at dyn-web. See the new JavaScript Slider Control demonstrated with a color picker. See also the JavaScript Popup that can be displayed onload or onclick with options for positioning and changing content. These are both based on the unobtrusive JavaScript Draggable.
Other Recent Additions. A Rotating Banner swaps text or other HTML content on a timer. A Continuous Scroller scrolls automatically onload. The Pausing Scroller also scrolls automatically onload, gliding and pausing before scrolling the next item into view. These are provided free of charge. Check them out!
Recent Updates. The PHP Form Class and the PHP Table Class have both been updated. These lightweight classes provide an easy way to separate logic from markup when generating HTML from array data or query results. The PHP Order Form, which uses both these classes, has also been updated. These are all provided free of charge and include documentation and downloads with examples.
New Tutorial. PHP to JavaScript Tutorial has recently been added, providing information on passing simple data types as well as arrays from PHP to JavaScript. The tutorial also covers PHP's json_encode and JavaScript's JSON.parse.
Top Scripts
Scrolling Divs JavaScript supports vertical and horizontal scrolling, on mouseover and mousedown as well as custom scrollbars. The code includes support for touch devices, keyboard scrolling and other accessibility features. The code can respond to changes in size and amount of content, supports ajax and hiding and showing nested content.
JavaScript Tooltip can be activated on mouseover or onclick and includes support for touch devices. The code provides many options allowing you to control position, styles, display images, images with text, include clickable links, use ajax and much more.
View a full description of these and other dyn-web JavaScript and PHP scripts.
Top Tutorials
JavaScript and Iframes tutorial provides information and examples for interacting with iframes. Covers basics to advanced, including setting iframe height, uses for hidden iframes and more. Includes information about cross-browser object references and the same origin policy.
JavaScript Object Literals tutorial provides an introduction to the syntax and uses for object literals in unobtrusive JavaScript. Includes information for troubleshooting and adding new properties to an existing object.
See a full description of these and other Tutorials.