Hi guys
I’ve set up a page with names anchor sections and added a left nav to link to those.
http://ordovas.jacl.co.uk/exhibition/chillida-on-miro/
The header and my left nav are set to be fixed position so when you scroll down you always see the header and the left nav (once you get below the slideshow)
Works great on desktop but on IOS ipad 1 it works fine fi you scroll with finger
BUT if you use the left nav to jump to named anchor position you cant then click the left nav again and the fixed elements do not auto resposition until you touch the screen slightly with a finger and drag
I think this is the fix here http://stackoverflow.com/questions/7826868/fixed-position-navbar-only-clickable-once-in-mobile-safari-on-ios5
But if I need to add in some behaviour just before and after the jquery scroll to animation where can i do this in the theme files please
Jonathan
Hi Jonathan!
The smoothscroll animation happens in js/avia.js, line 715:
$('html:not(:animated),body:not(:animated)').animate({ scrollTop: target }, duration, easing, function() {
Regards,
Josue
Thank you – I got that working :)
You are welcome, always glad to help :)
Regards,
Josue