Category: Code (24 results)

  • MyISAM or InnoDB MySQL engine?

    If you’re curious about the difference of MySQL engines, here they are. Comparing and contrasting what MyISAM is and InnoDB. First ISAM is the acronym for Indexed Sequential Access Method, generally it is fast, compressable, and allows full text searching.  Second InnoDB is transaction safe and includes automatic foreign key checking so it’s a bit slower. The important part is… read more

  • Make your website cross-browser compatible

    Forget about CSS hacks as they should only be temporary solutions and will eventually break upon browser updates.  You want robust CSS with minimal amount of HTTP calls for the best performance.  So here’s the code using conditional comments adding a class to theelement: [code]<!–[if LTE 7 ]><html class="ie7"><[endif]–> <!–[if IE 8 ]><html class="ie8"><![endif]–> <!–[if IE 9 ]><html class="ie9"><![endif]–> <!–[if… read more

    7 comment(s)

  • Overlay scrolling issues on iPhone iPad

    Fixed position prevents iOS devices from scrolling the overlay div. You are probably here because you were coding a website with overlaying divs and you discovered there’s a scrolling problem in iOS. This happens in the css position property of fixed-size or fixed position div.  At first you will try the 2-finger swipe on your device and notice nothing happening.… read more

    10 comment(s)

  • How to update a MySQL field in a table matrix

    This is a tutorial on updating a unqiue mysql field in a matrix grid of elements by using PHP and jQuery. In this tutorial, we are presuming you are familiar with PHP and MySQL. This is the example we will use. The scenario is giving users access to special features on movies created by producers. This will be useful in… read more

Run a Startup