CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dynamic date range demo with drop down lists

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> PopCalendarXP Related
View previous topic :: View next topic  
Author Message
sfakman



Joined: 23 Sep 2006
Posts: 4

PostPosted: Mon Sep 25, 2006 9:20 pm    Post subject: Dynamic date range demo with drop down lists Reply with quote

Hi

Further to your last post, I have just started a new topic. I can't quite see how this works. Basically, I just want to do what you do in the Dynamic Date Range demo but with drop down lists. I can't get it to work.

My Start date code is this:

Code:

<a href="javascript:void(0)" onClick="if(this.blur)this.blur();var fm=document.Search;if(self.gfPop)gfPop.fPopCalendar(document.Search.arrDate,[[<%=Year(iCalendarYearsStart)%>,<%=Month(iCalendarYearsStart)%>,<%=Day(iCalendarYearsStart)%>],[<%=Year(iCalendarYearsEnd)%>,<%=Month(iCalendarYearsEnd)%>,<%=Day(iCalendarYearsEnd)%>]],fm.arrDate_year);"><img src="images/cal.gif" alt="Calendar" name="popcal" width="34" height="21" border="0" align="absmiddle" id="popcal"></a>


And my end date code is this:

Code:

<a href="javascript:void(0)" onClick="if(this.blur)this.blur();var fm=document.Search;if(self.gfPop)gfPop.fPopCalendar(document.Search.deptDate,[[<%=Year(iCalendarYearsStart)%>,<%=Month(iCalendarYearsStart)%>,<%=Day(iCalendarYearsStart)%>],[<%=Year(iCalendarYearsEnd)%>,<%=Month(iCalendarYearsEnd)%>,<%=Day(iCalendarYearsEnd)%>]],fm.deptDate_year);"><img src="images/cal.gif" alt="Calendar" name="popcal2" width="34" height="21" border="0" align="absmiddle" id="popcal2"></a>   


Many thanks
Back to top
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Tue Sep 26, 2006 1:12 am    Post subject: Reply with quote

Please check out the "classic demo" in the download package. It may be exactly what you want - dropdowns with dynamic date range restriction.
_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> PopCalendarXP Related All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group