svgmx5 Posted November 21, 2009 Share Posted November 21, 2009 I've been looking for hours on the net for a solution to this. Unfortunately i haven't found one. What i have is a php based calendar in which a user can navigate through the months. However i don't have clue on how to add ajax so the user can navigate the months with out refreshing the page. I've seen several tutorials on the net on how to do this. But i'm still a newbie at ajax, so i'm having issues understanding this. If someone here could shed some light and guide me in the right direction i would gladly appreciate it. Heres my php next and previous months code echo" [size=14pt] <tr> <td colspan='7' align='center'> <a href='?month=$previousmonth&year=$previousyear'>«</a> $title $year <a href='?month=$nextmonth&year=$nextyear'>»</a> </td> </tr>";[/size] From what i understand an on click function should be added to the link, thats the most i've understood Quote Link to comment Share on other sites More sharing options...
JustLikeIcarus Posted November 24, 2009 Share Posted November 24, 2009 One of the nicest implementations of this i've seen is http://arshaw.com/fullcalendar/ I believe it includes an example php script for sending the months events back as a JSON object. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.