windows8 Metro应用程序中的弹出控件?

Aki*_*ndu 6 html5 popup microsoft-metro winjs

我有一个metro应用程序,我试图为我的应用程序设计登录屏幕.我想设计我的登录屏幕像微软登录屏幕.我在XAML中找到了弹出控件,但在html 5中找不到.是在metro app中存在任何特殊控制.我想设计我的登录页面.

在此输入图像描述 谢谢.

<body style="background-color:#1d3665;">
<div class="loginPage fragment">
    <header aria-label="Header content" role="banner">
        <button class="win-backbutton" aria-label="Back" disabled></button>
        <h1 class="titlearea win-type-ellipsis">
            <span class="pagetitle">Welcome to loginPage</span>
        </h1>
    </header>
    <section aria-label="Main content" role="main">
        <table style="position: absolute;background-color:skyblue;">
            <tr>
                <td><input type="text"><br/></td>
            </tr>
            <tr>
            <td>
                 <input type="password"/>
                </td>
            </tr>
        </table>
    </section>
</div>
Run Code Online (Sandbox Code Playgroud)

May*_*kar 1

如果您要针对 Microsoft 帐户(提供默认的 Microsoft 帐户登录框)进行身份验证,您可能需要尝试 Live SDK,它将登录到 Microsoft 帐户。如果您想创建自己的登录机制,其 UI 看起来类似于 Microsoft 帐户,您可以尝试 JQuery UI 插件并对其进行自定义。其中有内置的弹出控件。