This is the Message Centre for Pastey

Experiments with Code

Post 1

Pastey

I've spent a bit of this afternoon creating a very small footprint JavaScript that allows for transitions between "pages"

This is done very well by JQTouch and Sencha, but they're a bit more all encompassing than I need for most things, and they're a little buggy across browsers and devices, so I've written something myself.

It's based on the old WML method of coding, each "page" is represented as a "card" in a "deck" You download the "deck" which is in effect your entire site, and then you move between the "cards".

I've used some very simple JavaScript to achieve this and the results can be seen here:
http://dragondrop.co.uk/wmlslide/

I'm going to tidy it up a bit, put some nice graphics in etc, but the idea was to get the transitions in with as small a footprint as possible, and at just over 4.6kb I think I've achieved that.

smiley - rose


Key: Complain about this post

Experiments with Code

More Conversations for Pastey

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more