PDA

View Full Version : Featured Content Slider v2.3 & IE7 error



revan_at
07-04-2008, 12:33 PM
1) Script Title: Featured Content Slider v2.3

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

3) Describe problem: (First of all let my say thank you for this great script) Unfortunatly there seems to be a problem in the IE7 with this script. As you can see here (http://www.mmc4life.de/community_project) there comes an error that the IE cann't load the site. If it doesn't appear on the first visit try to reaload the page 2-3x time and then it will come. At least it comes on my IE7 and on the IE7 of my friend. It works on Firefox. I tried to work around a bit and think it has to do something with the div's. If i remove some div the error doesn't appear or seems to appear just very randomly.

Please help me out here because i want to use your cool script - Thx :)

Nile
07-04-2008, 12:57 PM
Hahahah, IE says:

Internet Exporer cannot open the Internet site
http://www.mmc4life.de/community_project/.

Operation aborted
HAHAHA, thats funny. I can't help you because I get the error, try removing it and see if the errors still pops up(well, if you don't get the error, have me do it).

revan_at
07-04-2008, 01:25 PM
Hahahah, IE says:

HAHAHA, thats funny. I can't help you because I get the error, try removing it and see if the errors still pops up(well, if you don't get the error, have me do it).

The error is because of the script. Please open the website with firefox or IE6.

revan_at
07-05-2008, 12:47 PM
please help me here. i don't know how to handle this error.

revan_at
07-06-2008, 10:15 PM
ok this is a part of the index.html:



<div id="last_navi">
<span class="language">{users:navlang2}</span>
<div id="switch">
<div id="slider1" class="sliderwrapper">

<div class="contentdiv">
{community_aoe3:top_c_users}</div>

<div class="contentdiv">
{community_aoe3:top_c_clans}</div>

<div class="contentdiv">
{community_aoe3:top_navrand}</div>

<div class="contentdiv">
{community_aoe3:top_users}</div>
</div>
<div id="paginate-slider1" class="pagination"></div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 5000], //[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>

</div>
</div>
<!-- End of last_navi -->
<!-- articles -->
<div id="latest_articles"></div>
<div id="articles"></div>
<!-- End of articles -->
<div id="id21-21_">
<img id="id21_21" src="Bilder/21-21.gif" width="34" height="24" alt="" />
</div>
<div id="id22-22_">
<img id="id22_22" src="Bilder/22-22.gif" width="220" height="18" alt="" />
</div>
<!-- banner -->
<div id="banner"></div>
</div>
<!-- End of banner -->
<div id="id28-28_">
<img id="id28_28" src="Bilder/28-28.gif" width="222" height="19" alt="" />
</div>
<div id="t-right_">
<img id="t_right" src="Bilder/t-right.gif" width="222" height="22" border="0" alt="" />
</div>
<div id="t-left_">
<img id="t_left" src="Bilder/t-left.gif" width="220" height="22" border="0" alt="" />
</div>
<!-- content -->
<div id="content">
<div id="wrapper">
<!-- left-navi -->
<div id="left_column" >
<div class="left_column">
<div class="inhalt-left"> Tournaments</div><div class="inhalt-left2"></div>
<div class="inhalt-left"> Latest actions</div><div class="inhalt-left2"></div>
<div class="inhalt-left"> Events</div><div class="events"></div>
</div>
</div>
<!-- END of left-navi -->
<div id="right_column">
<div class="right_column">
<div class="inhalt-right"> Users-Center</div><div class="inhalt-right2"></div>
<div class="inhalt-right"> Latest Topics</div><div class="inhalt-right2"></div>
</div>
</div>
</div>
<div id="center_column">
<div class="center_column">

</div>
</div>
</div>
</div>



The interesting thing is that when i delete the following code



<div id="id21-21_">
<img id="id21_21" src="Bilder/21-21.gif" width="34" height="24" alt="" />
</div>
<div id="id22-22_">
<img id="id22_22" src="Bilder/22-22.gif" width="220" height="18" alt="" />
</div>
<!-- banner -->
<div id="banner"></div>
</div>
<!-- End of banner -->
<div id="id28-28_">
<img id="id28_28" src="Bilder/28-28.gif" width="222" height="19" alt="" />
</div>
<div id="t-right_">
<img id="t_right" src="Bilder/t-right.gif" width="222" height="22" border="0" alt="" />
</div>
<div id="t-left_">
<img id="t_left" src="Bilder/t-left.gif" width="220" height="22" border="0" alt="" />
</div>


the script seems to work.....

ddadmin
07-07-2008, 07:14 AM
It's hard to say for certain what's the cause looking at your page's source, but it's unlikely the culprit is the Featured Content Slider. That redirection error in IE is probably caused by an Ajax script on your page not being able to locate the referenced page(s). Seeing you have quite a few scripts on your page, start with a fresh page with except Featured Content Slider on it, then slowly add each one back in, checking the new page in IE along the way.

revan_at
07-07-2008, 11:24 AM
thank you ddadmin.

it was because of a conflict with another script deep in the system.

thx 4 help & the cool script!