<a href=""> not wrking in ipad

Issue #7 resolved
Anonymous created an issue

i have a web page with different divs.i am using <a href="#divname">to move to that perticular div.it is wrking fine for desktop applications.but when it cmes to ipad the <a href="#divname"> not wrking.first time when the page loads its wrking but ofter that it is not wrking.if we moves the scroll bar or if we touches the other content then this links are wrking fine...

pls help me .i dont know how to solve this...

my code is:

<div id="nav"> <ul id="mainnav"> <li><a href="#hometab" class="scroll " id="welcome">link1</a></li> <li><a href="#aboutustab" class="scroll " id="aboutus">link2</a></li> <li><a href="#contacttab" class="scroll " id="contactus">link3</a></li> </ul>


$(document).ready(function() { $('.scroll').click(function() { var elementClicked = $(this).attr("href"); var destination = $(elementClicked).offset().top; $("html:not(:animated),body:not(:animated)").animate({ scrollTop: destination -178}, 500 ); return false; }); });

Comments (1)

  1. Ian George repo owner

    Try the latest version 1.1.1, I've made some changes for the links to work on ipad now. If you are still having trouble please open a new issue and provide a link to the page you are having issues with if possible.

  2. Log in to comment