المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : قالب template جميل و منضم يالون الازراق الجداب ادخل اوشف



loulou ange
11-01-2013, بتوقيت غرينيتش 08:15 AM
اليوم سنتعرف على كيفية اضافة سلايدشو مدونة blog المساعد الالكتروني

من بين اهم خصائصه:
امه اتوماتيكي
طريقة تركيب install إضافة السلايدر في مدونات بلوجر الشخصية :








وقبل القيام باي تغيير قم بحفظ نسخة احتياطية للقالب template, من لوحة التحكم اتجه الى تصميم ثم تحرير HTML, ضع علامة في خانة توسيع القوالب, ثم إضغط في الكيبورد على Ctrl + F, و ابحث عن الكود code التالي :









رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;&#93;&#93;></b:skin>
&#91;CENTER&#93;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>







ثم ضع فوقه/قبله كود code CSS التالي :





رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;#alwansd{
&#91;CENTER&#93;height: 397px;
margin: 0 0 20px 20px;
padding: 15px 17px 15px 16px;
width: 617px;
background: #373737;
border-top: 4px solid #00B4FF;
}
.alwanw{
position: relative;
height:385px;
}
.alwanw .contentdiv{
visibility: hidden;
position: absolute;
opacity: 1;
}
.alwan-ps{
text-align: right;
float: left;
width: 618px;
height: 11px;
margin-left: -1px;
}
.alwan-ps .toc{
font-size: 0px;
width: 50.5px;
height: 11px;
float: right;
background: #5b5b5b;
margin-left: 1px;
}
.alwan-ps a.selected{
background:#dfdfdf;
}
.alwan-ps .prev, .alwan-ps .next {display:none; }
.alwanip{
width: 597px;
padding: 10px !important;
bottom: 0;
float: left !important;
position: absolute;
background:url(http://3.bp.blogspot.com/--PmJCnAgSsc/USDs0q1v30I/AAAAAAAADoY/_nmnrEqXG4U/s1600/backslide.png);
}
.alwanip a{
color:#dcdcdc;
font: 12px droidkufi-bold;
margin:0;
padding:0;
line-height: 19px;



}
.alwanip h6{margin: 0;}
.alwanip h6 a:hover {color:#ffa800;}
.alwanip .alwand{font:12px arial; margin:4px 0; color:#a5a5a5; }
.alwanip p{font-size: 13px;
margin: 0;
color: #a5a5a5;
line-height: 23px;
}
.alwansf a img{float: right !important; }
.alwansf {float: right !important; width:100px !important;}
.column-center-outer {
width: 100%;
}
&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>




مع تغيير 00b4ff# بي اللون الطاغي في مدونتك و اللذي يمكنك الحصول عليه من هنا

الآن ابحث عن :










رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;</head>
&#91;CENTER&#93;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>









الآن أضف الكود code التالي فوقه/قبله :



رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;&lt;script&gt;
&#91;CENTER&#93;imgr = new Array();
imgr&#91;0&#93; = &quot;http://lh3.ggpht.com/_kViOplhgIHI/TKxBIScZTiI/AAAAAAAAAWE/PM7AQ1lf6ME/noimages.jpg&quot;;
showRandomImg = true;
aBold = true;
summaryPost = 150;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>

رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;
&#91;CENTER&#93;numposts1 = 12;&#91;/CENTER&#93;

&#91;CENTER&#93;label1 = &quot;المزيد&quot;;&#91;/CENTER&#93;

&#91;CENTER&#93;function removeHtmlTag(strx,chop){var s=strx.split(&quot;&lt;&quot;);for(var i=0;i&lt;s.length;i++){if(s&#91;i&#93;.indexOf(&quot;&gt;&quot;)!=-1){s&#91;i&#93;=s&#91;i&#93;.substring(s&#91;i&#93;.indexOf(&quot;&gt;&quot;)+1,s&#91;i&#93;.le ngth)}}s=s.join(&quot;&quot;);s=s.substring(0,chop-1);return s}&#91;/CENTER&#93;

&#91;CENTER&#93;function showrecentposts1(json){j=(showRandomImg)?Math.floo r((imgr.length+1)*Math.random()):0;img=new Array();for(var i=0;i&lt;numposts1;i++){var entry=json.feed.entry&#91;i&#93;;var posttitle=entry.title.$t;var pcm;var posturl;if(i==json.feed.entry.length)break;for(var k=0;k&lt;entry.link.length;k++){if(entry.link&#91;k&#93;.rel= ='alternate'){posturl=entry.link&#91;k&#93;.href;break}}fo r(var k=0;k&lt;entry.link.length;k++){if(entry.link&#91;k&#93;.rel= ='replies'&amp;&amp;entry.link&#91;k&#93;.type=='text/html'){pcm=entry.link&#91;k&#93;.title.split(&quot;&quot;)&#91;0&#93;;break} }&#91;/CENTER&#93;



&#91;CENTER&#93;if (&quot;content&quot; in entry) {
var postcontent = entry.content.$t;}
else
if (&quot;summary&quot; in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = &quot;&quot;;
postdate = entry.published.$t;
if(j&gt;imgr.length-1) j=0;
img&#91;i&#93; = imgr&#91;j&#93;;
s = postcontent ; a = s.indexOf(&quot;&lt;img&quot;); b = s.indexOf(&quot;src=\&quot;&quot;,a); c = s.indexOf(&quot;\&quot;&quot;,b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&amp;&amp;(b!=-1)&amp;&amp;(c!=-1)&amp;&amp;(d!=&quot;&quot;)) img&#91;i&#93; = d;
var month=&#91;1,2,3,4,5,6,7,8,9,10,11,12&#93;;var month2=&#91;&quot;يناير&quot;,&quot;فبراير&quot;,&quot;مارس&quot;,&quot;ابريل&quot;,&quot;مايو&quot;,&quot;يو نيو&quot;,&quot;يوليو&quot;,&quot;أغسطس&quot;,&quot;سبتمبر&quot;,&quot;أكتوبر&quot;,&quot;نوفمبر&quot;,&quot;د يسمبر&quot;&#93;;var day=postdate.split(&quot;-&quot;)&#91;2&#93;.substring(0,2);var m=postdate.split(&quot;-&quot;)&#91;1&#93;;var y=postdate.split(&quot;-&quot;)&#91;0&#93;;for(var u2=0;u2&lt;month.length;u2++){if(parseInt(m)==month&#91;u 2&#93;){m=month2&#91;u2&#93;;break;
}}
var daystr = day+ ' ' + m + ' ' + y ;
var trtd = '&lt;div class=&quot;contentdiv&quot;&gt;&lt;div class=&quot;alwansf&quot;&gt;&lt;a href=&quot;'+posturl+'&quot;&gt;&lt;img width=&quot;617&quot; height=&quot;385&quot; class=&quot;alignnone&quot; src=&quot;'+img&#91;i&#93;+'&quot;/&gt;&lt;/a&gt;&lt;div class=&quot;sliderPostInfo&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;alwanip&quot;&gt;&lt;h6&gt;&lt;a href=&quot;'+posturl+'&quot;&gt;'+posttitle+'&lt;/a&gt;&lt;/h6&gt;&lt;div class=&quot;alwand&quot; &gt;'+daystr+'&lt;/div&gt;&lt;p&gt;'+removeHtmlTag(postcontent,summaryPost)+'. ..&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;';
document.write(trtd);
j++;
}}
&lt;/script&gt;&#91;/CENTER&#93;

&#91;CENTER&#93;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>








مع تغيير (المزيد) باسم القسم الذي سيتم عرض مواضيعه عشوائيا

بعد ذلك ابحث عن :






رمز PHP:

<code style="white-space:nowrap"> <code>
&#91;CENTER&#93;</body>


&#91;CENTER&#93;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>











ثم الآن أضف الكود code التالي فوقه/قبله :





رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;&lt;script src='http://dl.dropbox.com/u/12924430/contentslider.js'&gt;&lt;/script&gt;
&#91;CENTER&#93;&lt;script&gt;
featuredcontentslider.init({
id: &quot;slider1&quot;, //id of main slider DIV
contentsource: &#91;&quot;inline&quot;, &quot;&quot;&#93;, //Valid values: &#91;&quot;inline&quot;, &quot;&quot;&#93; or &#91;&quot;ajax&quot;, &quot;path_to_file&quot;&#93;
toc: &quot;#increment&quot;, //Valid values: &quot;#increment&quot;, &quot;markup&quot;, &#91;&quot;label1&quot;, &quot;label2&quot;, etc&#93;
nextprev: &#91;&quot;Previous&quot;, &quot;Next&quot;&#93;, //labels for &quot;prev&quot; and &quot;next&quot; links. Set to &quot;&quot; to hide.
enablefade: &#91;true, 0.5&#93;, //&#91;true/false, fadedegree&#93;
autorotate: &#91;true, 6000&#93;, //&#91;true/false, pausetime&#93;
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
&lt;/script&gt;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>

رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;
&#91;CENTER&#93;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>




وفي الأخير قم بالبحث عن هذا الكود code :





رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;<div id='main-wrapper'>أو<div id='content'>أو<div id="content"></div>أو <div class='column-center-inner'>&#91;/CENTER&#93;
</code> </code>

رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;
&#91;CENTER&#93;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>





القالب template أضف الكود code التالي بعده/أسفله :




(ملاحظة : إذا لم تجد أي كود code من هذه الأكواد فقم بالبحت عن هذا الكود code :


رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;<b:section class='main' id='main' showaddelement='no'>
&#91;CENTER&#93;&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>





ثم ضع الكود code الأتي فوقه/قبله )




رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;<b:if cond='data:blog.pageType == &quot;index&quot;'>
&#91;CENTER&#93;<div id='alwansd'>&#91;/CENTER&#93;&#91;/CENTER&#93;
</code> </code>

رمز PHP:

<code style="white-space:nowrap"> <code> &#91;CENTER&#93;
&#91;CENTER&#93;<div class='alwanw' id='slider1'>&#91;/CENTER&#93;

&#91;CENTER&#93;<script>&#91;/CENTER&#93;

&#91;CENTER&#93;document.write(&quot;&lt;script src=\&quot;/feeds/posts/default/-/&quot;+label1+&quot;?max-results=&quot;+numposts1+&quot;&amp;orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts1\&quot;&gt;&lt;\/script&gt;&quot;);&#91;/CENTER&#93;

&#91;CENTER&#93;</script>&#91;/CENTER&#93;

&#91;CENTER&#93;</div>
<div class='alwan-ps' id='paginate-slider1'>
</div>
</div>
</b:if>&#91;/CENTER&#93;
&#91;/CENTER&#93;
</code> </code>




اي مشكلة او استفسار ضعها في التعليق

المصدر :المساعدالاكتروني (http://az64852.blogspot.com/2014/07/blog-post_24.html)








http://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gif:i con30:http://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gifhttp://www.dzbatna.com/images/smilies/icon30.gif







https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى