- Richard On Sat, Oct 24, 2009 at 5:15 PM, Andrew243 <m...@andrewcampbell.us> wrote:
> > Hi, > > I downloaded the "Start" theme using ThemeRoller (1.7.2 version: UI > Core, Tabs & Datepicker widgets, no Effects or Interactions), unpacked > it and copied the contents of the "development-bundle\themes\base\" > folder to my website "../css/" folder. > > The test html below works fine, except that: > a) the Theme is still the default Theme (it looks like "Smoothness") > b) the defaultDate is not working > > The following test html is at: > http://www.pointandslope.com/ac-play/ac-play.html > > <HTML> > <HEAD> > <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/ > jquery.min.js"></script> > <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/ > jquery-ui.min.js<http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/%0Ajquery-ui.min.js> > "></script> > <link type="text/css" href="../css/ui.core.css" rel="stylesheet" /> > <link type="text/css" href="../css/ui.theme.css" rel="stylesheet" /> > <link type="text/css" href="../css/ui.datepicker.css" > rel="stylesheet" / > > <TITLE>datapicker test</TITLE> > <META name="description" content=""> > <META name="keywords" content=""> > <META name="generator" content="CuteHTML"> > </HEAD> > <BODY> > <p> > > <script type="text/javascript"> > $(function(){ > $('.date-pick').datepicker({ > defaultDate: new Date(2009, 10, 20), > minDate: -10, > maxDate: 0, > dateFormat: "yy-mm-dd" > }) > }); > </script> > > Start date: <input type="text" Class="date-pick" size="8" > id="startdate"><br> > End date: <input type="text" Class="date-pick" size="8" id="enddate"></ > p> > > </BODY> > </HTML> > > The page works OK except that: > a) the theme is still the default (looks like "Smoothness") > The base theme is basically the smoothness theme. If you've selected the 'Start' theme it should show up in the zip in two places: /css/start/ and /development-bundle/themes/start/ > b) the defaultDate is not working > You've specified a default date of Nov 20, 2009 but specified relative (to today) min and max dates. Change either of those, or wait a month, and it will work. - Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---