How can I create a link in frontpage that will grab the next month on the sharepoint Calendar view. Like for instant if this June, when click the link should take you to the next month on the sharepoint site. I was told it could be done using javascript strings but I don't much javascript.
Below is my attempt at it.
Any suggestions will help me out alot! thanks in advance.
<script language="JavaScript">
<!--
String s = "http://sharepoint.yesta.com/sites/GMTT/Lists/Events/calendar.aspx?CalendarDate=2006-"
num currMonth = GetMonth();
num nextMO = currMonth +1;
String nextMonth = nextMo;
string end = "-1&CalendarPeriod=month&View={ABAF97B7-69CB-464D-9F9B-800F346E5BC3}"
String totalUrl = s+nextMonth+end;
//-->
</script>