Modifications to existing DD scripts for bugs or additional features.
Original Script: All Levels Navigational Menu v2.2 Changes: This modified version of ddlevelsmenu.js causes the top level sub menus to be revealed onClick of the primary headers (instead of the default onMouseover). The remaining sub levels are still revealed onMouseover like before. Usage: Just replace the original .js file with the modified one.
Original Script: DHTML Window By default the DHTML Window script can only be minimized by clicking on the "minimize" icon located on the upper right of the opened window. Someone asked on the forums if there's a way to do this dynamically, such as via a link instead. Well, certainly. Given the below example DHTML Window: Code: var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site", ...
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site",
Original Script: DD Drop Down Panel v1.01 By default, when the script is set to auto cycle through the tabs, it does this indefinitely until the user clicks on one of the tabs. With the following modified version of the .js file, you can have it automatically stop after x cycles, even if the user doesn't click on a tab during this time. Simply use the following modified .js file. If you wish to change the # of cycles from 2 to something else, change the part in red below inside it: ...
I just wanted to Blog this info to make it easy to find. It regards the Swiss Army Slide Show script: http://www.dynamicdrive.com/dynamici...army/index.htm Because many people want even more flexibility than it originally provided, I've updated it (script only, right click 'save as'): http://home.comcast.net/~jscheuer1/s...les/swiss_2.js This is a drop in replacement for swissarmy.js and requires no changes in the on page code ...
Updated 09-28-2010 at 12:33 AM by jscheuer1 (various updates as noted (see end of main entry))
Original Script: DD Drop Down Panel v1.01 Changes: This modified version of dddropdownpanel.js adds an optional fade effect to the original slide up/down animation, so both effects are shown simultaneously. If you're looking for more flare for the animation, this is it! Usage: Just replace the original .js file with the modified one. The fade effect can be toggled at the end of the .js file where you initialize the script: Code: var defaultpanel=new ddpanel({ ...
var defaultpanel=new ddpanel({