سلايدر اخر، راائع، و جمييل، بحركاة جميلة، يليق بمدوناتكم الجميلة، و الحمد لله استطعت ان احضر لكم سلايدر مقدم من Nivo، و معدل بواستطتي، اذا كان يهمك الامر فلتتفضل بالدخول :)

- اولا اذا اردت مثالا حيا: هنا
- لادخال في مدونتك، الامر سهل، اولا احفظ نسخة من قالبك الحالي، ثم اهب الى تحرير HTML ستظهر لك نافذة اضغط متابعة.
- ثم ابحث عن الكود التالي:
]]></b:skin>- بعد ان تجده اضف فوقه مباشرة هذا الكود:
- الان ابحث عن:
/*Start Nivo Slider Css http://ridasail.blogspot.com*/ /* * Copyright 2011, Gilbert Pellegrom, * Free to use and abuse under the MIT license. * http://www.opensource.org/licenses/mit-license.php * Modified By - Rida SAIL @ ridasail.blogspot.com For blogger by - Rahul Ippar @ helperblogger.com * * August 2012 */ /* 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 Theme Skin URI: http://nivo.dev7studios.com Skin Type: fixed Description: A nice, light skin for the Nivo Slider. Version: 1.0 Author: Gilbert Pellegrom & Pascal Gartner Author URI: http://dev7studios.com */ .theme-pascal.slider-wrapper { 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/AVvXsEgiUbqcLptZF5KDgoHhnGIBZPdhYfAZlsDoO0RPThmayYQqrveSAykSknSU0RsKM6uQ6TPN-tXdzBVEuWbnH1uD7NJ9MBndIeStfON5GrSRDWczmB7e413F7_nLFjow1COUs5lf2HDBYoRh/s1600/helperblogger-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/AVvXsEjaxUNxOpMdiQ0SZFa3JMExC0xX6Td2xROsVl-7qC9-wq50PJgVuXsxJErWlUO-e2JjRXtCyhqsPyivo81pDvH4o4dlqkisXQPqeyHzWKKIrmve8Fan5SDuIt8TiXvbMQwhKnw9oI9aOY2W/s1600/helperblogger-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/AVvXsEhQakasWfvpnWzfWH58LHVCdE5GhGBvuwuBCy1ZpBDlfxnZp43aU4AP2P9_GBAdU0-zGtvA1Gp3SSA74P-MT7EwNdsf-SHbin8VMqBWHQMBP-vx14GzjQehJAUP9jgVh0DScDmQa7-6__DR/s1600/helperblogger-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 { width: 111px; height: 111px; position: absolute; top: -8px; left: -8px; z-index: 300; } /*End Nivo Slider Css http://ridasail.blogspot.com*/
</head>- ثم اضف قبله مباشرة الكود التالي:
- احفظ التغييرات عن طريق الضغط على حفظ.
<!-- Nivo Slider Scripts Starts--> <script src='http://code.jquery.com/jquery-1.7.1.min.js' type='text/javascript'/> <script src='http://helperblogger.x10.mx/scripts/jquery.nivo.slider.pack.js' type='text/javascript'/> <script type='text/javascript'> $(window).load(function() { $('#slider').nivoSlider(); }); </script> <!-- Nivo Slider Script Ends-->
- الان اذهب الى تخطيط، و اضف اداة جديدة HTML/JavaScript، وضعها فوق كل من القائمة الجانبية و رسائل المدونة،بهذا الشكل :
- ثم الصق فيها الكود التالي:
- الان كلما عليك فعله، هو استبدال YOUR LINK HERE برابط التدوينة، YOUR IMAGE HERE برابط الصورة، و ADD CAPTION HERE بالعنوان الذي سيظهر فوق الصورة في السلايدر :)
<div class="slider-wrapper theme-pascal"> <div class="ribbon"> </div> <div id="slider" class="nivoSlider"> <a href="YOUR LINK HERE"><img src="IMAGE URL HERE" alt="" title="ADD CAPTION HERE"/></a> <a href="YOUR LINK HERE"><img src="IMAGE URL HERE" alt="" title="ADD CAPTION HERE"/></a> <a href="YOUR LINK HERE"><img src="IMAGE URL HERE" alt="" title="ADD CAPTION HERE"/></a> <a href="YOUR LINK HERE"><img src="IMAGE URL HERE" alt="" title="ADD CAPTION HERE"/></a> </div> <div id="htmlcaption" class="nivo-html-caption"> </div> </div>
اتمنى ان تشتغل بشكل جيد، انتهى شرحنا لليوم، شكرا لمروركم و الى اللقاء :)



0 التعليقات:
إرسال تعليق