ernie99
12-07-2010, 11:34 PM
Hi everyone, I would appreciate your advice on the following problem.
I am using the jquery s3slider plugin (http://www.serie3.info/s3slider/). It works well in FF, Chrome, Safari etc but there's a problem in IE8.
I'll post the code but it's probably easiest to look at the site.
http://www.teamcapital.co.nz
As far as I'm aware the s3slider plugin is compatible with IE7 & IE8 so the problem must be with my markup or with a conflict with other scripts on the page although there is no JS error.
If anyone can give there opinion on possible markup changes, css changes etc that might fix this I would really appreciate it.
Relevant Code
Full slider JavaScript here
http://gerty.netcentric.be/scripts/s3slider.js
<head>
<script type="text/javascript" src="http://www.teamcapital.co.nz/smartoptimizer/?scripts/jquery.js"></script><link id="ctl00_ctl00_ctl00_ContentPlaceHolderDefault_sslider" rel="stylesheet" type="text/css" href="http://www.teamcapital.co.nz/smartoptimizer/?css/s3slider.css"></link><script id="ctl00_ctl00_ctl00_ContentPlaceHolderDefault_slider" type="text/javascript" src="http://www.teamcapital.co.nz/smartoptimizer/?scripts/s3Slider.js"></script>
</head>
<body>
<div id="home">
<script type="text/javascript">
$(document).ready(function() {
$('#s3slider').s3Slider({
timeOut: 7500
});
});
</script>
<style type="text/css">
#s3slider
{
width:620px;
height:350px;
}
#s3sliderContent
{
width:620px;
}
.s3sliderImage span {
background-color:#000;
}
.s3sliderImage span.ctop,.s3sliderImage span.cbottom
{
width:594px;
}
.s3sliderImage span.cleft,.s3sliderImage span.cright,.s3sliderImage span.ccenter
{
width: 620px;
height:330px;
}
.s3sliderImage span.ccenter
{
width: 310px;
height:117px;
}
</style>
<div id="s3slider">
<ul id="s3sliderContent">
<li class="s3sliderImage">
<a href="/new-vehicles/hsv">
<img src="/umbraco/imagegen.aspx?image=/media/5077/hsv-promo.jpg&width=620&height=350&constrain=true" alt="HSV Advert" /></a>
<span /></li>
<li class="s3sliderImage">
<a href="/new-vehicles/hsv">
<img src="/umbraco/imagegen.aspx?image=/media/5087/hsv-advert-2.jpg&width=620&height=350&constrain=true" alt="HSV Promo 2" /></a><span /></li>
<li class="s3sliderImage">
<a href="/new-vehicles/holden/barina-spark">
<img src="/umbraco/imagegen.aspx?image=/media/4568/holden-barina-spark.jpg&width=620&height=350&constrain=true" alt="Holden Barina Spark" /></a>
<span class="cbottom"><b>New Barina Spark - Holden's next top model.</b><br />Practical, sleek and not just hot on the outside, but has what it takes on the inside.</span>
</li><li class="clear s3sliderImage" />
</ul>
</div>
</div>
</body>
Thanks for your time
I am using the jquery s3slider plugin (http://www.serie3.info/s3slider/). It works well in FF, Chrome, Safari etc but there's a problem in IE8.
I'll post the code but it's probably easiest to look at the site.
http://www.teamcapital.co.nz
As far as I'm aware the s3slider plugin is compatible with IE7 & IE8 so the problem must be with my markup or with a conflict with other scripts on the page although there is no JS error.
If anyone can give there opinion on possible markup changes, css changes etc that might fix this I would really appreciate it.
Relevant Code
Full slider JavaScript here
http://gerty.netcentric.be/scripts/s3slider.js
<head>
<script type="text/javascript" src="http://www.teamcapital.co.nz/smartoptimizer/?scripts/jquery.js"></script><link id="ctl00_ctl00_ctl00_ContentPlaceHolderDefault_sslider" rel="stylesheet" type="text/css" href="http://www.teamcapital.co.nz/smartoptimizer/?css/s3slider.css"></link><script id="ctl00_ctl00_ctl00_ContentPlaceHolderDefault_slider" type="text/javascript" src="http://www.teamcapital.co.nz/smartoptimizer/?scripts/s3Slider.js"></script>
</head>
<body>
<div id="home">
<script type="text/javascript">
$(document).ready(function() {
$('#s3slider').s3Slider({
timeOut: 7500
});
});
</script>
<style type="text/css">
#s3slider
{
width:620px;
height:350px;
}
#s3sliderContent
{
width:620px;
}
.s3sliderImage span {
background-color:#000;
}
.s3sliderImage span.ctop,.s3sliderImage span.cbottom
{
width:594px;
}
.s3sliderImage span.cleft,.s3sliderImage span.cright,.s3sliderImage span.ccenter
{
width: 620px;
height:330px;
}
.s3sliderImage span.ccenter
{
width: 310px;
height:117px;
}
</style>
<div id="s3slider">
<ul id="s3sliderContent">
<li class="s3sliderImage">
<a href="/new-vehicles/hsv">
<img src="/umbraco/imagegen.aspx?image=/media/5077/hsv-promo.jpg&width=620&height=350&constrain=true" alt="HSV Advert" /></a>
<span /></li>
<li class="s3sliderImage">
<a href="/new-vehicles/hsv">
<img src="/umbraco/imagegen.aspx?image=/media/5087/hsv-advert-2.jpg&width=620&height=350&constrain=true" alt="HSV Promo 2" /></a><span /></li>
<li class="s3sliderImage">
<a href="/new-vehicles/holden/barina-spark">
<img src="/umbraco/imagegen.aspx?image=/media/4568/holden-barina-spark.jpg&width=620&height=350&constrain=true" alt="Holden Barina Spark" /></a>
<span class="cbottom"><b>New Barina Spark - Holden's next top model.</b><br />Practical, sleek and not just hot on the outside, but has what it takes on the inside.</span>
</li><li class="clear s3sliderImage" />
</ul>
</div>
</div>
</body>
Thanks for your time