Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET jQuery
Is it possible to have a zebra_datepicker inside a lightbox_me popup i am using two plugin lightbox_me and zebra_datepicker. lightbox_me plugin for binding a input text box and zerbra_datepicker for calender control my html and jquery codes are follows
 
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="Scripts/main.js"></script>
<script type="text/javascript" src="Scripts/zebra_datepicker.js"></script>
<script type="text/javascript" src="Scripts/lightbox_me.js"></script>
<link href="Layout/zebra_datepicker.css" rel="Stylesheet" type="text/css" />
 
<script type="text/javascript" >
.popUp{
 
            border-radius:6px;
            -moz-border-radius: 6px;
            background: #FFFFFF;
            -webkit-border-radius: 6px;
            border: 1px solid #536376;
            -webkit-box-shadow: rgba(0,0,0,.6) 0px 2px 12px;
            -moz-box-shadow:  rgba(0,0,0,.6) 0px 2px 12px;
            padding: 14px 22px;
            width: 392px;
            height:173px;
            position: relative;
            display:none;
}
 
 </script>
 
</asp:Content>
 
<input type="button" id="btnTest" class="button arrow" value="Test" />
<div id="divCalanderCheck" class="popUp">
    <input type="text" id="txtDate" class="datepicker" />
</div>
 

main.js
 
$(document).ready(function () {
    $("#txtDate").Zebra_DatePicker();
        $('#btnTest').click(function () {
 
            $("#divCalanderCheck").lightbox_me({
                lightboxSpeed: 100,
                centered: true,
                closeClick: true,
                closeEsc: true
            });
});
 
    });
Posted 30-Mar-13 1:41am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 584
1 Maciej Los 275
2 DamithSL 233
3 Sergey Alexandrovich Kryukov 209
4 BillWoodruff 200
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 30 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100