[Plugin: Ajaxize] Need help on how to make a calendar scroll
-
Hello there!
I’ve implemented an ‘event calendar’, works like a widget. I have the custom post type ‘event’, and the calendar is generated dynamically for the actual month detecting the posts which are events.
You can see it at http://www.espacofluxo.com.br (recommend using firebug to see the generated code)Well, i want now to create two buttons (‘<<‘ and ‘>>’) so the user can scroll the months of the calendar.
The function which generates the calendar has a parameter $interval, if its value == 0 then the actual month is displayed, if its value == 1, the calendar for the next month is displayed and so on..
Since the plugin does not accept functions with parameters I’ve created a new function init_calendar
function init_calendar() {
if ($interval == null)
$interval = 0;
calendar($interval);
}It worked, the div was generated by the plugin and I successfully implemented the refresh function in the faq of this plugin 🙂
The calendar faded out, then faded in..Well, could you help me develop this calendar scroll functionality?
I’m not very used to ajax and javascript :sMany thanks, and keep up the good work!
- The topic ‘[Plugin: Ajaxize] Need help on how to make a calendar scroll’ is closed to new replies.