سلايدر رائع لعرض مواضيعك المميزة هذا السلايد يعمل بشكل تلقائي بحيث انك لا تحتاج لإضافة صور او كتابة شئ كل ما عليك فعله هو ان تربطه بأحد الأقسام وهو سيقوم بجلب صور وعنوان وملخص الموضوعات ويظهرها تلقائيا هذه النسخة خاصة بنا ولن تجدها في مكان آخر وأخذت الكثير من الضبط والتعديل لتصبح سهلة التنسيق وذات شكل جذاب وأمر التنسيق سنتطرق اليه في الموضوع بحيث تتمكن من تنسيقها بشكل يتناسب مع مدونتك ويميز هذه النسخة السرعة والتوافق مع غالبية القوالب وبمكنك رؤية معاينة حية لها عبر الرابط التالي
طريقة التركيب
أول شئ خذ نسخة إحتياطية من قالبك لتجنب المشاكل
ثم ادخل الى تحرير القالب
//<![CDATA[
var _0x2ce8=["\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x22\x6D\x61\x72\x67\x69\x6E\x3A\x20\x32\x30\x70\x78\x20\x30\x20\x30\x20\x32\x30\x70\x78\x22\x3E\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22\x6C\x6F\x61\x64\x69\x6E\x67\x2E\x67\x69\x66\x22\x20\x2F\x3E\x20\x46\x65\x74\x63\x68\x69\x6E\x67\x20\x73\x6C\x69\x64\x65\x72\x20\x43\x6F\x6E\x74\x65\x6E\x74\x73\x2E\x20\x50\x6C\x65\x61\x73\x65\x20\x77\x61\x69\x74\x2E\x2E\x2E\x3C\x2F\x64\x69\x76\x3E","\x73\x65\x74\x74\x69\x6E\x67\x63\x61\x63\x68\x65\x73","\x74\x75\x72\x6E\x70\x61\x67\x65","\x41\x63\x74\x69\x76\x65\x58\x4F\x62\x6A\x65\x63\x74","\x4D\x73\x78\x6D\x6C\x32\x2E\x58\x4D\x4C\x48\x54\x54\x50","\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x58\x4D\x4C\x48\x54\x54\x50","\x58\x4D\x4C\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74","\x63\x6F\x6E\x74\x65\x6E\x74\x73\x6F\x75\x72\x63\x65","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x61\x6A\x61\x78\x70\x6F\x70\x75\x6C\x61\x74\x65","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x69\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x61\x6A\x61\x78\x6C\x6F\x61\x64\x69\x6E\x67\x6D\x73\x67","\x62\x75\x73\x74\x61\x6A\x61\x78\x63\x61\x63\x68\x65","","\x3F","\x69\x6E\x64\x65\x78\x4F\x66","\x26","\x67\x65\x74\x54\x69\x6D\x65","\x47\x45\x54","\x6F\x70\x65\x6E","\x73\x65\x6E\x64","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x68\x74\x74\x70","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x72\x65\x73\x70\x6F\x6E\x73\x65\x54\x65\x78\x74","\x62\x75\x69\x6C\x64\x70\x61\x67\x69\x6E\x61\x74\x65","\x64\x69\x76","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x6C\x65\x6E\x67\x74\x68","\x63\x6F\x6E\x74\x65\x6E\x74\x64\x69\x76","\x63\x68\x65\x63\x6B","\x63\x73\x73","\x70\x75\x73\x68","\x63\x6F\x6E\x74\x65\x6E\x74\x64\x69\x76\x73","\x64\x69\x73\x70\x6C\x61\x79","\x73\x74\x79\x6C\x65","\x6E\x6F\x6E\x65","\x62\x75\x69\x6C\x64\x63\x6F\x6E\x74\x65\x6E\x74\x64\x69\x76\x73","\x70\x61\x67\x69\x6E\x61\x74\x65\x2D","\x74\x6F\x63","\x6E\x65\x78\x74\x70\x72\x65\x76","\x73\x74\x72\x69\x6E\x67","\x6D\x61\x72\x6B\x75\x70","\x6F\x62\x6A\x65\x63\x74","\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x23","\x22\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x6F\x63\x22\x3E","\x72\x65\x70\x6C\x61\x63\x65","\x3C\x2F\x61\x3E\x20","\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x23\x70\x72\x65\x76\x22\x20\x63\x6C\x61\x73\x73\x3D\x22\x70\x72\x65\x76\x22\x3E","\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x23\x6E\x65\x78\x74\x22\x20\x63\x6C\x61\x73\x73\x3D\x22\x6E\x65\x78\x74\x22\x3E","\x3C\x2F\x61\x3E","\x61","\x72\x65\x6C","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x72\x65\x76\x65\x61\x6C\x74\x79\x70\x65","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x74\x6F\x63\x6C\x69\x6E\x6B\x73","\x70\x72\x65\x76","\x6E\x65\x78\x74","\x6F\x6E\x63\x6C\x69\x63\x6B","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x63\x75\x72\x72\x65\x6E\x74\x70\x61\x67\x65","\x61\x75\x74\x6F\x72\x6F\x74\x61\x74\x65","\x66\x63\x73\x61\x75\x74\x6F\x72\x75\x6E","\x63\x6C\x65\x61\x72\x74\x69\x6D\x65\x72","\x65\x6E\x61\x62\x6C\x65\x66\x61\x64\x65","\x3D\x28\x5C\x64\x2B\x29","\x69","\x6D\x61\x74\x63\x68","\x73\x65\x61\x72\x63\x68","\x74\x65\x73\x74","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x7A\x49\x6E\x64\x65\x78","\x74\x6F\x70\x7A\x69\x6E\x64\x65\x78","\x66\x63\x73\x66\x61\x64\x65","\x63\x61\x63\x68\x65\x70\x72\x65\x76\x70\x61\x67\x65","\x70\x72\x65\x76\x70\x61\x67\x65","\x63\x75\x72\x6F\x70\x61\x63\x69\x74\x79","\x66\x61\x64\x65\x75\x70","\x6F\x6E\x43\x68\x61\x6E\x67\x65","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x76\x69\x73\x69\x62\x6C\x65","\x62\x6C\x6F\x63\x6B","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x65\x6D\x6F\x76\x65","\x61\x64\x64","\x65\x6E\x61\x62\x6C\x65\x70\x65\x72\x73\x69\x73\x74","\x66\x63\x73\x70\x65\x72\x73\x69\x73\x74","\x73\x65\x74\x43\x6F\x6F\x6B\x69\x65","\x66\x69\x6C\x74\x65\x72\x73","\x6F\x70\x61\x63\x69\x74\x79","\x6E\x75\x6D\x62\x65\x72","\x66\x69\x6C\x74\x65\x72","\x61\x6C\x70\x68\x61\x28\x6F\x70\x61\x63\x69\x74\x79\x3D","\x29","\x4D\x6F\x7A\x4F\x70\x61\x63\x69\x74\x79","\x73\x65\x74\x6F\x70\x61\x63\x69\x74\x79","\x28\x5E\x7C\x5C\x73\x2B\x29","\x28\x24\x7C\x5C\x73\x2B\x29","\x69\x67","\x20","\x3D\x5B\x5E\x3B\x5D\x2B","\x63\x6F\x6F\x6B\x69\x65","\x3D","\x73\x70\x6C\x69\x74","\x67\x65\x74\x43\x6F\x6F\x6B\x69\x65","\x75\x72\x6C\x70\x61\x72\x61\x6D\x73\x65\x6C\x65\x63\x74","\x6F\x6E","\x63\x6C\x69\x63\x6B","\x69\x6E\x6C\x69\x6E\x65","\x61\x6A\x61\x78","\x61\x6A\x61\x78\x63\x6F\x6E\x6E\x65\x63\x74"];var featuredcontentslider={ajaxloadingmsg:_0x2ce8[0],bustajaxcache:true,enablepersist:true,settingcaches:{},jumpTo:function(_0x854fx2,_0x854fx3){this[_0x2ce8[2]](this[_0x2ce8[1]][_0x854fx2],_0x854fx3)},ajaxconnect:function(_0x854fx4){var _0x854fx5=false;if(window[_0x2ce8[3]]){try{_0x854fx5= new ActiveXObject(_0x2ce8[4])}catch(e){try{_0x854fx5= new ActiveXObject(_0x2ce8[5])}catch(e){}}}else {if(window[_0x2ce8[6]]){_0x854fx5= new XMLHttpRequest()}else {return false}};var _0x854fx6=_0x854fx4[_0x2ce8[7]][1];_0x854fx5[_0x2ce8[8]]= function(){featuredcontentslider[_0x2ce8[9]](_0x854fx5,_0x854fx4)};document[_0x2ce8[12]](_0x854fx4[_0x2ce8[11]])[_0x2ce8[10]]= this[_0x2ce8[13]];var _0x854fx7=(!this[_0x2ce8[14]])?_0x2ce8[15]:(_0x854fx6[_0x2ce8[17]](_0x2ce8[16])!= -1)?_0x2ce8[18]+ new Date()[_0x2ce8[19]]():_0x2ce8[16]+ new Date()[_0x2ce8[19]]();_0x854fx5[_0x2ce8[21]](_0x2ce8[20],_0x854fx6+ _0x854fx7,true);_0x854fx5[_0x2ce8[22]](null)},ajaxpopulate:function(_0x854fx5,_0x854fx4){if(_0x854fx5[_0x2ce8[23]]== 4&& (_0x854fx5[_0x2ce8[24]]== 200|| window[_0x2ce8[27]][_0x2ce8[26]][_0x2ce8[17]](_0x2ce8[25])== -1)){document[_0x2ce8[12]](_0x854fx4[_0x2ce8[11]])[_0x2ce8[10]]= _0x854fx5[_0x2ce8[28]];this[_0x2ce8[29]](_0x854fx4)}},buildcontentdivs:function(_0x854fx4){var _0x854fx8=document[_0x2ce8[12]](_0x854fx4[_0x2ce8[11]])[_0x2ce8[31]](_0x2ce8[30]);for(var _0x854fx9=0;_0x854fx9< _0x854fx8[_0x2ce8[32]];_0x854fx9++){if(this[_0x2ce8[35]](_0x854fx8[_0x854fx9],_0x2ce8[33],_0x2ce8[34])){_0x854fx4[_0x2ce8[37]][_0x2ce8[36]](_0x854fx8[_0x854fx9]);_0x854fx8[_0x854fx9][_0x2ce8[39]][_0x2ce8[38]]= _0x2ce8[40]}}},buildpaginate:function(_0x854fx4){this[_0x2ce8[41]](_0x854fx4);var _0x854fxa=document[_0x2ce8[12]](_0x854fx4[_0x2ce8[11]]);var _0x854fxb=document[_0x2ce8[12]](_0x2ce8[42]+ _0x854fx4[_0x2ce8[11]]);var _0x854fxc=_0x2ce8[15];var _0x854fxd=_0x854fx4[_0x2ce8[43]];var _0x854fxe=_0x854fx4[_0x2ce8[44]];if( typeof _0x854fxd== _0x2ce8[45]&& _0x854fxd!= _0x2ce8[46]|| typeof _0x854fxd== _0x2ce8[47]){for(var _0x854fx9=1;_0x854fx9<= _0x854fx4[_0x2ce8[37]][_0x2ce8[32]];_0x854fx9++){_0x854fxc+= _0x2ce8[48]+ _0x854fx9+ _0x2ce8[49]+ ( typeof _0x854fxd== _0x2ce8[45]?_0x854fxd[_0x2ce8[50]](/#increment/,_0x854fx9):_0x854fxd[_0x854fx9- 1])+ _0x2ce8[51]};_0x854fxc= (_0x854fxe[0]!= _0x2ce8[15]?_0x2ce8[52]+ _0x854fxe[0]+ _0x2ce8[51]:_0x2ce8[15])+ _0x854fxc+ (_0x854fxe[1]!= _0x2ce8[15]?_0x2ce8[53]+ _0x854fxe[1]+ _0x2ce8[54]:_0x2ce8[15]);_0x854fxb[_0x2ce8[10]]= _0x854fxc};var _0x854fxf=_0x854fxb[_0x2ce8[31]](_0x2ce8[55]);var _0x854fx10=0;for(var _0x854fx9=0;_0x854fx9< _0x854fxf[_0x2ce8[32]];_0x854fx9++){if(this[_0x2ce8[35]](_0x854fxf[_0x854fx9],_0x2ce8[43],_0x2ce8[34])){if(_0x854fx10> _0x854fx4[_0x2ce8[37]][_0x2ce8[32]]- 1){_0x854fxf[_0x854fx9][_0x2ce8[39]][_0x2ce8[38]]= _0x2ce8[40];continue};_0x854fxf[_0x854fx9][_0x2ce8[57]](_0x2ce8[56],++_0x854fx10);_0x854fxf[_0x854fx9][_0x854fx4[_0x2ce8[58]]]= function(){featuredcontentslider[_0x2ce8[2]](_0x854fx4,this[_0x2ce8[59]](_0x2ce8[56]));return false};_0x854fx4[_0x2ce8[60]][_0x2ce8[36]](_0x854fxf[_0x854fx9])}else {if(this[_0x2ce8[35]](_0x854fxf[_0x854fx9],_0x2ce8[61],_0x2ce8[34])|| this[_0x2ce8[35]](_0x854fxf[_0x854fx9],_0x2ce8[62],_0x2ce8[34])){_0x854fxf[_0x854fx9][_0x2ce8[63]]= function(){featuredcontentslider[_0x2ce8[2]](_0x854fx4,this[_0x2ce8[64]]);return false}}}};this[_0x2ce8[2]](_0x854fx4,_0x854fx4[_0x2ce8[65]],true);if(_0x854fx4[_0x2ce8[66]][0]){_0x854fxb[_0x854fx4[_0x2ce8[58]]]= function(){featuredcontentslider[_0x2ce8[68]](_0x854fx4,window[_0x2ce8[67]+ _0x854fx4[_0x2ce8[11]]])};_0x854fxa[_0x2ce8[63]]= function(){featuredcontentslider[_0x2ce8[68]](_0x854fx4,window[_0x2ce8[67]+ _0x854fx4[_0x2ce8[11]]])};_0x854fx4[_0x2ce8[66]][1]= _0x854fx4[_0x2ce8[66]][1]+ (1/ _0x854fx4[_0x2ce8[69]][1]* 50);this[_0x2ce8[66]](_0x854fx4)}},urlparamselect:function(_0x854fx2){var _0x854fx11=window[_0x2ce8[27]][_0x2ce8[73]][_0x2ce8[72]]( new RegExp(_0x854fx2+ _0x2ce8[70],_0x2ce8[71]));return (_0x854fx11== null)?null:parseInt(RegExp.$1)},turnpage:function(_0x854fx4,_0x854fx12,_0x854fx13){var _0x854fx14=_0x854fx4[_0x2ce8[65]];var _0x854fx15=_0x854fx4[_0x2ce8[37]][_0x2ce8[32]];var _0x854fx16=(/prev/i[_0x2ce8[74]](_0x854fx12))?_0x854fx14- 1:(/next/i[_0x2ce8[74]](_0x854fx12))?_0x854fx14+ 1:parseInt(_0x854fx12);_0x854fx16= (_0x854fx16< 1)?_0x854fx15:(_0x854fx16> _0x854fx15)?1:_0x854fx16;if(_0x854fx16== _0x854fx4[_0x2ce8[65]]&& typeof _0x854fx13== _0x2ce8[75]){return};_0x854fx4[_0x2ce8[65]]= _0x854fx16;_0x854fx4[_0x2ce8[37]][_0x854fx16- 1][_0x2ce8[39]][_0x2ce8[76]]= ++_0x854fx4[_0x2ce8[77]];this[_0x2ce8[68]](_0x854fx4,window[_0x2ce8[78]+ _0x854fx4[_0x2ce8[11]]]);_0x854fx4[_0x2ce8[79]]= _0x854fx4[_0x2ce8[80]];if(_0x854fx4[_0x2ce8[69]][0]== true){_0x854fx4[_0x2ce8[81]]= 0;this[_0x2ce8[82]](_0x854fx4)};if(_0x854fx4[_0x2ce8[69]][0]== false){_0x854fx4[_0x2ce8[37]][_0x854fx4[_0x2ce8[80]]- 1][_0x2ce8[39]][_0x2ce8[38]]= _0x2ce8[40];_0x854fx4[_0x2ce8[83]](_0x854fx4[_0x2ce8[80]],_0x854fx4[_0x2ce8[65]])};_0x854fx4[_0x2ce8[37]][_0x854fx16- 1][_0x2ce8[39]][_0x2ce8[84]]= _0x2ce8[85];_0x854fx4[_0x2ce8[37]][_0x854fx16- 1][_0x2ce8[39]][_0x2ce8[38]]= _0x2ce8[86];if(_0x854fx4[_0x2ce8[80]]<= _0x854fx4[_0x2ce8[60]][_0x2ce8[32]]){this[_0x2ce8[35]](_0x854fx4[_0x2ce8[60]][_0x854fx4[_0x2ce8[80]]- 1],_0x2ce8[87],_0x2ce8[88])};if(_0x854fx16<= _0x854fx4[_0x2ce8[60]][_0x2ce8[32]]){this[_0x2ce8[35]](_0x854fx4[_0x2ce8[60]][_0x854fx16- 1],_0x2ce8[87],_0x2ce8[89])};_0x854fx4[_0x2ce8[80]]= _0x854fx16;if(this[_0x2ce8[90]]){this[_0x2ce8[92]](_0x2ce8[91]+ _0x854fx4[_0x2ce8[11]],_0x854fx16)}},setopacity:function(_0x854fx4,_0x854fx17){var _0x854fx18=_0x854fx4[_0x2ce8[37]][_0x854fx4[_0x2ce8[65]]- 1];if(_0x854fx18[_0x2ce8[93]]&& _0x854fx18[_0x2ce8[93]][0]){if( typeof _0x854fx18[_0x2ce8[93]][0][_0x2ce8[94]]== _0x2ce8[95]){_0x854fx18[_0x2ce8[93]][0][_0x2ce8[94]]= _0x854fx17* 100}else {_0x854fx18[_0x2ce8[39]][_0x2ce8[96]]= _0x2ce8[97]+ _0x854fx17* 100+ _0x2ce8[98]}}else {if( typeof _0x854fx18[_0x2ce8[39]][_0x2ce8[99]]!= _0x2ce8[75]){_0x854fx18[_0x2ce8[39]][_0x2ce8[99]]= _0x854fx17}else {if( typeof _0x854fx18[_0x2ce8[39]][_0x2ce8[94]]!= _0x2ce8[75]){_0x854fx18[_0x2ce8[39]][_0x2ce8[94]]= _0x854fx17}}};_0x854fx4[_0x2ce8[81]]= _0x854fx17},fadeup:function(_0x854fx4){if(_0x854fx4[_0x2ce8[81]]< 1){this[_0x2ce8[100]](_0x854fx4,_0x854fx4[_0x2ce8[81]]+ _0x854fx4[_0x2ce8[69]][1]);window[_0x2ce8[78]+ _0x854fx4[_0x2ce8[11]]]= setTimeout(function(){featuredcontentslider[_0x2ce8[82]](_0x854fx4)},50)}else {if(_0x854fx4[_0x2ce8[79]]!= _0x854fx4[_0x2ce8[65]]){_0x854fx4[_0x2ce8[37]][_0x854fx4[_0x2ce8[79]]- 1][_0x2ce8[39]][_0x2ce8[38]]= _0x2ce8[40]};_0x854fx4[_0x2ce8[83]](_0x854fx4[_0x2ce8[79]],_0x854fx4[_0x2ce8[65]])}},cleartimer:function(_0x854fx4,_0x854fx19){if( typeof _0x854fx19!= _0x2ce8[75]){clearTimeout(_0x854fx19);clearInterval(_0x854fx19);if(_0x854fx4[_0x2ce8[79]]!= _0x854fx4[_0x2ce8[65]]){_0x854fx4[_0x2ce8[37]][_0x854fx4[_0x2ce8[79]]- 1][_0x2ce8[39]][_0x2ce8[38]]= _0x2ce8[40]}}},css:function(_0x854fx1a,_0x854fx1b,_0x854fx1c){var _0x854fx1d= new RegExp(_0x2ce8[101]+ _0x854fx1b+ _0x2ce8[102],_0x2ce8[103]);if(_0x854fx1c== _0x2ce8[34]){return _0x854fx1d[_0x2ce8[74]](_0x854fx1a[_0x2ce8[64]])}else {if(_0x854fx1c== _0x2ce8[88]){_0x854fx1a[_0x2ce8[64]]= _0x854fx1a[_0x2ce8[64]][_0x2ce8[50]](_0x854fx1d,_0x2ce8[15])}else {if(_0x854fx1c== _0x2ce8[89]){_0x854fx1a[_0x2ce8[64]]+= _0x2ce8[104]+ _0x854fx1b}}}},autorotate:function(_0x854fx4){window[_0x2ce8[67]+ _0x854fx4[_0x2ce8[11]]]= setInterval(function(){featuredcontentslider[_0x2ce8[2]](_0x854fx4,_0x2ce8[62])},_0x854fx4[_0x2ce8[66]][1])},getCookie:function(_0x854fx1e){var _0x854fx1f= new RegExp(_0x854fx1e+ _0x2ce8[105],_0x2ce8[71]);if(document[_0x2ce8[106]][_0x2ce8[72]](_0x854fx1f)){return document[_0x2ce8[106]][_0x2ce8[72]](_0x854fx1f)[0][_0x2ce8[108]](_0x2ce8[107])[1]};return null},setCookie:function(_0x854fx20,_0x854fx17){document[_0x2ce8[106]]= _0x854fx20+ _0x2ce8[107]+ _0x854fx17},init:function(_0x854fx4){var _0x854fx21=this[_0x2ce8[109]](_0x2ce8[91]+ _0x854fx4[_0x2ce8[11]])|| 1;var _0x854fx22=this[_0x2ce8[110]](_0x854fx4[_0x2ce8[11]]);this[_0x2ce8[1]][_0x854fx4[_0x2ce8[11]]]= _0x854fx4;_0x854fx4[_0x2ce8[37]]= [];_0x854fx4[_0x2ce8[60]]= [];_0x854fx4[_0x2ce8[77]]= 0;_0x854fx4[_0x2ce8[65]]= _0x854fx22|| ((this[_0x2ce8[90]])?_0x854fx21:1);_0x854fx4[_0x2ce8[80]]= _0x854fx4[_0x2ce8[65]];_0x854fx4[_0x2ce8[58]]= _0x2ce8[111]+ (_0x854fx4[_0x2ce8[58]]|| _0x2ce8[112]);_0x854fx4[_0x2ce8[81]]= 0;_0x854fx4[_0x2ce8[83]]= _0x854fx4[_0x2ce8[83]]|| function(){};if(_0x854fx4[_0x2ce8[7]][0]== _0x2ce8[113]){this[_0x2ce8[29]](_0x854fx4)};if(_0x854fx4[_0x2ce8[7]][0]== _0x2ce8[114]){this[_0x2ce8[115]](_0x854fx4)}}}
//]]>
</script>
<script type='text/javascript'>
featuredcontentslider.init({
id: "slider1",
contentsource: ["inline", ""],
toc: "#increment",
nextprev: ["◄", "►"],
enablefade: [true, 0.5],
autorotate: [true, 6000],
onChange: function(previndex, curindex){
}
})
</script>
وأضف الكود التالي تحت هذا الكود <div id='main-wrapper'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<div id='featured'>
<div class='sliderwrapper' id='slider1'>
<script>
document.write("<script src=\"/feeds/posts/default/-/"+label1+"?max-results="+numposts1+"&orderby=published&alt=json-in-script&callback=showrecentposts1\"><\/script>");
</script>
</div>
<div class='pagination' id='paginate-slider1'>
</div>
</div>
</b:if>
السلايد معد ليظهر في الصفحة الرئيسية فقط بحيث لا يسبب ثقل في التصفح للزائر لكن إن أردته ان يظهر في كل الصفحات قم بإزالة الكودين المحددين باللون الأحمر أو راجع هذا الموضوع لتحكم أكثر في مكان إظهار وإخفاء السلايدر من هنـــا
ويمكنك حذف الجزء الأخضر من الكود السابق لياتي السلايدر بآخر المواضيع من المدونة كاملة
//<![CDATA[
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvh5AdwJ9Qk4Dn0v-Mui1NxRvM4MyBdzZ4BaaTPdKZXhIdByzRZNS-vZ1PBVqpUHFpBMtNTZxO-6jZnbqYpeWihITk_yO4hz2oCoLwCyFce1glhIiHTAZoopd1qKaK1xKIdxJBzOs-WwI/s200/noimage.png";
showRandomImg = true;
aBold = true;
summaryPost = 200;
numposts1 =24;
function removeHtmlTag(strx,chop){var s=strx.split("<");for(var i=0;i<s.length;i++){if(s[i].indexOf(">")!=-1){s[i]=s[i].substring(s[i].indexOf(">")+1,s[i].length)}}s=s.join("");s=s.substring(0,chop-1);return s}
function showrecentposts1(json){j=(showRandomImg)?Math.floor((imgr.length+1)*Math.random()):0;img=new Array();for(var i=0;i<numposts1;i++){var entry=json.feed.entry[i];var posttitle=entry.title.$t;var pcm;var posturl;if(i==json.feed.entry.length)break;for(var k=0;k<entry.link.length;k++){if(entry.link[k].rel=='alternate'){posturl=entry.link[k].href;break}}for(var k=0;k<entry.link.length;k++){if(entry.link[k].rel=='replies'&&entry.link[k].type=='text/html'){pcm=entry.link[k].title.split("")[0];break}}
if ("content" in entry) {
var postcontent = entry.content.$t;}
else
if ("summary" in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = "";
postdate = entry.published.$t;
if(j>imgr.length-1) j=0;
img[i] = imgr[j];
s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
var month=[1,2,3,4,5,6,7,8,9,10,11,12];var month2=["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر"];var day=postdate.split("-")[2].substring(0,2);var m=postdate.split("-")[1];var y=postdate.split("-")[0];for(var u2=0;u2<month.length;u2++){if(parseInt(m)==month[u2]){m=month2[u2];break;
}}
var daystr = day+ ' / ' + m + ' / ' + y ;
var trtd = '<div class="contentdiv"><div class="sliderPostPhoto"><a href="'+posturl+'"><img width="155" height="121" class="alignnone" src="'+img[i]+'"/></a><div class="sliderPostInfo"></div></div><div class="featuredPost"><h2><a href="'+posturl+'">'+posttitle+'</a></h2><span>'+daystr+'</span><p>'+removeHtmlTag(postcontent,summaryPost)+'...</p></div></div>';
document.write(trtd);
j++;
}}
//]]>
</script>
الرقم 200 هو عدد حروف الملخص
الرقم 18 هو عدد المواضيع التي تظهر في السلايد قم بالزيادة او النقصان بحسب عرض مدونتك
القسم إستبدله بإسم القسم الذي تريد أن يظهر السلايد مواضيع منه
ملاحظة : " قد يرغب احد أن يصنع قسم او تسمية جديدة للسلايد بحيث يضع به مواضيع مختلفة من الأقسام ولا يريده ان يكون ظاهر للزائر بشكل كبير يمكن عمل التالي بإستبدال القسم برمز مثلا وليكن النجمة * ثم وضع المواضيع التي ترغب في تسمية جديدة وأيضا أعطها رمز النجمة ويمكن إخفائها من آداة التسميات بالطريقة التالية "
إتمام التركيب مع شرح التنسيق
الكود التالي هو المتمم لعملية التركيب وهو الخاص بتنسيق السلايدر
قم بإضافته فوق الوسم
#featured{لتعديل عرض السلايدر قم بتعديل الأكواد الحمراء بنفس النسبة إذا قمت بزيادة 10px يجب أن تزيدها جميعا بنفس النسبة ونفس الشئ إن أنقصت العرض
margin-bottom:10px;
}
.sliderwrapper{
position: relative;
border-bottom-width: 6px;
height: 124px;
}
.sliderwrapper .contentdiv{
background: #fff;background: -moz-linear-gradient(top,#fff,#EAEAEA);background: -webkit-linear-gradient(top,#fff,#EAEAEA);
border:3px solid #7C7B7B;
height:180px;
border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;
box-shadow: 0 1px 2px #999;-moz-box-shadow: 0 1px 2px #999;-webkit-box-shadow: 0 1px 2px #999;
margin-top: 10px;
opacity: 1;
padding: 15px 15px 15px 0;
position: absolute;
visibility: hidden;
width: 623px;
}
.pagination{
text-align: right;
margin-top: 110px;
padding:5px;
margin-left:5px;
}
.pagination a{
background: #F0EFEF;background: -moz-linear-gradient(top,#fff,#F0EFEF);background: -webkit-linear-gradient(top,#fff,#F0EFEF);
font:13px Arial;
font-weight:bold;
color:#a3a3a3;
padding:4px 8px;
border-radius:50px;-webkit-border-radius:50px;-moz-border-radius:50px;
box-shadow: 0 1px 2px #000;-moz-box-shadow: 0 1px 2px #000;-webkit-box-shadow: 0 1px 2px #000;
margin-right:4px;
}
.pagination a.selected{
color:#fff;
background:#000;
}
.pagination .prev,.pagination .next { color:#EAEAEA;
font-size:0px; background:none; padding:0px; }
.featuredPost{
width:380px;
padding:0px 10px 10px 10px !important;
bottom:0;
float:left !important;
}
.pagination .prev, .pagination .next{float:right;}
.featuredPost a{
color:#000;
font: 18px "Microsoft Sans Serif";
margin:0;
padding:0;
}
.featuredPost h2{margin:0 0 8px 0;}
.featuredPost span{font-size:11px; margin:0; color:#C94545;}
.featuredPost p{font-size:13px; margin:4px 0 0 0; color:#797979;}
.sliderPostPhoto a img{float: right !important;width:220px; height:180px;border:2px solid #000;}
.sliderPostPhoto{float: right !important; width:100px !important;}
أما لتعديل الإرتفاع تعدل النسب الزرقاء بنفس الطريقة مع مراعاة أن الرقمين المتجاورين 220 و 180 هما عرض وإرتفاع الصورة
هذا اللون #7C7B7B هو لون الإطار الخارجي للسلايدر
وهذا التدرج اللوني هو خلفية السلايدر
background: #fff;background: -moz-linear-gradient(top,#fff,#EAEAEA);background: -webkit-linear-gradient(top,#fff,#EAEAEA);وهذا التدرج هو لون الأزرار
background: #F0EFEF;background: -moz-linear-gradient(top,#fff,#F0EFEF);background: -webkit-linear-gradient(top,#fff,#F0EFEF);وهذا لون background:#000; الزر الخاص بالموضوع المختار في السلايدر
هذه هي أهم الأكواد التي ستتيح لك التحكم في السلايدر وجعله مناسب لمدونتك ويمكنك الإستعانة بخدمة أكواد الألوان التابعة لنا
وبالتوفيق بإذن الله
No comments:
Post a Comment