View RSS Feed

ddadmin

  1. Getting Started with JavaScript Charts

    Credits: This is a guest post by Rohit Boggarapu, a software engineer at Adobe.

    Data visualization is something that comes up at least once in the work life of a frontend developer. If you are a JavaScript developer and haven’t made any interactive charts yet, then there is a good chance that you will do so in near future. And to prepare you for that moment, I decided to write this detailed tutorial.

    In this tutorial I will not only cover the process of making a simple ...
    Categories
    JavaScript & Ajax
  2. 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
  3. "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
  4. 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.
    Attached Thumbnails Attached Files
  5. 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",
    ...
Page 1 of 4 123 ... LastLast