View RSS Feed

Most Popular Blogs

  1. 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
  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. Heaps o' Fun

    yes, I'm still doing the tutorial. : )

    Did you know ...?

    PHP Code:
    <?php

    class alphaHeap extends SplHeap{
        public function 
    compare$a,$b ){
            return 
    strcmp$b,$a );
        }
    }

    $alpha = new alphaHeap;

    # IN put:
    $alpha->insert'cat' );       // C
    $alpha->insert'dog' );       // D
    $alpha->insert'boy' );       // B
    $alpha->insert'elephant' );  // E
    ...

    Updated 12-23-2012 at 08:09 PM by traq

    Categories
    PHP coding , Off beat topics
  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 2 of 8 FirstFirst 1234 ... LastLast