[EventCalendar] Months going to 404
Dan Galfano
daniel at galfanodesign.com
Mon Aug 27 17:44:51 UTC 2007
Thanks Chris!
I couldn't get your script to work, but I found a script that should
load the p7 functions in the head as opposed to the body, and it worked
fine in FF, but it didn't load in IE's.
<script type="text/JavaScript">
function p7runIt(){ //v1.0 PVII
//paste your onLoad events here
P7_TMclass();
P7_TMopen();
P7_equalCols2(1,'sidebar','P','maincontent','P')
}
onload=p7runIt;
//-->
</script>
Also, I'm hiding the ical icon, so when I move to the next month, it
shows up again. Short of just removing the button from the code, is
there any way for it NOT to show up when you click on the prev/next month?
This is assuming I get a script to load all the events in the head and
work for all browsers...
Chris Janton wrote:
> On 2007-08-25 , at 18:32 , Dan Galfano wrote:
>
>> Hmm. I thought it was working before with the same set up.
>>
>> I'm not sure what I need to do to let EC get it's word-in-edgewise...
>
> First thing you can try is to remove the onload code from the body tag
> of the page.
> If that was "hand entered" then you need to find out what part of you
> site needs it and get that javascript code re-worked.
>
> Second thing (or first if you wish) is to turn off all of the plugins
> that affect the pages except for EC and see if it works.
>
> Third thing is to go hack on the Javascript that defines the P7
> functions and modify sort of like
>
> function WindowOnload(f)
> {
> var prev=window.onload;
> window.onload=function(){ if(prev)prev(); f(); }
> }
>
> function p7Load ()
> {
> WindowOnload( function() { P7_TMclass();P7_TMopen();
> P7_equalCols2(1,'sidebar','P','maincontent','P'); } );
> }
>
> then make sure that p7Load is invoked, possibly just add this line at
> the end
>
> p7load();
>
>
> or something like that anyway.
>
> 8)
> ----------------------------------
> Chris Janton - face at CentosPrime dot COM
> Netminder for Opus1.COM
>
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
More information about the EventCalendar
mailing list