0

我的 jquery 移动网站在所有黑莓 6 设备上运行良好,但黑莓 5 型号上没有显示任何样式。我需要添加什么来在黑莓 5 上进行 jQuery 移动渲染吗?我正在使用 JQM v1.1.1,一个黑莓 BOLD 9700 设备

这是我要渲染的内容:

母版页:

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="UserMobile.master.cs" Inherits="User.Mobile.UserMobile" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head id="Head1" runat="server">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link href="Css/jquery.mobile.custom.structure.min.css" rel="stylesheet" type="text/css" />
    <link href="Css/jquery.mobile.custom.theme.min.css" rel="stylesheet" type="text/css" />
    <%--<link href="Css/eneCustom.min.css" rel="stylesheet" type="text/css" />--%>

  <%--  <script src="Js/jquery-1.8.min.js" type="text/javascript"></script>--%>
    <script src="Js/jquery1.6.js" type="text/javascript"></script>
    <script src="Js/jquery.mobile.custom.min.js" type="text/javascript"></script>



    /

    <asp:ContentPlaceHolder ID="HeadContent" runat="server">
    </asp:ContentPlaceHolder>
</head>

<body>

<div data-role="page" data-theme="b">

    <div data-role="header" data-position="fixed">

         <asp:ContentPlaceHolder ID="TopHeaderContent" runat="server"></asp:ContentPlaceHolder>


    </div><!-- /header -->

    <div data-role="content">   

 <asp:ContentPlaceHolder ID="MainContent" runat="server"></asp:ContentPlaceHolder>

    </div><!-- /content -->

    <div data-role="footer" data-position="fixed">
    <asp:ContentPlaceHolder ID="FooterContent" runat="server"></asp:ContentPlaceHolder>


    </div><!-- /footer -->

</div><!-- /page -->



</body>

</html>

主页:

<%@ Page Title="" Language="C#" MasterPageFile="~/Mobile/UserMobile.Master" AutoEventWireup="true" CodeBehind="DummyPAge.aspx.cs" Inherits="User.Mobile.DummyPAge" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TopHeaderContent" runat="server">
<h1>HEADER</h1>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
HI THERE
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="FooterContent" runat="server">
<h1>FOOTER</h1>
</asp:Content>
4

1 回答 1

0

RIM5 不支持 jQuery mobile。有关支持的平台,请参阅http://jquerymobile.com/test/docs/about/platforms.html 。

于 2012-08-22T22:17:21.003 回答