Hello everybody,
I hope I can get some help here with a possible script conflict.
I have a script for a popup calendar (
http://www.epoch-calendar.com/javasc...dar/index.html) that requires the following initialization:
Code:
<script type="text/javascript">
var calendar1; /*must be declared in global scope*/
/*put the calendar initializations in the window's onload() method*/
window.onload = function() {
calendar1 = new Epoch('today','popup',document.getElementById('today'),false);
calendar2 = new Epoch('LMP1','popup',document.getElementById('LMP1'),false);
};
</script>
It works well as long as the <body> tag doesn't have any other onload functions added.
However, if I try to add other scripts (freehand drawing, etc) that would make the <body> tag look like this:
Code:
<body onload="init(); ReloadImage(); SetSwitchOn('Freehand'); checkIt();">
nothing works anymore, neither the calendar nor the other functions.
Any suggestions?...
Thank you in advance.