i am trying to add a mini calendar to module on my website but was just wondering if there is a way that when they click on a specific date it will redirect to for example:
HTML Code:http://localhost/mywebsite/index.php?app=history&module=view§ion=view&do=searchevent&date=9/12/2012i am using this calendar http://javascriptcalendar.org/HTML Code:<script type="text/javascript"> window.onload = function(){ g_globalObject2 = new JsDatePick({ useMode:1, isStripped:true, target:"div4_example", cellColorScheme:"beige" }); g_globalObject2.setOnSelectedDelegate(function(){ var obj = g_globalObject2.getSelectedDay(); window.location.href = "http://www.ezineasp.net+obj.day "/" obj.month "/" obj.year"; document.getElementById("div3_example_result").innerHTML = obj.day + "/" + obj.month + "/" + obj.year; }); }; </script>



Reply With Quote

Bookmarks