Welcome Guest, Not a member yet? Register   Sign In
datepicker (mootools) and date attributes(ID)
#8

[eluser]fourcs[/eluser]
CI is generating the references to the jquery, css, and image properly, but the jquery icon isn't appearing. The same configuration works in a jquery sample page.

<code>
&lt;html&gt;
&lt;head&gt;

&lt;title&gt;&lt;?php echo $title;?&gt;&lt;/title&gt;

&lt;?= style('mystyles');?&gt;


&lt;?= jscript('jquery.min');?&gt;[removed]
&lt;?= jscript('date');?&gt;
&lt;?= jscript('jquery.datePicker');?&gt;[removed]

&lt;!-- datePicker required styles --&gt;

&lt;link rel="stylesheet" type="text/css" media="screen" href=&lt;?=style('datePicker');?&gt;

&lt;!-- page specific styles --&gt;
&lt;link rel="stylesheet" type="text/css" media="screen" href=&lt;?=style('demo');?&gt;

&lt;!-- page specific scripts --&gt;
[removed]
$(function()
{
$('.date-pick').datePicker({clickInput:true})
});
[removed]

[removed]
Date.firstDayOfWeek = 0;
Date.format = 'yyyy/mm/dd';
$(function()
{
$('.date-pick').datePicker()
});
[removed]



&lt;/head&gt;
&lt;body&gt;


<div id="header">
&lt;? $this->load->view('records_header'); ?&gt;
</div>
<div id="menu">
&lt;? $this->load->view('records_menu'); ?&gt;
</div>
&lt;? echo heading($forminput,3) ?&gt;
&lt;? echo form_open('records/input'); ?&gt;
&lt;? echo form_hidden('id',$fid['value']); ?&gt;
&lt;? echo $dt_start .' : '.form_input($fdt_start).br(); ?&gt;
&lt;? echo $dt_end .' :&nbsp;&nbsp; '.form_input($fdt_end).br(); ?&gt;
&lt;? echo $cat. ' : '.
form_dropdown('category',$category,$fcategory['value']).br(); ?&gt;
&lt;? echo $bed .' : '.
form_dropdown('beds',$beds,$fbeds['value']).br(); ?&gt;
&lt;? echo $sb_Price_Range .' : '.
form_dropdown('sb_Price_Range',$sbprs,$fsb_Price_Range['value']).br(); ?&gt;
&lt;? echo $sb_Price .' : '.
form_input($fsb_Price).br(); ?&gt;
&lt;? echo $normal_Price .' : '.
form_input($fnormal_Price).br(); ?&gt;

&lt;? echo form_submit('mysubmit','Submit!'); ?&gt;
&lt;? echo form_close(); ?&gt;

<div id="footer">
&lt;? $this->load->view('records_footer'); ?&gt;
</div>

&lt;/body&gt;
&lt;/html&gt;


</code>

Update:
Using the assets_helper for the datePicker.css has solved the problem. I still have to get the line spacing correct. This seems to be a case of tweaking the jquery script.

Update:
I've succeeded in tweaking the ui.datepicker to align the html the way I wanted.


Messages In This Thread
datepicker (mootools) and date attributes(ID) - by El Forum - 04-22-2009, 10:01 AM
datepicker (mootools) and date attributes(ID) - by El Forum - 04-22-2009, 10:46 AM
datepicker (mootools) and date attributes(ID) - by El Forum - 04-22-2009, 05:46 PM
datepicker (mootools) and date attributes(ID) - by El Forum - 04-22-2009, 07:39 PM
datepicker (mootools) and date attributes(ID) - by El Forum - 04-22-2009, 11:01 PM
datepicker (mootools) and date attributes(ID) - by El Forum - 04-23-2009, 04:46 AM
datepicker (mootools) and date attributes(ID) - by El Forum - 04-23-2009, 05:36 AM
datepicker (mootools) and date attributes(ID) - by El Forum - 04-24-2009, 07:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB