View RSS Feed

DD Scripts Mods

Modifications to existing DD scripts for bugs or additional features.

  1. Updating Menu scripts for iPad/iPhone and Android devices

    Mobile devices such as the iPad, iPhone or Android tablets are pretty on par with modern desktop browsers when it comes to rendering JavaScript, though that's not to say they do so without hiccups. One of the more crippling limitations is mobile devices' lack of support for the onmouseover/out events of JavaScript, which if you think about is more of a fundamental "shortcoming" of touch based devices in general rather than a deliberate act of omission. Regardless, this lack of support ...

    Updated 07-18-2011 at 06:35 AM by ddadmin

    Categories
    DD Scripts Mods
  2. "Drop Up" option for Anylink and Anylink CSS Menu

    Quite a few members have asked for the ability to have a menu drop upwards (instead of the default downwards) for either Anylink Menu and Anylink CSS Menu. With that said, use the below attached modified versions of the respective .js files for the two scripts to achieve this. Then, inside the HTML markup for the anchor link of a menu, to get the menu to drop up for it, make use of the data-dir attribute:

    Code:
    <p><a href="http://www.dynamicdrive.com" class="menuanchorclass"
    ...
    Categories
    DD Scripts Mods
    Attached Thumbnails Attached Files
  3. All Levels Menu- top headers revealed onClick instead of onMouseover

    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.
    Categories
    DD Scripts Mods
    Attached Thumbnails Attached Files
  4. Dynamically minimizing a DHTML Window

    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",
    ...
    Categories
    DD Scripts Mods
  5. Tab Content script- Getting it to stop auto rotating after x cycles

    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: ...
    Categories
    DD Scripts Mods
    Attached Thumbnails Attached Files
Page 1 of 2 12 LastLast