Support » Plugin: Ajaxize » [Plugin: Ajaxize] Need help on how to make a calendar scroll

  • Resolved GabrielJT


    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 (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;

    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 :s

    Many thanks, and keep up the good work!

Viewing 1 replies (of 1 total)
  • Plugin Author yoav.aner


    Hi Gabriel,

    In order to scroll between different calendar months you simply have to pass in a parameter to indicate which month you’d like to view…

    Therefore, I’m not entirely sure my plugin is the best resource for your website to be honest. Primarily because ajaxize doesn’t support passing parameters.

    Nice website by the way.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Ajaxize] Need help on how to make a calendar scroll’ is closed to new replies.