Error in IE using jquery cycle with fx: 'custom' with property "display"
Dear jquery-cycle-cracks
I use the cycle plugin for diplaying som banner in a website.
My idea was to move them one by one, from left-side in,
leave a couple of seconds and then
let them move out to the right side.
That works fine wit one or more banners on Firefox, Opera, Safari but not on IE (V8).
The IE always trows a Error:
Zeile: 16
Fehler: Die display Eigenschaften wurden nicht gefunden. Ungültiges Argument.
It happens with the followinghtmlcode as example(simplified):
- <div id="banner">
<div id="top_banner" class=" public">
<div class="banner_wrapper">
<p>this is an empty div</p>
</div>
<div class="banner_wrapper blau">
<a href="http://www.bonauer-architekten.ch/">
<img height="80px" width="266px" alt="Bonauer Architekten" src="anyimage.jpg"/>
</a>
<span style="margin-left:271px; width:709px;" class="banner_text">
<p>some text to display</p>
</span>
</div>
</div>
</div>
this is my cycle-function:
- <script type="text/javascript">
$(document).ready(function() {
// cycle für Werbebanner oben
$('#top_banner.public').cycle({
fx: 'custom',
speedIn: 2000,
speedOut: 1000,
delay: -9000,
timeout: 10000,
cssBefore:{
top: 0,
left: -3000,
display:'block'
},
animIn:{
left: 0,
display:'block'
},
animOut:{
left:4000,
display:'block'
}
});
});
</script>
Yo find the example at: http://www.waldenburgertal.ch/ueber.html
I would appreciate any help, couse i've plaingaround with that mess many ours
kind regards, florian