Results 1 to 2 of 2

Thread: How to point to the correct link from the homepage calendar?

  1. #1
    Join Date
    Dec 2012

    How to point to the correct link from the homepage calendar?

    I'm having problem with the homepage calendar. *
    Here is an link - http://clontarf.girlsacademy.com.au/
    What I what to do is* - When the user clicks the date on the calendar, the page will go to the events page (go to news/events tab, scroll down to see the heading called "Events" under the test).
    Below javascript *pointing to the wrong link. How can I fix the javascript so it points to the correct link eg. http://clontarf.girlsacademy.com.au/...=Event-Test-63?
    function showEvents(date) {
    rtn = "";
    for (var i = 1; i < events.length; i++)
    if(1900+date.getYear()==events[i][2] && 1+date.getMonth()==events[i][3] && date.getDate()==events[i][4])
    rtn += events[i][1]+", \r\n";
    if(rtn == "") return [false, "", ""];
    return [true, '',rtn];
    function callEvent(dateText, inst) {
    dateText2 = dateText.split("/"); dateText2 = dateText2[2]+"-"+dateText2[0]+"-"+dateText2[1];
    $( "#datepicker" ).datepicker({
    beforeShowDay: showEvents,
    onSelect: callEvent
    Any help would be appreciated?

  2. #2
    You can check information this website.
    Check Safe Site is a website which lookup reputation and safety infomation. Check Safe Site will check if links are safe or not through Google Safe Browsing, Web of Trust, McAfee SiteAdvisor, Norton safeweb and some other free online malware scanners.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center