友人 HTML4/CSS2 で Web サイトを作成しました。そして今、jquery 画像スライダーを追加したいと思います。しかし、私はjqueryを扱っていません。そして、無料の jquery スライダーをいくつかダウンロードしました。しかし、問題は、特定の場所にそれらを設定できなかったことです。私は修正中です。私を助けてください。
1 に答える
0
まず、スライダー プラグインの使用方法をお読みください。
どのプラグインでも、サポートされている JS、CSS、画像ファイルを含むプラグイン パッケージをダウンロードする必要があります。
1. Include required site CSS file and plugin CSS file
2. Include jQuery file
3. Include dependency files for the plugin if needed
(some plugin require jqueryui, mousewheel,etc)
4. Write the HTML content code as instructed in plugin document for your requirement.
(something like <div class='my-slider'><ul><li>item1 </li></div> etc)
5. Configure the HTML content with jQuery plugin. This happens usually at document.ready event.Like
$(document).ready(function(){
$('.my-slider').pluginfunction(); // .slider();
});
于 2012-10-19T08:49:49.203 に答える