Энэхүү нийтлэлээ шинэчилж өөр солигддог слайдийг оруулж байна. Wordpress дээрхи Slideshow гаргагчийг блоггер болон бусад блогуудад ашиглаж болно. Өмнөх slideshow нь блоггерт зориулсан байдаг энгийн слайд гаргагч байсан болхоор сольж хийлээ сонирхоод үзээрэй.
Хийх алхамууд:
1. За тэгээд юуны түрүүнд блогтоо нэвтэрч орно
2. Тэгээд блогийнхоо Dashboard > Design > Edit HTML -руу орно
3. Гарнаасаа Ctrl+F товчийг дарж гарч ирсэн нүдэнд ]]></b:skin> хуулж тавина
4. Хайлтанд гарч ирсэн ]]></b:skin> энэний доод талд доорхи кодуудыг хуулна
/*Start Slider Css*//** jQuery Nivo Slider v2.6* http://nivo.dev7studios.com** Copyright 2011, Gilbert Pellegrom* Free to use and abuse under the MIT license.* http://www.opensource.org/licenses/mit-license.php* * March 2010*/
/* The Nivo Slider styles */#slider{width:618px;height:246px;}.nivoSlider {position:relative;
}.nivoSlider img {position:absolute;top:0px;left:0px;}/* If an image is wrapped in a link */.nivoSlider a.nivo-imageLink {position:absolute;top:0px;left:0px;width:100%;height:100%;border:0;padding:0;margin:0;z-index:6;display:none;}/* The slices and boxes in the Slider */.nivo-slice {display:block;position:absolute;z-index:5;height:100%;}.nivo-box {display:block;position:absolute;z-index:5;}/* Caption styles */.nivo-caption {position:absolute;left:0px;bottom:0px;background:#000;color:#fff;opacity:0.8; /* Overridden by captionOpacity setting */width:100%;z-index:8;}.nivo-caption p {padding:5px;margin:0;}.nivo-caption a {display:inline !important;}.nivo-html-caption {display:none;}/* Direction nav styles (e.g. Next & Prev) */.nivo-directionNav a {position:absolute;top:45%;z-index:9;cursor:pointer;}.nivo-prevNav {left:0px;}.nivo-nextNav {right:0px;}/* Control nav styles (e.g. 1,2,3...) */.nivo-controlNav a {position:relative;z-index:9;cursor:pointer;}.nivo-controlNav a.active {font-weight:bold;}/*Skin Name: Pascal ThemeSkin URI: http://nivo.dev7studios.comSkin Type: fixedDescription: A nice, light skin for the Nivo Slider.Version: 1.0Author: Gilbert Pellegrom & Pascal GartnerAuthor URI: http://dev7studios.com*/
.theme-pascal.slider-wrapper {background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKhruetglN0c1NoQzK78SLVIWfvFHz5cizDHNPsWcHc0wRW77YaKnwh8i1dx8EPBWYgN1OCclk0gvwi7w_7x7uzHjhKDY6t2RqOMIgK6C8b7S_eRDsUQllYTu32OL2gwUXmNVYhnwgWN6D/s1600/slider.png) no-repeat;width:668px;height:299px;margin:0 auto;padding-top:17px;position:relative;}
.theme-pascal .nivoSlider {position:relative;width:630px;height:235px;margin-left:19px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbCUaDnMEyqgerxJXvGfdzaDZrdyPZwjZqLwxM7dgTC7_MKLqq9ofrjZY8wM-7v5j955UGsGPXClCDSH2p52d6mikmR6zBMtvWqv-SEQlNLHfd6ueNCXlLPHi3gsMwrVI8eRHi-hMzU50M/s1600/loading.gif) no-repeat 50% 50%;}.theme-pascal .nivoSlider img {position:absolute;top:0px;left:0px;display:none;width:630px; /* Make sure your images are the same size */height:235px; /* Make sure your images are the same size */}.theme-pascal .nivoSlider a {border:0;display:block;}
.theme-pascal .nivo-controlNav {background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj94WGY24hRjFwDXD0A6c95_LJoDcFEc6G3ciBaPfL3QrDXBe80RmJTohRATddQhzGXey_WK9zN0B4iSrI4W1fP0UOdvj3F6tHfe9AdGCfqLr0WyaGhTS7KGuVjTB8P6ViU_PMpd17sxdb_/s1600/controlnav.png) no-repeat;width:251px;height:40px;position:absolute;left:200px; /* Tweak this to center bullets */bottom:-42px;padding:8px 0 0 82px;z-index:20;}.theme-pascal .nivo-controlNav a {display:block;width:22px;height:22px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdWzwPM4sbGwt8Dx-g1Hp5p0TK4cHrczw1y-xYegXoFIYy-1SOtnlwdX_R4s75KC_6NstgmCEe75A8LGfhU5jcxp-NBRT2_D4bmPfwFB0R6BiEHDtt3cV2M0kSLUDhkojgEB7gECFn935N/s1600/bullets.png) no-repeat;text-indent:-9999px;border:0;margin-right:3px;float:left;}.theme-pascal .nivo-controlNav a.active {background-position:0 -22px;}
.theme-pascal .nivo-directionNav a {display:none;}
.theme-pascal .nivo-caption {bottom:40%;left:auto;right:0px;width:auto;max-width:630px;overflow:hidden;background:#fff;text-shadow:none;font-family: arial, serif;color:#4c4b4b;}.theme-pascal .nivo-caption p {padding:5px 15px;color:#333;font-weight:bold;font-size:27px;text-transform:uppercase;}.theme-pascal .nivo-caption a { color:#333;font-weight:bold;font-size:27px;text-transform:uppercase;}
.theme-pascal .ribbon {background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqBoPQxCAcVW2L4v27YUwBF9tb9Um8Iy7DiAaP6CYzwMPPw2zPOkvmz1-ISa7oat0ULGxhEZvkRmNd8OrCV0yYH1-hUeZzW0OGyGtIpl_tXC2J7VS3jriwecMFpmBvKGUr4mwHsl2MAiFL/s1600/ribbon.png) no-repeat;width:111px;height:111px;position:absolute;top:-8px;left:-8px;z-index:300;}/*End Slider Css*/
5. Мөн дахиад гарнаас Ctrl+F дараад </head> гэж хайгаад доорхи кодыг доод талд нь хуулна
<!--Start Slider Scripts--><script src='http://code.jquery.com/jquery-1.6.1.min.js' type='text/javascript'/><script src='http://yourjavascript.com/8855314511/jquery.nivo.slider.pack.js' type='text/javascript'/>
<script type='text/javascript'>
$(window).load(function() {
$('#slider').nivoSlider();
});
</script>
<!--End Slider Scripts info @ http://www.spiceupyourblog.com-->
6. Тэгээд Save Template гэж хадгална. 7. Одоо Design> Page Element ээс Add Gadget HTML/Javascript доорхи кодыг хуулаад болно
<div class="slider-wrapper theme-pascal">
<div class="ribbon"></div>
<div id="slider" class="nivoSlider">
<a href="http://www. sobriquet2.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqtv5ElbPi8iDdse4Zw424PWW82k3fMsYJFsHcXiBj-TozgYFh0Wh1z7c6ygh2iFwkLCp_fLbR63J1QroB82leEFtBO14-VDKL6lGXcdicel1mQ8LY3tb3gi1qe4sbXINPZdIQJlehg0VX/s1600/nemo.jpg" alt="" /></a>
<a href="http://www.sobriquet2.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGzIapLnSVYz7oPKxLtC1xAqdz52FfI_gShvdanTQGLJEzf3sVrPe83eRRVtttS1_2W-boAixBj91SlP194GtsRolz-IuEoU5gcI5aPX7oAuQyOJn8Uv2Hs8kZCvaAirVobfSt5RI4PMJ3/s1600/toystory.jpg" alt="" title="This is an example of a caption" /></a>
<a href="http://www.sobriquet2.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-Tmf-Biw_68RQCD-xQU2wY5u1-S8-i__-rAWQRG2on3EUnDWj6ZdiE3UAxRmkvCZ7chXUNPqJCIm4c7_jr94le_8criR3A601BagUIC7pk39pJ_2dz8vtgG_BqtRT1oY8QxranpbIvZ_2/s1600/up.jpg" alt="" /></a>
<a href="http://www.sobriquet2.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYVP0mD-gIzu97pdZPAmOS32mO-TFzDPyVRfP0HYVX_ekpxgAg-GX2xs1qqhIg_Op048jcWSBASbLb6Hv0gNResq1A5GJd584HL80T7kBcZb_zSijH1tCJMNJjL-8JeSi3gj-YUWH6i5sI/s1600/walle.jpg" alt="" title="#htmlcaption" /></a>
</div>
<div id="htmlcaption" class="nivo-html-caption">
<strong>This is an example of a caption.
</div>
</div>
Зураг нэмхээр бол улаанаар тэмдэглэсний оронд зургийнхаа URL-ийг оруулаарай
3 comments:
za tnx shuu ho ystoi hregte bsm
andaa flash deeer slide show hiigeed blogtoo tavih gesen yum yahuu tuslach
МАШ ИХ БАЯРЛАЛАА ^^
Post a Comment