Topic: When switching to new page, page doesn't slide in, but just pops up

Hi there,

I've done a few customisations to my webapp-net, but I'm a bit lost now: I'm not sure what's causing it, but upon changing pages, the original page slides out, but the new page content doesn't slide it, but just

Re: When switching to new page, page doesn't slide in, but just pops up

Hi floz,

Seems to be an incomplete post. Could you edit and give an example?

Thanks

Re: When switching to new page, page doesn't slide in, but just pops up

Last edited by floz (2011-02-16 09:25:48)

Re: When switching to new page, page doesn't slide in, but just pops up

Well, weird. Indeed the slide effect is here but the layer pops-in. Should be a problem with the style of iScroll or something. Does it still pops if you remove iScroll ?

Re: When switching to new page, page doesn't slide in, but just pops up

Yes, just tested it. Completely removed iScroll (divs and javascript), exactly same behaviour sad

Re: When switching to new page, page doesn't slide in, but just pops up

Ah, got it!

The problem occurs when set

.iLayer { position: relative }

which is required for iScroll to work . . .

Hm . . . Hope I can find a way of reconsiling both . . .

Re: When switching to new page, page doesn't slide in, but just pops up

Ok, sorted :-)

Used the beginslide and endslide events to change the position property on the fly, as needed.

Re: When switching to new page, page doesn't slide in, but just pops up