Thứ Hai, 25 tháng 11, 2013

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

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/AVvXsEgpnnY3gNF5QZYx1qem9lwQAFy9J0YcWMZT2Krsbs4rmqcAq5IrFc2YDFPaYMtzRzHbi1JTStwqgIQy1JprR2YPuVjjnhqXshli84CMAEimBfQCytISEBNbcmKc1G1y7SpSYQyRytxJLgA/s1600/12.jpg"/></li>
<li data-images="rm_container_2" data-rotation="-5"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1j3wpSr2zR9Dx7l3SchMkFC6XVce62u02Q8oOgI3IhWxbp4_pdCB4t8Ec-fMOditutOnfd3WDauevx4ZAwnExFX1w-RImDNbGNSLMuHi6L0tudodvxoPm1UIndgSeFYszgGtZGfpnH5k/s1600/13.jpg"/></li>
<li data-images="rm_container_3" data-rotation="5"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0gpjaL4tSAtnGJ1ZRbaSzSxBVkekLespIZSPEIMNZgng4vJlkmrzDNFumkYFW_cNc46eiD23vMvQ9Ygr7n99fcigDCv7DOBwD2l057JQnhZTV_ZfYvvLiBzgYM5yUaIsSr3Ib9o5hgqY/s1600/14.jpg"/></li>
<li data-images="rm_container_4" data-rotation="15"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEdcMvM4Lyk6TpmIKb7KA5PBnBelaXDWsIBIgh9XAXJExkGoKP8_JiUmcJyFfB9x3ke5EpHsoqKlJSgR39NNfiAxOGs05MeRnIYv_yv9VWfrdVl7Ig4xzrftWYeH-nqDKJG45VxS7wz1c/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/AVvXsEg7lXX9q7SnSgLH-DtMyglfSEsJNui2R-Ox6qa5_2NUYGElV2BXcyfk9zsiDHnhKINi_dENyGbcG5jlBw_yja2ZWmJhn4RcvksxTEYNJhI3DSmf-TpxfFX9jkzpkFZmShyNhaleWRm9CJE/s1600/16.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRVHBGRn-MzSssoNHBXINtpE2HZV-vk0sYAWqZkuKp4Q_QFP5IcFSf-UXSqrXBwQF3wJbIsVL4sOzbHnHCdrwEGvnR16na-9ny2rmKKeKzRBoYiHi-tp5iD0G2b4SbshDHjyRFMBF9V30/s1600/11.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Dlgc9HZAo3ELslbb7NrcxoNq4Ughnz0k0yW-k53IZQ3jKlIemmM94O3dkEqtLBYnNiXx659o3cAN-YgP6kcN-aZ993uV8USFXQOVNKNKj-eXItTid0AhLjFgsQSu7OrI85AUzPzEeMo/s1600/1.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSIpBSBokger-SMx3qnI4N14qYdTMIngGgkI4oNe8oWVHSZIxe-FDdHM8J1JZmSv4bO-MC4JDeX5rQYyMMPQe7u-te66_xhGqnbnjPil0HthurSC88QT-apw50AWTD0ztDpoAcfs_PpuA/s1600/9.jpg"/>
</div>
<div id="rm_container_2">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbHhhK8LKCFU4-4doXehl-IEoHByTAXB2xPINlcHNKr1jIfX7c8z30oo3AEwIZE7Z0-vpPi3My1ZegxPg_cytONFXaLJrT3s91CzTG-IDQ08UIw_CXBYp2oco0igRUZl8N9-1_VEsOZyQ/s1600/8.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7JkuMqIYiQHkpIV-zqHZEqlKgMnjX8EngymObmolsygfqYZN_06EU32QRQtE461V3jrXlIqXbVtG3tUB0WKAHS1YWmFkwA2CFKaOc1QcYeXKUXW7YhLQnymSw-qroe61Fsj7ndw4f2B4/s1600/7.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitxR4EV9VhbvXbcMxH0ofPpyM-qmI6SCNDzRtYirTBObe6tvYVw5ZRJonHzp7a4_Rw73qDxC6Wf1AS_mY3AZPp11Pb47ZHn7vRV5a4THFnx3_EQEXFLUgLH5qNVS8YABCpIKXHJyNeLvI/s1600/6.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrEwE_Uexj12wlkLBqhtZDuEfzGauDgQipYbXVRsHwQuEMGBgyN0Y4G-B2WBVP-qyIeRlvd-E1BKrp7DJYj6yCwy6YpQ7Q5UIqZY0cOl_u3pr2YftVfdAZ58jajxD1MJ2kyZ7W5q4gSwI/s1600/5.jpg"/>
</div>
<div id="rm_container_3">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFUQp3K6XS_sOnhaKbGhPzbr33Ar39nsQpAwdgFz8MnqpzWy3POo0qFS8XaKLl8mXyW8UR3B49sV_L-csSdz5xX17Filfqiu4JK44KWaEU_9_rTdttiGcse33Ulx0UJkMbDBBpbk0Uyhw/s1600/10.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoc0dUEuBU1-gSlzdz0QD4eNYjLhUop8z-EW31KavuLP4HRORMaAXto65b04z7H-cwg-lwn20milDCk65pH19zYvwq21pSRsOXt0BmMvp6uKzNaAzXvgOutMSz7IGfaZWjaxtOL8_f5I4/s1600/4.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlCzt-In3R5SMABHVB1S4v6oTw9LN6zdqxhmgdjcV0Z3MtyXCj1P0ftAdGevsyt2zyCxt5FeohpAnTMTm9DoPuK38oz6laTmKSPNHuDqOPBDEjFJ_xiINQ1_tradZQSe_pK4bc3Tbvy1s/s1600/3.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaG0hnCYV7AdWqfZYO5TLQf4UtsdjP-7p_sT4bizaLnqg5sOSSCXg18EgQ-f39GF7lZ3tp-aMne5dSSawSYtEcBkIFmyCQnCm423_9sEFVGIbvf9nchPHe6XEpJBY98322tB7OaXAvCts/s1600/2.jpg"/>
</div>
<div id="rm_container_4">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Dlgc9HZAo3ELslbb7NrcxoNq4Ughnz0k0yW-k53IZQ3jKlIemmM94O3dkEqtLBYnNiXx659o3cAN-YgP6kcN-aZ993uV8USFXQOVNKNKj-eXItTid0AhLjFgsQSu7OrI85AUzPzEeMo/s1600/1.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7JkuMqIYiQHkpIV-zqHZEqlKgMnjX8EngymObmolsygfqYZN_06EU32QRQtE461V3jrXlIqXbVtG3tUB0WKAHS1YWmFkwA2CFKaOc1QcYeXKUXW7YhLQnymSw-qroe61Fsj7ndw4f2B4/s1600/7.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7lXX9q7SnSgLH-DtMyglfSEsJNui2R-Ox6qa5_2NUYGElV2BXcyfk9zsiDHnhKINi_dENyGbcG5jlBw_yja2ZWmJhn4RcvksxTEYNJhI3DSmf-TpxfFX9jkzpkFZmShyNhaleWRm9CJE/s1600/16.jpg"/>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaG0hnCYV7AdWqfZYO5TLQf4UtsdjP-7p_sT4bizaLnqg5sOSSCXg18EgQ-f39GF7lZ3tp-aMne5dSSawSYtEcBkIFmyCQnCm423_9sEFVGIbvf9nchPHe6XEpJBY98322tB7OaXAvCts/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

Không có nhận xét nào:

Đăng nhận xét