View RSS Feed

Most Popular Blogs

  1. Using Google to host your jQuery (or other) JavaScript libraries

    A growing number of scripts here on DD utilize the popular jQuery JavaScript library as its backbone, which means at the top of these scripts you'll see a reference such as:

    Code:
    <script type="text/javascript" src="jquery-1.2.6.pack.js"></script>
    which obviously requires you to download and host "jquery-1.2.6.pack.js" locally on your server. For those of you who likes to minimize hosting your own files for whatever reason, Google ...
    Categories
    JavaScript & Ajax
  2. Every PHP Tutorial Is Wrong

    Many PHP tutorials begin with an introduction to the "basics" of the language: the <?php ?> tags, and usually the echo construct. For example, something like this:

    PHP Code:
    <html>
    <head>
        <title>My First PHP Page</title>
    </head>
    <body>
        <?php
            
    echo "Hello World!";
        
    ?>
    </body>
    </html>
    Before I blast this, I want to ...

    Updated 11-03-2012 at 01:27 AM by traq

    Categories
    PHP coding , Web Design issues
  3. 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
  4. Replacing iframe attributes with javascript (HTML5)

    I was working the other day on a script for setting the height of an iframe to match the height of its content and noticed that under certain circumstances the iframe gets its scroll bars 'back' when it shouldn't. This happens mainly when the iframe is given a very small width. Overflow: hidden solves the problem in Firefox (most of the time), but not in IE. This browsers needs scrolling="no", which also works in non-IE. However, attributes like scrolling="no" and frameborder="no" ...

    Updated 01-12-2012 at 09:36 AM by molendijk (Corrections in text)

    Categories
    Post a JavaScript
  5. Full size object/iframe on a page; loads (a) menu(s)

    The text/html-object can be used to include HTML, except in IE, which doesn't support the object well yet, and where, as a consequence, we should still use an iframe for that purpose.

    How do we include HTML-menus (which are list-menus, normally)? As HTML-menus may have subitems, and as these subitems must be allowed to appear anywhere on the screen, an object or iframe containing the menu must have 100% size (as a principle, see below for certain restrictions).

    But ...

    Updated 03-21-2009 at 07:47 PM by molendijk (Bug in All Levels Navigational Menu)

    Categories
    Post a JavaScript
Page 1 of 6 123 ... LastLast