DMCA.com Protection Status

Thứ Ba, 26 tháng 11, 2013

Code Slider đẹp cho web - blog thời trang

Code Slider đẹp cho web - blog thời trang. Sau đây Bít Tuốt xin chia sẻ với các bạn Code Slider đẹp  rất thích hợp cho các web thời trang hay blog thời trang. Các bạn xem demo tại đây

Cách tạo Silder này như sau:

Bước 1: Thêm dưới đây lên trên thẻ đóng </head>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/tessssssssblog/jquery.transform-0.9.3.min_.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/tessssssssblog/jquery.mousewheel.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/tessssssssblog/jquery.RotateImageMenu.js"></script>
<link rel="stylesheet" type="text/css" href="https://sites.google.com/site/tessssssssblog/style.css" />


Bước 2: Bạn thêm phần này vào chỗ bạn muốn hiển thị

<div class="rm_wrapper">
<div id="rm_container" class="rm_container">
<ul>
<li data-images="rm_container_1" data-rotation="-15"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYfwf5oYmBvXY_dKvuqTWAaTkAp4Ur8jfPPBLDzLCp25dnushdvD17zzWXj1QWzW2mvgE9Ci8oUKhcqqVh0ea_ee6aNIpLU3l-v6g8qypnqVNrwmFXoDGvrWhPs8OVy6tFaZ1hft9ufmU/s1600/12.jpg"/></li>
<li data-images="rm_container_2" data-rotation="-5"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkynStdqbCHaTR-oQ_IpwJqATmFcYxE7mN2hqScwf-uammWTuM_aNKm-my-N-gmHxHjKo28Oh_olk5PM4oURvsx41PFEbcO8deljDkQGdsintedeqvZppJnofuIgSzxXgzn8VOl3cwT5Y/s1600/13.jpg"/></li>
<li data-images="rm_container_3" data-rotation="5"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb6LDyZxxJQrf-psJj1xcZTyS9ErYN3JVl6n0ejGW0AK9uArcygrreti8tpsnDMzc38PWH_5DXlHizfsou9B9oQNhGN-npfUYDyhpBehq6fpqjbKQ_vVTrnyeylVanWS0faCEiakoNLFA/s1600/14.jpg"/></li>
<li data-images="rm_container_4" data-rotation="15"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvdTll57iZhutSPiqF1pErC_9YazCBGSdhTlfI0K3VcGLCtdB6ox6vxSxpNm5ajdkZ5kls8AjlniWxp9nrlZXXz2jnc3lnIfEKtK8MYTa6b3IuckYj0MTZNS0YJruRDnZ6SG24VUIPsrU/s640/15.jpg"/></li>
</ul>
<div id="rm_mask_left" class="rm_mask_left"></div>
<div id="rm_mask_right" class="rm_mask_right"></div>
<div id="rm_corner_left" class="rm_corner_left"></div>
<div id="rm_corner_right" class="rm_corner_right"></div>
<h2>Fashion Explosion 2012</h2>
<div style="display:none;">
<div id="rm_container_1">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilKDCUqA39X6wrzwl2fYEkOmfai7b9q_CzFRgsDZu-XhjGA1awinRn3IBPax18nC9GnXEUUjQhiamaQT5qva5ifo_zNWH9nQeUkfaSz-Eb85-gf386aXd1t_xxKRz_sM58p_cTJr2Lrwk/s1600/16.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPdHVrlgz1JkEwgtzfbp4SawAaVRzuCW-rfK2RYwOcLmoH4fbBYOBCl1CVAQstjEUvjRiSyd-hmhe6xOiGi2A46mPc30qqRM5lScEQvciMAMueygU9v0Dt_oh-0uwLjZOZBPZZ9LQg-jQ/s1600/11.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigJxOO2JlG4jjMkBrdIc_AgXPfgL1hl-zGCSnyt0EkiFiLjXUf1lIAqK2LsPvXj1Q7W68xqobXzDnW7mCfys7d6hk-k7G_PYREGi4Zx4BJYbIi_xj7wYmXxXvk3crf1ZN5Ot0MVLvB7AY/s1600/1.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOa_I8tZE5Q5HsZC_lh3Uva7dabun_Xb7uQUYlqK9-t5hzbI5zlGrCoIPEsmd6y7aMZeYbmA5vXtW13yz53m3jLOW5DvKVVWzM3G7uXRqRATDL3RxK-rETwc8A2msikPL5p-N0AgI_f9Q/s1600/9.jpg"/>
</div>
<div id="rm_container_2">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhINduAq34ov9YhfyQ2A0Vk2KZzNatyfQNCnAHfH4HBj9Rb75C6oHQYSHpK0uIKEeJ3Diq9ch7779TWE0OeS-zuYvbskRli_B8LIpIJxzPyUwycrnCBZBBdVcm0q_w-fzeO99KT97RNuoY/s1600/8.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgddL7cWwK3bEjgNcoyIGJ2Ah9WuGVNtzxW9t6cSOVhBhdXxjJeQ1CZa906N39E2QGYwuMC5LrXk4LA-WeFuNt9mj53ZgqVlBrqi7wCsorQzYKberoF2-MNB6M2926SxBflkMu3gtGeQJA/s1600/7.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpjCV-Fayg1suLuJHNg-s2vbaQ6CgA6xagb-TFhcOrAShvwZKk-Lh8rJijHqNZW-EmtW1eQ2ZFr40raG5qir6Vd25h6-TVdVR2YhkNir0-PnAlhP7a88Z_1VhBoar0MPwJezYpLHLtxrM/s1600/6.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPVld8piTjqWPgCTjeFTaZUquOBHZ7acg32u49Z34vO8LHvJWhH3fTpDPysmFdY4lnqu-9HCwSlOUkl_tQtUU6Bhf2UR75PJ3u9M-s7agx6wy97l1HoxG71yk1HlMkuCTWdR405Q00N58/s1600/5.jpg"/>
</div>
<div id="rm_container_3">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi23pmEsQQbo6p1dF6lJoMkvmsOVZAX4YgXxtx2JpsRUV1Dqp_gnqPnvCHnuKf0SIlviLKkg8AvsfKfTIje4Mlqfk8uZMjofXw4oiRLlOqGwxmEkVYketHvTokGnUi6vPA8sWpibgDQkZs/s1600/10.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9fKoIelgukkUGw3mQc4p0iYSw17SYjE2gaP5Yn2K5ulSczY8x0njJ5J9gOd3lK9rpAQWLLa76-Y-GdAaIoId2hm-YZSoVYwj7ZbchK8uqo_eFC0bPxqn8QzVc6CZGIu5ggvFQDPS4VXk/s1600/4.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA2Bn9hchNSmiQ27bSTYY756xJb6jCBZ7vQK8AvRh4QFPOo7Ua4wOsu-kEY14bEfM-ioR4-HXz0-KIi3OZAOxYCyAWm9RckyZsUwK-onh2pneufAcDndepGYoUe4vQW9t6hDzRvBmhkjE/s1600/3.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRkC8of5gdqX1EoQ6qITFfEV_sGRYEeM48pGc9oPIeMrIoZtlIqSy2N9KBJ94YJYyrLpHAoU5Pvh5h1O4QSeNJAqobjuAfLBZYiLvZCxQsHtsggEh-f37mdHOkLpCEpVnXLC9boqkjMLI/s1600/2.jpg"/>
</div>
<div id="rm_container_4">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigJxOO2JlG4jjMkBrdIc_AgXPfgL1hl-zGCSnyt0EkiFiLjXUf1lIAqK2LsPvXj1Q7W68xqobXzDnW7mCfys7d6hk-k7G_PYREGi4Zx4BJYbIi_xj7wYmXxXvk3crf1ZN5Ot0MVLvB7AY/s1600/1.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgddL7cWwK3bEjgNcoyIGJ2Ah9WuGVNtzxW9t6cSOVhBhdXxjJeQ1CZa906N39E2QGYwuMC5LrXk4LA-WeFuNt9mj53ZgqVlBrqi7wCsorQzYKberoF2-MNB6M2926SxBflkMu3gtGeQJA/s1600/7.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilKDCUqA39X6wrzwl2fYEkOmfai7b9q_CzFRgsDZu-XhjGA1awinRn3IBPax18nC9GnXEUUjQhiamaQT5qva5ifo_zNWH9nQeUkfaSz-Eb85-gf386aXd1t_xxKRz_sM58p_cTJr2Lrwk/s1600/16.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRkC8of5gdqX1EoQ6qITFfEV_sGRYEeM48pGc9oPIeMrIoZtlIqSy2N9KBJ94YJYyrLpHAoU5Pvh5h1O4QSeNJAqobjuAfLBZYiLvZCxQsHtsggEh-f37mdHOkLpCEpVnXLC9boqkjMLI/s1600/2.jpg"/>
</div>
</div>
</div>
<div class="rm_nav">
<a id="rm_next" href="#" class="rm_next"></a>
<a id="rm_prev" href="#" class="rm_prev"></a>
</div>
<div class="rm_controls">
<a id="rm_play" href="#" class="rm_play">Play</a>
<a id="rm_pause" href="#" class="rm_pause">Pause</a>
</div>
</div>
</div>

Chú ý: Bạn có thể thay đổi kick thước phù hợp trong file style.css nhé. Các bạn có thể down code về xem chi tiết tại đây