CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error in IE 7

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> FlatCalendarXP Related
View previous topic :: View next topic  
Author Message
amcgibbon



Joined: 29 Dec 2009
Posts: 13

PostPosted: Wed Dec 30, 2009 5:47 pm    Post subject: Error in IE 7 Reply with quote

I am getting the following errors in IE on the following page. If you could help me suss out this problem I would be most appreciative.

http://jalc.org/rr/bands/overview.asp

In IE7:

Line: 50
Char: 2
Error: 'null' is null or not an object
Code: 0
URL: http://jalc.org/calendar/iflateng.htm

In IE8:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 1.1.4322; eMusic DLM/4; .NET CLR 3.0.30729)
Timestamp: Wed, 30 Dec 2009 17:44:12 UTC


Message: 'null' is null or not an object
Line: 49
Char: 2
Code: 0
URI: http://jalc.org/calendar/plugins.js?0
Back to top
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Wed Dec 30, 2009 11:23 pm    Post subject: Reply with quote

You have the following code set in plugins.js:
Code:
function fOnResize() {
var cap=fGetById(gContainer.document,"smallCaption");
cap.innerHTML=gMonths[gCurMonth[1]-1]+" "+gCurMonth[0];
}


But obviously there is no matching element named as "smallCaption" in your html container page. It looks like this code is copied from somewhere and I think you just need to remove this function if it's not required, or add the missing html element with id "smallCaption".

By the way, it's easier to get the exact error by running your page in firefox instead of IE, as in firefox you can check the exact line of error using the javascript console.

_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Back to top
View user's profile Send private message
amcgibbon



Joined: 29 Dec 2009
Posts: 13

PostPosted: Thu Dec 31, 2009 2:22 am    Post subject: A Million Thanks Reply with quote

Thank you so much for your speedy reply and your recommendation about firefox and the error console. Have a happy New Year!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> FlatCalendarXP Related All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group