How to display a specified peiod in calendar (i.e. from 24 Oct., 2012 to 20 May, 2013)

97 views
Skip to first unread message

hp....@gmail.com

unread,
Apr 17, 2014, 2:36:26 AM4/17/14
to jquery-front...@googlegroups.com
Hello everyone,

I want to display calendar for specific period (for example: from 24 Oct, 2012 to 20 May, 2013). So i have set starting date by initializing date parameter as date: new date(2012,10,24,0),00,00,000)  in $("#mycal").jFrontierCal() . But how can i set ending date to 20 may, 2013, as i haven't found any option in jFrontierCal() for it.
Please suggest me how to do this.
Message has been deleted

hp....@gmail.com

unread,
Apr 22, 2014, 12:43:31 AM4/22/14
to jquery-front...@googlegroups.com
No reply received yet..... :(
 Plz suggest some solution

Michael Duncan

unread,
Apr 22, 2014, 2:16:02 PM4/22/14
to jquery-front...@googlegroups.com
The start and end dates are shown in bold below... The date format is year, month, day, hours, miniutes, seconds, milliseconds). just use zeros where it doesn't apply.

jfcalplugin.addAgendaItem(
"#mycal",
"Indiana Jones and the Last Crusade",
new Date(1989,4,24,1,0,0,0),
new Date(1989,4,25,23,59,59,999),
false,
{
fname: "Indiana",
lname: "Jones",
artifact: "Holy Grail"
},
{
backgroundColor: "#FF0000",
foregroundColor: "#FFFFFF"
}
);


--
You received this message because you are subscribed to the Google Groups "jQuery Frontier Calendar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-frontier-ca...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

hp....@gmail.com

unread,
Apr 23, 2014, 1:17:51 AM4/23/14
to jquery-front...@googlegroups.com
Thanks for your reply. In your reply, you have given period for a single agenda. But my question is different, I want to add multiple agenda items for a specific period. Out of this period, calendar days should be disabled, i.e. user should not be able to able to add events out of this period.
Plz suggest me some solution.
To unsubscribe from this group and stop receiving emails from it, send an email to jquery-frontier-calendar+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages