I am having a issue with a js slider on one of my sites.
The slider loads consistanly in FF and Chrome but in IE it has issues. Sometimes it loads and sometimes it does not.
I could really use some help from the experts.
web site:http://www.coastalpridecarpets.com/index.php
Thank you so much in advance for you help!!
Crissymarie
Well I was wrong.
The js slider does not like the combination of windows7 and IE9.
http://www.coastalpridecarpets.com
Onload the js slider will not load the images.
If I refresh the screen the images load, but when I leave the page and come back they wont load unless I refresh the screen.
Who out there has a work around for this?
Thank you in advance for your assistance.
Crissymarie
Try using a more modern jQuery core library instead of 1.4 which predates IE9.
<script src="http://code.jquery.com/jquery-latest.min.js">
If that doesn't work, force IE into emulation mode by adding this to your meta tags:
<meta http-equiv="X-UA-Compatible" content="IE=8" >
Nancy O.
I can't test the code here so this may be difficult to sort out - but let's try ![]()
First thing I'd try is to append a query string to the image source URL. The jQuery code would be:
jQuery(document).ready(function() {
jQuery("#featured img").each(function(index, element) {
element.src += "?k=" + Date.now();
});
// ... existing code...
}
The section in bold is what you neeed to add. However your JavaScript file, "custom.js", is minified so it will be hard to find where to add this. If you have non-minified version please use that. If not, it's towards the end of the line 4...
--
Kenneth Kawamoto
North America
Europe, Middle East and Africa
Asia Pacific