I created a page that has three image blocks with images scrolling
randomly. See www.sipawards.com/results.php (not my original design, I
only had to do the search query, and then add in the images).
Everything is fine in FF, and but in IE8 (specifically) only the third
image appears and rotates correctly, unless you mouseover the top menu,
and then it all normalises.
I have tried removing the top menu and it doesn't change anything, so I
then experimented with the positionig of the idvs and classes for the
images, and finally established that in the script it's always the one
that listed last that openes correctly.
Here's the script:
<script type="text/javascript">
$(function() {
$('#slide1').cycle({
delay: -4000,
speed: 1000,
timeout: 6000,
random: 1
});
$('#slide2').cycle({
delay:0,
speed: 1000,
timeout: 6000,
random: 1
});
$('#slide3').cycle({
delay:-2000,
speed: 1000,
timeout: 6000,
random: 1
});
// function onBefore() {
// $('#title').html(this.alt);
// }
});
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>
I'm stumped. Does anyone have a clue what's happening? Maybe I'm
barking up the wrong tree?
Thanks in advance.
--
== Not nuts, just a little eccentric ==
> I have a problem, and I'm new to javascript, and can someone help me?
>
I'm sure someone in comp.lang.javascript can. Java is not the same as
JavaScript.
--
Op3racional - www.op3racional.eu
---------------------
If you're reading this, you're on Usenet
<http://oakroadsystems.com/genl/unice.htm>
>I'm stumped. Does anyone have a clue what's happening? Maybe I'm
>barking up the wrong tree?
This is the wrong place to ask. see
http://mindprod.com/jgloss/javascript.html9
The same problem in Java might be caused by forgetting all Applets on
the page run on a single thread. If you tie up the thread with a wait
on I/O, sleep or busy work, no other Applet will be able to do
anything.
You must put work that takes a while to complete on a background
thread.
--
Roedy Green Canadian Mind Products
http://mindprod.com
The future has already happened, it just isn�t evenly distributed.
~ William Gibson (born: 1948-03-17 age: 61)
Thanks, peeps, I'll try elsewhere.
I guess we look like marshmallow chickens.
<http://www.youtube.com/watch?v=-Cj3hGpCHYQ&NR=1>
--
Lew