一瞬画像が
現在、jQueryを使って、以下のようなフラッシュもどきのギャラリー表示を作っていますが
このソースをSleipnirというブラウザで実行し、リロードをすると、一瞬画像が縦に並んでしまい
一瞬とはいえ、見た目がくずれてしまいます。
これをくずれないように表示するにはどうしたらよいのでしょうか?
どなたか、よいお知恵をお願いいたします。
<!doctype html>
<html>
<head>
<title>JQuery Cycle Plugin - Example Slideshow</title>
<!-- include jQuery library -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<!-- include Cycle plugin -->
<script type="text/javascript" src="jquery.cycle.all.min.js"></script>
<!-- initialize the slideshow when the DOM is ready -->
<script type="text/javascript">
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade' , timeout: 8000 , speed: 500 // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
$('.slideshow2').cycle({
fx: 'fade' , timeout: 4000 , speed: 4000 // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
$('.slideshow3').cycle({
fx: 'fade' , timeout: 2000 , speed: 8000 // choose your transition type, ex: fade, scrollUp, shuffle, etc...
});
});
</script>
</head>
<body>
<div style="width:900px;">
<div class="slideshow2" style="float:left;">
<img src="images/common/a1.jpg" width="300" height="300" />
<img src="images/common/a2.jpg" width="300" height="300" />
<img src="images/common/a3.jpg" width="300" height="300" />
<img src="images/common/a4.jpg" width="300" height="300" />
<img src="images/common/a5.jpg" width="300" height="300" />
<img src="images/common/a6.jpg" width="300" height="300" />
<img src="images/common/a7.jpg" width="300" height="300" />
<img src="images/common/a8.jpg" width="300" height="300" />
<img src="images/common/a9.jpg" width="300" height="300" />
<img src="images/common/a10.jpg" width="300" height="300" />
<img src="images/common/a11.jpg" width="300" height="300" />
</div>
<div class="slideshow" style="float:left;">
<img src="images/common/b1.jpg" width="300" height="300" />
<img src="images/common/b2.jpg" width="300" height="300" />
<img src="images/common/b3.jpg" width="300" height="300" />
<img src="images/common/b4.jpg" width="300" height="300" />
<img src="images/common/b5.jpg" width="300" height="300" />
<img src="images/common/b6.jpg" width="300" height="300" />
<img src="images/common/b7.jpg" width="300" height="300" />
<img src="images/common/b8.jpg" width="300" height="300" />
<img src="images/common/b9.jpg" width="300" height="300" />
<img src="images/common/b10.jpg" width="300" height="300" />
<img src="images/common/b11.jpg" width="300" height="300" />
<img src="images/common/b12.jpg" width="300" height="300" />
</div>
<div class="slideshow3" style="float:right;">
<img src="images/common/c1.jpg" width="300" height="300" />
<img src="images/common/c2.jpg" width="300" height="300" />
<img src="images/common/c3.jpg" width="300" height="300" />
<img src="images/common/c4.jpg" width="300" height="300" />
<img src="images/common/c5.jpg" width="300" height="300" />
<img src="images/common/c6.jpg" width="300" height="300" />
<img src="images/common/c7.jpg" width="300" height="300" />
<img src="images/common/c8.jpg" width="300" height="300" />
<img src="images/common/c9.jpg" width="300" height="300" />
<img src="images/common/c10.jpg" width="300" height="300" />
<img src="images/common/c11.jpg" width="300" height="300" />
</div>
</div>
</body>
</html>
補足
下記の入力表記に変えて見たのですが、やはりチェックボックスのデザインが、表示されておりません。 記述方法を教えていただけないでしょうか。 <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.screwdefaultbuttonsV2.js"></script> <script type="text/javascript" src="js/page-scroller.js"></script> <script type="text/javascript" src="js/select.js"></script> <script type="text/javascript" src="http://ajaxzip3.googlecode.com/svn/trunk/ajaxzip3/ajaxzip3.js"></script> <script type="text/javascript" src="./config/js/prototype.js"></script> <script type="text/javascript" src="./config/js/autoKana.js"></script> <script type="text/javascript" src="./config/js/fontchange.js"></script> <script type="text/javascript" src="./config/js/formcheck.js"></script> <script type="text/javascript"> function pc_check(){ var isAndroid = (navigator.userAgent.match(/Android/i)); var isiPhone = (navigator.userAgent.match(/iPhone/i)); var isiPad = (navigator.userAgent.match(/iPad/i)); var isFlashInstalled=function(){if(navigator.plugins["Shockwave Flash"]){return true;}try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash");return true;}catch(a){return false;}}(); var pc_check; if(isAndroid || isiPhone){ pc_check = "sp"; }else if(isiPad){ pc_check = "ipad"; }else { if (isFlashInstalled){ pc_check = "pc"; }else{ pc_check = "sp"; } } return pc_check; } if(pc_check() != 'ipad'){ document.write('<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">'); } jQuery.noConflict(); $(function(){ $('input:checkbox').screwDefaultButtons({ image: 'url("img/common/check_box.gif")', width: 20, height: 20 }); $('.selectValHidden').each(function(){ $(this).next().text($(this).val()); }); document.onclick=clickHandler; $(".submit li").mouseover(function(){ $(this).find("input").stop(); $(this).find("input").animate({opacity:0.6},{duration:0.5*1000, easing:"linear"}); }).mouseout(function(){ $(this).find("input").stop(); $(this).find("input").animate({opacity:1.0},{duration:1*1000, easing:"linear"}); }); })(jQuery); </script> //フリガナ変換 <script type="text/javascript"> var auto_kana_1 = new AutoKana('articlename01', 'articlename03', {katakana:true, toggle:false}); var auto_kana_2 = new AutoKana('articlename02', 'articlename04', {katakana:true, toggle:false}); </script>