Scroll 英特尔应用程序框架滚动不工作

Scroll 英特尔应用程序框架滚动不工作,scroll,mobile-application,appframework,Scroll,Mobile Application,Appframework,我正在使用“英特尔应用程序框架”和XDK开发一个应用程序,在仿真器之外使滚动正常工作时遇到了很多问题。我还没有苹果开发者许可证,所以我只能使用AppPreview在iOS上测试 第一个问题是整页面板。在Android版本和Android/iOS emulator上,它们可以正常滚动,但在iOS上根本不会滚动。面板的HTML: <div class="upage panel" id="uib_page_info" data-header="af-header-info" data-foote

我正在使用“英特尔应用程序框架”和XDK开发一个应用程序,在仿真器之外使滚动正常工作时遇到了很多问题。我还没有苹果开发者许可证,所以我只能使用AppPreview在iOS上测试

第一个问题是整页面板。在Android版本和Android/iOS emulator上,它们可以正常滚动,但在iOS上根本不会滚动。面板的HTML:

<div class="upage panel" id="uib_page_info" data-header="af-header-info" data-footer="none">
<div class="upage-outer">

    <header class="container-group inner-element uib_w_2" data-uib="app_framework/header" data-ver="0" id="af-header-info">
        <a id="backButton" href="javascript:;" class="button" >Back</a>
        <h1>Info</h1>
        <div class="widget-container wrapping-col single-centered"></div>
        <div class="widget-container content-area horiz-area wrapping-col left"></div>
        <div class="widget-container content-area horiz-area wrapping-col right"></div>
    </header>

    <div id="uib_page_infosub" class="upage-content ">
        <div style="width:100%; ">
            <!-- text content here, long enough to need scrolling -->
        </div>
    </div>
</div>
<div class="upage panel" id="uib_page_events" data-header="af-header-events" data-footer="none" data-load="DoCalendarLoad">
<div class="upage-outer" style="height:100%">

    <header class="container-group inner-element uib_w_3" data-uib="app_framework/header" data-ver="0" id="af-header-events">
        <a id="backButton" href="javascript:;" class="button" >Back</a>
        <h1>Event Calendar</h1>
        <div class="widget-container wrapping-col single-centered"></div>
        <div class="widget-container content-area horiz-area wrapping-col left"></div>
        <div class="widget-container content-area horiz-area wrapping-col right"></div>
    </header>

    <div id="uib_page_eventssub" class="upage-content " style="width:100%; height:100%; background:#FFFF00">
        <div id="eventsContent" style="width:100%; position:absolute; top:0px;"> 
            <input type="text" id="example" style="position:absolute;top:-40px;height:40px;width:100%;" gldp-id="calendarDiv"/>
            <div class="ratioCalendar" id="ratioOuter" style=" position:absolute; top:0px; width:100%; background:#FF0000">
                <div class="ratio_content" id="ratioInner" style="background:#00FF00" gldp-el="calendarDiv"></div>
            </div>
            <div class="ac-container" id="listDiv" style="position:absolute; width:100%; bottom:0px; background:#EFE7D0; margin:0px; overflow-y: scroll; overflow-x: hidden" scrolling="yes" >

                <!-- several of the following, formatted as http://cssdeck.com/labs/5p3sqfwi -->
                <div class="ac-container">
                    <div>
                        <input id="ac-2" name="accordion-1" type="checkbox" /> 
                        <label for="ac-2">
                            <span class="event_date">05.07.2013</span> Title 
                        </label>
                        <article>
                            <!-- content -->
                        </article>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

信息

第二个问题是div只占用部分视口,页面的其余部分不滚动。在模拟器中,它工作得很好,我让它在Android上滚动了一次,但此后一直无法滚动,即使是在同一版本上。在emulator中,侧边会出现一个滚动条,鼠标滚轮可以工作。面板的HTML:

<div class="upage panel" id="uib_page_info" data-header="af-header-info" data-footer="none">
<div class="upage-outer">

    <header class="container-group inner-element uib_w_2" data-uib="app_framework/header" data-ver="0" id="af-header-info">
        <a id="backButton" href="javascript:;" class="button" >Back</a>
        <h1>Info</h1>
        <div class="widget-container wrapping-col single-centered"></div>
        <div class="widget-container content-area horiz-area wrapping-col left"></div>
        <div class="widget-container content-area horiz-area wrapping-col right"></div>
    </header>

    <div id="uib_page_infosub" class="upage-content ">
        <div style="width:100%; ">
            <!-- text content here, long enough to need scrolling -->
        </div>
    </div>
</div>
<div class="upage panel" id="uib_page_events" data-header="af-header-events" data-footer="none" data-load="DoCalendarLoad">
<div class="upage-outer" style="height:100%">

    <header class="container-group inner-element uib_w_3" data-uib="app_framework/header" data-ver="0" id="af-header-events">
        <a id="backButton" href="javascript:;" class="button" >Back</a>
        <h1>Event Calendar</h1>
        <div class="widget-container wrapping-col single-centered"></div>
        <div class="widget-container content-area horiz-area wrapping-col left"></div>
        <div class="widget-container content-area horiz-area wrapping-col right"></div>
    </header>

    <div id="uib_page_eventssub" class="upage-content " style="width:100%; height:100%; background:#FFFF00">
        <div id="eventsContent" style="width:100%; position:absolute; top:0px;"> 
            <input type="text" id="example" style="position:absolute;top:-40px;height:40px;width:100%;" gldp-id="calendarDiv"/>
            <div class="ratioCalendar" id="ratioOuter" style=" position:absolute; top:0px; width:100%; background:#FF0000">
                <div class="ratio_content" id="ratioInner" style="background:#00FF00" gldp-el="calendarDiv"></div>
            </div>
            <div class="ac-container" id="listDiv" style="position:absolute; width:100%; bottom:0px; background:#EFE7D0; margin:0px; overflow-y: scroll; overflow-x: hidden" scrolling="yes" >

                <!-- several of the following, formatted as http://cssdeck.com/labs/5p3sqfwi -->
                <div class="ac-container">
                    <div>
                        <input id="ac-2" name="accordion-1" type="checkbox" /> 
                        <label for="ac-2">
                            <span class="event_date">05.07.2013</span> Title 
                        </label>
                        <article>
                            <!-- content -->
                        </article>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

活动日历
2013年7月5日标题


在这两种情况下,我做错了什么?

我也经常使用相同的框架。我喜欢,但很挑剔。通常情况下,当事情在不同平台上停止工作时,这是由加载顺序引起的。我在安卓上遇到了一个大问题

检查文档中js、css和start函数的正确顺序。这就是解决我问题的方法

编辑: 抱歉,请阅读您留言的第二部分。这和我遇到的问题完全一样。无需调整大小,无需滚动,但其他功能也能正常工作。看看它的顺序。 试一试


经过4天的网络搜索,我发现了这个小功能。它解锁了所说的内容。

我也经常使用相同的框架。我喜欢,但很挑剔。通常情况下,当事情在不同平台上停止工作时,这是由加载顺序引起的。我在安卓上遇到了一个大问题

检查文档中js、css和start函数的正确顺序。这就是解决我问题的方法

编辑: 抱歉,请阅读您留言的第二部分。这和我遇到的问题完全一样。无需调整大小,无需滚动,但其他功能也能正常工作。看看它的顺序。 试一试


经过4天的网络搜索,我发现了这个小功能。它解锁了所说的内容。

我也经常使用相同的框架。我喜欢,但很挑剔。通常情况下,当事情在不同平台上停止工作时,这是由加载顺序引起的。我在安卓上遇到了一个大问题

检查文档中js、css和start函数的正确顺序。这就是解决我问题的方法

编辑: 抱歉,请阅读您留言的第二部分。这和我遇到的问题完全一样。无需调整大小,无需滚动,但其他功能也能正常工作。看看它的顺序。 试一试


经过4天的网络搜索,我发现了这个小功能。它解锁了所说的内容。

我也经常使用相同的框架。我喜欢,但很挑剔。通常情况下,当事情在不同平台上停止工作时,这是由加载顺序引起的。我在安卓上遇到了一个大问题

检查文档中js、css和start函数的正确顺序。这就是解决我问题的方法

编辑: 抱歉,请阅读您留言的第二部分。这和我遇到的问题完全一样。无需调整大小,无需滚动,但其他功能也能正常工作。看看它的顺序。 试一试


经过4天的网络搜索,我发现了这个小功能。它解锁所说的内容。

结果是脚本顺序和缺少的脚本。我也在使用jquery,我没有包括jq.appframework.js。正确的顺序是jquery、jq.appframework.js、appframework.ui。结果是脚本顺序和缺少的脚本。我也在使用jquery,我没有包括jq.appframework.js。正确的顺序是jquery、jq.appframework.js、appframework.ui。结果是脚本顺序和缺少的脚本。我也在使用jquery,我没有包括jq.appframework.js。正确的顺序是jquery、jq.appframework.js、appframework.ui。结果是脚本顺序和缺少的脚本。我也在使用jquery,我没有包括jq.appframework.js。正确的顺序是jquery、jq.appframework.js、appframework.ui