0
debugging javascript page code
Participant
,
/t5/dreamweaver-discussions/debugging-javascript-page-code/td-p/80650
Dec 22, 2008
Dec 22, 2008
Copy link to clipboard
Copied
on IE page error reads:
Line: 186
Char: 4
Error: 'contentdivs[...].style' is null or not an object
Code:0
URL: http://www.canchair.com/new_web_product_detail.asp?ProductID=7&ProductFamily=&ProductFamilySub=
The part of the page that does not function as a result of the error is the javascript customer showcase script which can be viewed by clicking on "Customer Showcase" tab
What stumps me is that the error does not always exist. The error usually does not occur when going to the page directly.
It does,however, occur often when visiting:
1. http://www.canchair.com/new_web_product_detail.asp?ProductID=499&ProductFamily=5&ProductFamilySub=
2. and clicking on model #9840 which opens a small popup window.
3. and then clicking on the image featured on the popup window.
>What can be causing the error, or atleast, how can I make more sense of the error message?
Line: 186
Char: 4
Error: 'contentdivs[...].style' is null or not an object
Code:0
URL: http://www.canchair.com/new_web_product_detail.asp?ProductID=7&ProductFamily=&ProductFamilySub=
The part of the page that does not function as a result of the error is the javascript customer showcase script which can be viewed by clicking on "Customer Showcase" tab
What stumps me is that the error does not always exist. The error usually does not occur when going to the page directly.
It does,however, occur often when visiting:
1. http://www.canchair.com/new_web_product_detail.asp?ProductID=499&ProductFamily=5&ProductFamilySub=
2. and clicking on model #9840 which opens a small popup window.
3. and then clicking on the image featured on the popup window.
>What can be causing the error, or atleast, how can I make more sense of the error message?
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
/t5/dreamweaver-discussions/debugging-javascript-page-code/m-p/80651#M87197
Dec 29, 2008
Dec 29, 2008
Copy link to clipboard
Copied
I'm not getting the error in Firefox 3 or IE 7. What browser
are you using?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
aonefun
AUTHOR
Participant
,
/t5/dreamweaver-discussions/debugging-javascript-page-code/m-p/80652#M87198
Dec 30, 2008
Dec 30, 2008
Copy link to clipboard
Copied
thanks for the response!
Browser is IE7 and error still persists (sometimes yes and sometimes no)
does the error message details give a clue to what may be going on?
As this script is dependent on div tags to determine the begining and end of the content slider, can orphaned div tags on the page be causing this error?
Browser is IE7 and error still persists (sometimes yes and sometimes no)
does the error message details give a clue to what may be going on?
As this script is dependent on div tags to determine the begining and end of the content slider, can orphaned div tags on the page be causing this error?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
New Here
,
LATEST
/t5/dreamweaver-discussions/debugging-javascript-page-code/m-p/80653#M87199
Dec 30, 2008
Dec 30, 2008
Copy link to clipboard
Copied
It may mean one of your div tags just needs a style=
attribute. Spry and other JavaScript frameworks often identify
objects on a page by attributes, so if it doesn't exist, it may
throw an error.
What is the code around the error (line 186)?
What is the code around the error (line 186)?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

