Foren
Design date field
anand gopalan, geändert vor 10 Jahren.
Design date field
Expert Beiträge: 442 Beitrittsdatum: 02.03.12 Neueste Beiträge
Hi,
I want to design date field like this site(http://new.davglass.com/files/yui/cal2/),
Please help me to design like this. when I do onClick the text box calender should appear
see the screenshot.
I want to design date field like this site(http://new.davglass.com/files/yui/cal2/),
Please help me to design like this. when I do onClick the text box calender should appear
see the screenshot.
Anhänge:
Oliver Bayer, geändert vor 10 Jahren.
RE: Design date field
Liferay Master Beiträge: 894 Beitrittsdatum: 18.02.09 Neueste Beiträge
Hi Anand,
as Liferay is using AlloyUI which is based on YahooUI (YUI) the input mask for a calender should at least be similar. If you want to customize it further you can create a new theme and include a css file which overrides the default AlloyUI css. If you want to override a style which is already defined in AlloyUI you can use "!important;" at the end of the css rule so your customization takes precedence.
HTH Oli
as Liferay is using AlloyUI which is based on YahooUI (YUI) the input mask for a calender should at least be similar. If you want to customize it further you can create a new theme and include a css file which overrides the default AlloyUI css. If you want to override a style which is already defined in AlloyUI you can use "!important;" at the end of the css rule so your customization takes precedence.
HTH Oli