ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

small calendar - load next month without page refresh

November 18, 2009 2:19am

Subscribe [10]
  • #31 / Jan 14, 2010 7:17am

    ramtinworld

    7 posts

    Hi again,

    so I am on the right track:

    1- the jQuery is on the homepage which has a small calendar(template) embeded in it.

    Just couple of things:

    2- calendar template does not have any standard html tag. It purely has the {exp} tags to load the calendar ONLY. otherwise we will double up the html tags, am I right?

    3- the <div id=“calendar”> and <div id=“calendar_holder”> are sitting on the calendar template not the HOMEPAGE template.

    I think once I am clear with these I will give it another go. I hope this will resolve it.

    Thanks heaps,
    Ramtin

  • #32 / Jan 14, 2010 7:31am

    brendanh

    32 posts

    hey,
    1 - yup
    2 - Calendar template should look like any other page and should have all the html tags. Look at this page from above - http://www.cac-ce.com/resource_calendar - this is where the small calendar (http://www.cac-ce.com/ - down bottom) points to as you can see the calendar page is a full page with all html tags.The calendar on http://www.cac-ce.com/resource_calendar is in a div#calendar. The jquery looks for this div on the page that it points to and loads only that.
    3 - They are on both really - you don’t need the calendar_holder on the calendar template page

    Brendan

  • #33 / Jan 14, 2010 7:41am

    ramtinworld

    7 posts

    Thanks Brenden,
    It’s 10:40pm here in Sydney now, I will give this another go tomorrow morning.
    I will let you know 😊
    Have a good one.
    Cheers,
    Ramtin

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases