View RSS Feed

ddadmin

  1. "Operation Aborted" error in IE when inserting new elements into the DOM, and fix

    The DOM lets you dynamically create and add elements to the page, such as the following, which creates an image on the fly and adds it to the end of the document:

    Code:
    var img=document.createElement("img")
    img.setAttribute('src', 'dd.gif')
    document.body.appendChild(img)
    Ideally such an operation should be done after the document has loaded, though in most browsers, I noticed you can get away with it. In IE6 and IE7, however, things get a lot more ...

    Updated 06-04-2009 at 12:45 AM by ddadmin

    Categories
    Web Design issues
  2. 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
  3. Updating a JavaScript to be XHTML compliant

    As a webmaster you've undoubtedly noticed the increasing shift in coding practices from HTML to XHTML on the web. If you're a professional web designer, you've probably even heard it first hand from your clients who demand their web pages be XHTML compliant. I get quite a lot of emails on a monthly basis asking for help in making a webpage that contains a DHTML script to be XHTML compliant. A common misconception is that this is a difficult process, which can be no further from the truth.
    ...
  4. DD Drop Down Panel v1.01- Adding a fade effect

    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({
    ...
    Categories
    DD Scripts Mods
    Attached Thumbnails Attached Files
  5. IE8 has arrived- so has the work to ensure DD scripts are compatible in it

    Well, IE8 was officially released today, and most reviews I've come across on the web seems to be more or less positive, some even saying it puts IE back on top of FF. I've been using IE8 since the beta releases, and to me it's no FF killer. But personal feelings aside, the fact of the matter is, IE8 has arrived, it will eventually become the top browser market share wise in time as it's fed to Windows users, and unfortunately, this means it's also time to go through all scripts on DD to ensure ...
    Categories
    Off beat topics
Page 2 of 4 FirstFirst 1234 LastLast