Take the 2-minute tour ×

Im fairly new to javascript/jquery/zepto and the like andI'm cobbling together a presentation using the Zepto Library to deal with sliding page transitions, which is working fine.

I also have some really simple Javascript functions changing the css visibility: property of a number of 'div's on the page at the same time. This also works fine.

However when the two are combined, the transitions work fine but the simple Javascript functions don't appear to work at all.

Simply commenting out the zepto include code in the head, makes it work again.

So, as I understand it Zepto, wraps up the current page and the next page in to one, to make the page slide transition work (i really don't know the in's and out's) but as a result the url looks like this :


section1-1.html is the fist page the zepto script was initiated from, all other page navigation urls are now appended to the hashtag after the initial page in the url.

So i suppose my questions are these:

  1. Is there an obvious problem my noob head hasn't encountered yet that would explain this javascript not working?

  2. Does anyone know how to go about getting the javascript functions to work whilst using page transitions with Zepto?

Thanks for any pointers. B

share|improve this question
add comment


Your Answer



Browse other questions tagged or ask your own question.