[jQuery] Datepicker

2009-02-26 Thread Leroy

Hi all,

I am using the jquery datepicker with the 'buttonImage'. What I am
trying to do is just when the mouse is over the image, to change it to
a hand rather than a pointer. Any ideas anyone? Thanks in advanced!


[jQuery] Re: Datepicker

2009-02-26 Thread Leroy

Thanks for the reply... however i am just wondering where do i put the
CSS?  My code looks something like this:
$(document).ready(function() {
$('#dp_date).datepicker({speed: 'fast',
showOn: 'both',
showAnim: 'show',
closeAtTop: false,
nextText: '',
prevText: '',
changeMonth: true,
changeYear: true,
buttonImageOnly: true,
buttonImage: '/lib/images/calendar.gif',
buttonText: 'Choose date',
dateFormat: 'dd/mm/yy',
yearRange: '-4:+4',
onSelect: function(dateText) {  

do_goToDayWhiteboardDate
(dateText)
}
});
});

Sorry, i'm not that familiar with this..

On Feb 26, 11:24 pm, MorningZ morni...@gmail.com wrote:
 simply apply some CSS to it

 span.datepicker_wrap img {
      cursor: pointer;

 }

 On Feb 26, 1:24 am, Leroy leroy@gmail.com wrote:



  Hi all,

  I am using the jquerydatepickerwith the 'buttonImage'. What I am
  trying to do is just when the mouse is over the image, to change it to
  a hand rather than a pointer. Any ideas anyone? Thanks in advanced!- Hide 
  quoted text -

 - Show quoted text -


[jQuery] Re: Datepicker

2009-02-26 Thread Leroy

Thanks heaps for all your help! That works perfectly!

On Feb 27, 9:34 am, MorningZ morni...@gmail.com wrote:
 to note, that CSS was for an older version of thedatepicker

     img.ui-datepicker-trigger {
          cursor: pointer;
     }

 works on the later versions (i have ui.1.6.rc2.datepickerand that CSS
 works)

 On Feb 26, 5:31 pm, MorningZ morni...@gmail.com wrote:



  in the page's CSS (nothing to do with the datpicker declaration)..
  easy as that

  On Feb 26, 5:22 pm, Leroy leroy@gmail.com wrote:

   Thanks for the reply... however i am just wondering where do i put the
   CSS?  My code looks something like this:
   $(document).ready(function() {
           $('#dp_date).datepicker({speed: 'fast',
                   showOn: 'both',
                   showAnim: 'show',
                   closeAtTop: false,
                   nextText: '',
                   prevText: '',
                   changeMonth: true,
                   changeYear: true,
                   buttonImageOnly: true,
                   buttonImage: '/lib/images/calendar.gif',
                   buttonText: 'Choose date',
                   dateFormat: 'dd/mm/yy',
                   yearRange: '-4:+4',
                   onSelect: function(dateText) {                            
                                                                         
   do_goToDayWhiteboardDate
   (dateText)
                                   }
           });

   });

   Sorry, i'm not that familiar with this..

   On Feb 26, 11:24 pm, MorningZ morni...@gmail.com wrote:

simply apply some CSS to it

span.datepicker_wrap img {
     cursor: pointer;

}

On Feb 26, 1:24 am, Leroy leroy@gmail.com wrote:

 Hi all,

 I am using the jquerydatepickerwith the 'buttonImage'. What I am
 trying to do is just when the mouse is over the image, to change it to
 a hand rather than a pointer. Any ideas anyone? Thanks in advanced!- 
 Hide quoted text -

- Show quoted text -- Hide quoted text -

 - Show quoted text -