View RSS Feed

All Blog Entries

  1. Custom alerts

    It is surprisingly easy to create iframes that go on top of windowed elements (Flash, select boxes etc.):
    <iframe name="ifr" style="position:relative; z-index:10000; background: white" onload="frames['ifr'].document.body.innerHTML='This is an iframe that overlays windowed elements if the zindex is high enough'"></iframe>
    The onload-part will cause the text to overlay any windowed element if the zindex is high enough (except in Safari). Position: ...

    Updated 08-09-2014 at 03:52 PM by molendijk

  2. Paginated Responsive Modal Gallery (PHP/CSS3/JS)

    My modal gallery has evolved and here come versions 4 and 5. Both now include pagination but version 5 is PHP generated to help with maintainability.

    First, a recap on the gallery development so far;

    Now, so far, this gallery has only ...
  3. Responsive Multi-Level, Fly-Out Menu

    The earlier version of this menu utilises the same checkbox hack and "off-canvass" pattern in desktop view as it does in mobile - apart from being always-visible on a large screen, it looks and works the same, regardless of what device is accessing it (modern browsers and IE9+).

    Thanks to the increasing popularity of touch devices, where tappable/clickable triggers now seem more favourable than hover actions, this has the benefit of consistency. Minus the initial trigger ...

    Updated 06-04-2014 at 10:43 AM by Beverleyh

    CSS related
  4. Responsive Multi-Level, Push/Slide Menu

    I was emailed the other day by somebody asking if my earlier CSS-Only Multi-Level, Off-Canvass Mobile Menu could be visible on desktop too.

    At its most basic level, the following CSS inside of a desktop media query will do that;
    #menu { left:0 }
    .container { padding-left:13.75em }
    Except this stumps IE8 and under because of no media query support and no checkbox hack support. So I set to work on creating a version that is visible (and works) on desktop and older browsers. ...

    Updated 03-04-2015 at 04:43 PM by Beverleyh

    CSS related
  5. Nicer YouTube Search

    A couple of days ago I discovered on the web. It provides code for searching YouTube videos. I adapted the script to my needs, see

    I prefer my script ( to YouTube's for several reasons, among which the cleaner look (no ads and other disturbing info) and the possibility of playing the videos on my own 'search page'.

    Updated 05-11-2014 at 11:48 PM by molendijk

Page 6 of 23 FirstFirst ... 4567816 ... LastLast