使Bootstrap Lightbox工作

时间:2014-11-12 14:12:32

标签: jquery html css twitter-bootstrap bootstrap-lightbox

我想使用bootstrap灯箱创建一个登录表单。 代码如下:

                <ul class="nav navbar-right navbar-nav">
                    <li data-type="useico"><a data-toggle="lightbox" href="#test" data-target="#demoLightbox"><img src="~/Content/images/user-icon.png" /></a></li>
                    <li data-type ="scico"><a href="#"><img src="~/Content/images/shopping-cart-icon.png" /><div class="nav-text" id="countCart">1</div></a></li>
                </ul>
            <div id="demoLightbox" class="lightbox hide fade" tabindex="-1" role="dialog">
                <div class='lightbox-content'>
                    <img src="~/Content/images/Logo-DOLPUZ.png">
                    <div class="lightbox-caption"><p>Your caption here</p></div>
                </div>
            </div>

这里可能缺少什么?

0 个答案:

没有答案