peak_positions 2 Posted May 15, 2012 Report Share Posted May 15, 2012 <html> <head> <title>Dynarch Calendar -- Single calendar for multiple fields</title> <script src="../src/js/jscal2.js"></script> <script src="../src/js/lang/en.js"></script> <link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" type="text/css" href="../src/css/steel/steel.css" /> </head> <body> <p><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> </p> <input size="30" id="f_date1" /><button id="f_btn1">...</button><br /> <input size="30" id="f_date2" /><button id="f_btn2">...</button><br /> <input size="30" id="f_date3" /><button id="f_btn3">...</button><br /> <input size="30" id="f_date4" /><button id="f_btn4">...</button> <script type="text/javascript">//<![CDATA[ var cal = Calendar.setup({ onSelect: function(cal) { cal.hide() }, showTime: true }); cal.manageFields("f_btn1", "f_date1", "%Y-%m-%d %I:%M %p"); cal.manageFields("f_btn2", "f_date2", "%b %e, %Y %I:%M %p"); cal.manageFields("f_btn3", "f_date3", "%e %B %Y %I:%M %p"); cal.manageFields("f_btn4", "f_date4", "%A, %e %B, %Y %I:%M %p"); //]]></script> </body></html> Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted May 15, 2012 Report Share Posted May 15, 2012 You can upload the file in your server and include it or get all the codes from your js and css file and put it in your uihtml codes. 1 Quote Link to post Share on other sites
JohnB 255 Posted May 15, 2012 Report Share Posted May 15, 2012 Right...I typically handle it as explained by Kreatus. Just add the code in your html. (although both methods work fine) John Quote Link to post Share on other sites
peak_positions 2 Posted May 17, 2012 Author Report Share Posted May 17, 2012 but i try so many time but internally work fine but external files from server its not working Quote Link to post Share on other sites
blumi40 222 Posted May 17, 2012 Report Share Posted May 17, 2012 relativ links doesnt worksif u wanna outsource your css and js u need a fix adresse like http://yourdomain.com/myincludes/my.css Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.