Category: Uncategorized

  • He’s Alive!

    Restarting this blog after a short hiatus of just 10 years. Not that I didn’t write anything in that time. I just didn’t publish it.

    For now I’m reviewing the old posts, translating some to enlish, deleting those of them that were not relevant even 10 or 12 years ago and shaping up this WP instance.

  • How to mimic Twitter slides on Safari Mobile

    Last evening, during our local NSCoders meeting, one of my fellow coders asked me how to replicate some functionality using CSS. It turned out that the functionality required more JavaScript than CSS.

    In Twitter the user can slide a twit to show some controls that relate to that twit.  Jorge wanted to imitate this behaviour. After a fast search I explained him how to “bind” some JavaScript to the touchmove and touchend events. This morning, remembering the question I tried to code some fast example implementing a similar functionality.

    Basically the user initiates an slide on an element of the list. When the element has been slided past a point it opens completely, revealing the controls beneath.

    (more…)