| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| njpmr 
 
 
 Joined: 28 Feb 2010
 Posts: 24
 
 
 | 
			
				|  Posted: Tue Mar 02, 2010 3:00 am    Post subject: Date TIme Picker |   |  
				| 
 |  
				| How can I add a link like "Today: Mar 1, 2010"  to display below the timepicker? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| calendarxp Site Admin
 
 
 Joined: 30 Jan 2005
 Posts: 409
 
 
 | 
			
				|  Posted: Tue Mar 02, 2010 4:08 am    Post subject: |   |  
				| 
 |  
				| Check the plugins.js of the timepicker theme and find a line that assigns the option gsBottom, then append it with the following HTML: 
  	  | Code: |  	  | <br><A class='BottomAnchor' href='javascript:void(0)' onclick='if(this.blur)this.blur();if(!fSetDate(gToday[0],gToday[1],gToday[2]))alert(\"You cannot select today!\");return false;' onmouseover='return true;' >Today</A> | 
 _________________
 Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| njpmr 
 
 
 Joined: 28 Feb 2010
 Posts: 24
 
 
 | 
			
				|  Posted: Tue Mar 02, 2010 11:31 am    Post subject: |   |  
				| 
 |  
				| Thanks for the quick response. Just a couple things...I would like to display the actual date next to it as in some of your samples. And also , How can I format it...font,color,remove link underline, etc.
 Thanks again.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| calendarxp Site Admin
 
 
 Joined: 30 Jan 2005
 Posts: 409
 
 
 | 
			
				|  Posted: Tue Mar 02, 2010 10:39 pm    Post subject: |   |  
				| 
 |  
				| Just modify the CSS class "BottomAnchor" in the css file of the theme. e.g. add "text-decoration:underline" if you need underline. _________________
 Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |