1
jQuery 플러그인이 있습니다. Chrome 및 Firefox에서 작동하는 3.2.7을 supersized하지만 IE8에서는 작동하지 않습니다. 사진이로드되지 않습니다.Supersized 3.2.7이 IE8에서 작동하지 않습니다.
다음은 콘솔에 표시된 오류입니다.
SCRIPT5007: Unable to get value of the property 'thumb': object is null or undefined
supersized.js?ver=3.4, line 13 character 1126
자바 스크립트 코드 :
은<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="assets/js/supersized.js?ver=3.4"></script>
<script src="assets/js/supersized.shutter.js?ver=3.4"></script>
<script src="assets/js/easing.js"></script>
<script>
jQuery(function($){
jQuery.supersized({
slide_interval: 5000,
transition: 'fade',
transition_speed: 1000,
new_window: 0,
horizontal_center: 1,
progress_bar: 0,
mouse_scrub: 0,
slides:[
{image: 'http://localhost/assets/images/city-at-night.jpg', title: '<h1>Discover More Possibilities...</h1><h2>At Lorem Ipsum, we fulfil your ideas'},
{image: 'http://localhost/assets/images/modern-skyscraper.jpg', title: '<h1>Explore Our Capabilities</h1><h2>Lorem Ipsum Dolor Sit Amet'},
]
});
});
</script>
<script src="assets/js/scripts.js"></script>
는 어떤 도움을 주시면 감사하겠습니다!
슬라이드 배열 내에서 마지막 쉼표를 제거하려고합니다. –
마지막 줄이 아닌 마지막 쉼표를 제거하십시오 – user990717
감사합니다! 문제 해결됨! –