Skip to main content
Inspiring
July 21, 2009
Question

Increasing the size of the datepicker icon in <cfinput type='datefield'...

  • July 21, 2009
  • 1 reply
  • 1853 views

HI,

I'm using <cfinput type="datefield" name="month_year"> in a form and would like to know if the icon that the datepicker provides can be increased.

Here's the sourcecode at runtime:  /CFIDE/scripts/ajax/resources/cf/images/DateChooser.png"/>

Thanks!

This topic has been closed for replies.

1 reply

Dileep_NR
Inspiring
July 22, 2009

Hi,

Please get image id from view source of the date field

  document.getElementById(<<imageid>>).style.height= 100;

try this

eg:

<script language="javascript">   
    document.getElementById("dateboxCFForm_1_cf_button").style.height= 100;
</script>

Dileep_NR
Inspiring
July 23, 2009

HI,

Did you try this?

jenn1Author
Inspiring
July 23, 2009

Hi,

Yes I did and nothing happened.  So what I did was to get the calendar icon from the .../CFIDE/...images... folder, increased the side and replaced it.  Have you ever tried your method and has it worked for you?

Thanks,

Jenn