मैंने इस पर फ़ोरम का एक समूह पढ़ा है लेकिन किसी ने भी मेरी समस्या हल नहीं की है। मुझे यकीन है कि इसके कुछ छोटे मैंiScroll सामग्री स्क्रॉल नहीं कर रहा है, बस शीर्ष पर वापस जाएँ
यहाँ याद कर रहा हूँ iscroll आरंभीकरण है कर रहा हूँ:
.pi_panel.large .content{
position: absolute;
width: 963px;
height: 616px;
top: 65px;
left:30px;
background:none;
/*background:url(../images/ISI_body.png) repeat-y;*/
overflow:scroll;
-webkit-border-radius: 0px;
}
#FullPiWrapper
{
position:relative;
z-index: 1;
overflow:hidden;
top: 60px;
width:980px;
height: 610px;
}
.pi_panel .pi_box{
padding: 0px;
margin: 20px 0px;
}
:// make PI scroll
piScroll2 = new iScroll('pi_scroll2');
यहाँ मेरी सीएसएस है
यहां मेरा एचटीएमएल है:
<!-- BEGIN: PI PANEL LARGE -->
<div class="pi_panel large">
<div class="topBarPiFull">
<div class="title">Full Prescribing Information</div>
<div class="close_button_fullpi">Close</div>
<div class="annotated_pi_button">Annotated PI</div>
</div>
<!-- <div class="popContent"></div>-->
<div class="content" id="FullPiWrapper">
<div id="pi_scroll2">
<div class="pi_box" >
<img src="_globals/images/PI/pi_1.png"/>
<img src="_globals/images/PI/pagebreak.png" />
<img src="_globals/images/PI/pi_2.png"/>
<img src="_globals/images/PI/pagebreak.png" />
<img src="_globals/images/PI/pi_3.png"/>
<img src="_globals/images/PI/pagebreak.png"/>
<img src="_globals/images/PI/pi_4.png"/>
<img src="_globals/images/PI/pagebreak.png"/>
<img src="_globals/images/PI/pi_5.png"/>
<img src="_globals/images/PI/pagebreak.png" />
<img src="_globals/images/PI/pi_6.png"/>
<img src="_globals/images/PI/pagebreak.png" />
<img src="_globals/images/PI/pi_7.png"/>
<img src="_globals/images/PI/pagebreak.png" />
<img src="_globals/images/PI/pi_8.png"/>
<img src="_globals/images/PI/pagebreak.png" />
<img src="_globals/images/PI/pi_9.png"/>
<img src="_globals/images/PI/pagebreak.png" />
<img src="_globals/images/PI/pi_10.png"/>
</div>
</div>
</div>
</div>
<!-- END: PI PANEL LARGE -->
प्लस 1 मुझसे। आपके उत्तर में जोड़ने के लिए, iscroll प्रारंभकर्ता होने से पहले iscroll का कंटेनर तत्व दिखाई देना चाहिए। मैंने बस आईपैड वेबपैप पर आईस्कोल के साथ लड़ाई की, जहां सभी विचार गतिशील रूप से प्रदर्शित होते हैं। –
** आईस्कोल 5 के साथ समस्याओं के लिए यहां जवाब भी देखें: http://stackoverflow.com/questions/25962095/iscroll-5-not-working-when-2nd-page-should-be-scrollable – Mike6679