質問

気づいた問題を単純なスプラッシュのページを使用jquery.サイクルです。

http://www.rynicdesign.com/

Firefoxで(開いているのがfirebugの設置、画像の回転表示されない初めてのページにアクセスなキャッシュ-ctrl-f5)まだまの負荷を適切にその後のます。

ないことが条件とその他のブラウザie、chrome、safari).

そのアイデアですが?

ページが小さいが、ここでは関連する詳細情報)

    <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css&amp;2.8.0r4/build/base/base-min.css" />
    <link rel="stylesheet" type="text/css" href="/templates/splash/css/splash.css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.2.73.js"></script>
    <script type="text/javascript"><!--//--><![CDATA[//><!--
    $(document).ready(function() {
        $('.middle').cycle({
            fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
            autostop: 1,
            timeout: 2500 // milliseconds between slide transitions (0 to disable auto advance)
        });
    });

    //--><!]]></script>
  </head>
  <body id="page">
    <div id="doc4" class="main-frame">
    <div class="top"></div>
    <div class="middle" align="center">
        <img src="/templates/splash/images/rynic-design.gif" alt="Welcome to RYNiC Designs" />
        <a href="/about"><img src="/templates/splash/images/enter.gif" alt="click to enter website" /></a>
    </div>
    <div class="bottom"></div>
    </div>
  </body>
</html>

これからも、しぶき。css

html, body, #page, #doc4 {height:100%;margin:auto;}

.top, .middle, .bottom {clear:both;overflow:auto;display:block;}
.middle {background-color:#ffffff;overflow:hidden;}
.top, .bottom {height:35%;}

.top {background: #ffffff url(/templates/splash/images/left-bg.gif) repeat-y scroll top left;}
.bottom {background: transparent url(/templates/splash/images/right-bg.gif) repeat-y scroll top right;}

#doc4 {background:transparent url(/templates/splash/images/right-bg.gif) repeat-y scroll right bottom;}
役に立ちましたか?

解決

私がここを抜粋したものの答え Jqueryのサイクル+Firefox Squishing画像).

問題はFirefoxの修正のimg要素のサイズを完全 時点での表示スタイルを設定 (起動するとサイクル)その場合は画像なロードが完了するのであろうな初期のGETリクエスト)、その高さと幅のスタイルの属性は小さいなんなのかなどについては、そのサイズのFirefoxのイメージプレースホルダーが登場しますが、こちらが登場164×16ピクセル)

その後のご要望、Firefoxを知って寸法かどうかのキャッシュによって推測し、ビットはこちらそれだけの負荷し前のサイクル設定可能 display: none).

ることはできませんを指定 middle 事業部のサイズを事前に:

#middle {
    width:  974px;
    height: 110px;
}

(とは、どんな複雑な自画像の自分のウェブサイトは動的にロ画像の小規模なものも含めると、さすがの私を追加フットワーク.)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top