Observe the following painfully simple construction:
<div id="home_thumbnails">
<img onClick='loadFeature(0);' src='image_1.jpg'>
<img onClick='loadFeature(1);' src='image_2.jpg'>
<img onClick='loadFeature(2);' src='image_3.jpg'>
<img onClick='loadFeature(3);' src='image_4.jpg'>
<img onClick='loadFeature(4);' src='image_5.jpg'>
</div>
In firefox, this does exactly as advertised.
In Chrome, however, loadFeature doesn't get called for the first two images. I have an alert()
at the top of function loadFeature()
that demonstrates that the function isn't even called by the first two. The remaining three, however, call it just great.
Any explanation for this would be MUCH appreciated