I'm not getting the same error that you are. And I get it in FF as well as in IE (you have to ask FF to report errors, IE does it automatically). You should remove all this (not the one for slider1 - you need that one):
Code:
<script type="text/javascript">
featuredcontentslider.init({
id: "slider2", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "markup", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [false, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
as it isn't being used. However, your error is coming from this line (+/- 1):
Code:
if (targetobject.filters && targetobject.filters[0]){ //IE syntax
This means that IE has 'safe' Active X filters disabled. This is a common setting for IE used over a network. However, if this is on your own computer, and you have a 'stand alone' version of IE 6 with IE 7 as the main IE browser, you may be getting a different error in IE 7 until you remove the extra code I mentioned above (line 47 - document.getElementById(...) is null or not an object). If so, the problem is only with your 'stand alone' version of IE 6 - many of which have this feature disabled.
The code can be modified though, so that if IE can't do filters it will skip them and won't give an error.
Bookmarks