السلام عليكم ورحمة الله وبركاته
اضافة ازرار المشاركة على المواقع الاجتماعيه بتقنية css3
اضافة المواقع css3 بلوجر
اضافة المشاركة على المواقع الاجتماعيه بلوجر
لنبدأ الشرح
1- لوحة التحكم
2- قالب
3- تحرير HTML
4- توسيع قوالب عناصر واجهة المستخدم
4- توسيع قوالب عناصر واجهة المستخدم
ابحث عن هذا الكود :
</head>
قم باضافة هذا الكود بعده مباشرة
<style type='text/css'> /* Beautiful Social Bookmarking Widget By Harish @ www.way2blogging.org & Modified By Rida @ www.ridasail.blogspot.com */ ul.social { -moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: url("http://i.imgur.com/uoKjU.png") no-repeat scroll 3px 1px #202020; border-color: #000000 #333333 #333333 #000000; border-radius: 6px 6px 6px 6px; border-style: solid; border-width: 1px; display: inline-block; line-height: 18px; list-style-position: outside; list-style-type: none; margin: 10px 10px 0 0; padding-bottom: 10px; padding-left: 110px; padding-right: 10px; padding-top: 9px;} ul.social { list-style:none; margin:1px auto;display:inline-block; }ul.social li { display:inline; float:left; background-repeat:no-repeat; }ul.social li a { display:block; width:48px; height:48px; padding-right:5px; position:relative; text-decoration:none; }ul.social li a strong { font-weight:normal; position:absolute; left:20px; top:-1px; color:#fff;padding:3px; z-index:9999; text-shadow:1px 1px 0 rgba(0, 0, 0, 0.75); background-color:rgba(0, 0, 0,0.7); -moz-border-radius:3px; -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); -webkit-border-radius:3px; -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); border-radius:3px; box-shadow: 0 0 5px rgba(0, 0, 0,0.5);}ul.social li.facebook { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnKkDrO-yDvm2lcHCcZgsyYPtWxcBhi9S78DWNYQ01pM1E6hbMV1c5iKFMGKo9X0rnRozgD-TLwc5XB1JHlsKNcRpk-bZomr73ynTzEtij1OA7XR4l13KdlNdq8CDrzpgQVKLJ0xRR6Rut/s48/facebook.png"); }ul.social li.twitter { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiENrohTRFgexD1zRNp8ClGpKW5SkLagEL9imX1dHva_M9hSNoFUkTnz2Hf8j2mCewID08F_ouZJUtegA7_hQDZ5ROtpB2_tXNyQ1mjyVHUlWOhm8EfBcwZ6707QdqF9nx-Msob0FNRMPi5/s48/twitter.png"); } ul.social li.googlebuzz { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRjJrCjMj3zXvYcq0LCiVLHZfi7qxrfm_9Lg0zp6S1DEwu4S-vvZm4FI6Cxiqzj3BpTDBCF_nic1lVKYgMMlOhWePpNzZK2eL_fbgXUvd-hHFIDf2P-UI7zhVtjVh-bFI_qJEZh2MaaerQ/s48/google%252B.png"); }ul.social li.stumbleupon { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjZ1fbGNYWIkTAJ3sNFI38U7VR-z-D8w0uhxAnZyPsDg7FTiUcFlb-0ElLaEmflbfCBPq8NAz8DtFIFdh_s85q8oZVMNOGY7qK96o-przni8cQb4nx0aoOMtWxwdTp-qBWZR0qVyxpGloR/s48/stumbleupon.png"); }ul.social li.digg { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIYKgbDcB5wQ1la8_oDMaFZtJLWys_nog6cBw19WsVLilY-kYHyPxnygH_YCczKXClXpV5RHwSPUew_YTUsH-HIS9yJACzMemGOioWvXu9jnkzvV38qGWNkwb4y8npjTmtfZ400AvOu4aR/s48/digg.png"); }ul.social li.delicious { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4ySli_JyP6oBg1Wzi7iFyTmZxT21oz7P48eXpxcLNZmgiiMiq3OL6oJiJXmlLmjOCugnNk4uhoqoViwYxd2sHtz0_7uAGHGhlEIXejSVAmLoyN72tY6j7HxgwqwfU-UD4-un6neCEDBpU/s48/delicious.png"); }ul.social li.linkedin { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRttWmlo8I_Tg-peW_q9LUblR2JQVEw3iFKy5P1dxr2M6UFPuji5P0Ymx0BWXzI3LuTTzRL2PWt6pIjaJhZv_I-YszJH9hf-RcxGHRnxNJPEmDMApLyQ_p8r7K0zR1xRltSyb13dIrYJ1g/s48/linkedin.png"); }ul.social li.reddit { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1lz95LGqx9egO6lglxkmse_kxQbvGTY2jnp6Z4Ay81kQ1ZBa52_15jqrhQPHVXaBdxKs4GCJr9zvfmsKR5ZrvOoO3ArCTxoIj_AjxPmfgGycekXGwV5FDyMu1nyPRknDBhSi9uoWydLnt/s48/reddit.png"); }ul.social li.technorati { background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu-wRKAkPXwV57v6pz1te4T6NwY34RsBd7GwJpKuRLPQj3O6NsCV4Q4UttFAapfMm1SqLfhanDUKIAIqTo8t8If8TcGKGS0F4VEXPLYkFeG7BlelO8xUy7KHhFh0xuXMUT8r_1-Zb0iNti/s48/technorati.png"); }#cssanime:hover li { opacity:0.2; }#cssanime li { -webkit-transition-property: opacity; -webkit-transition-duration: 500ms;-moz-transition-property: opacity; -moz-transition-duration: 500ms; }#cssanime li a strong { opacity:0; -webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms; -moz-transition-property: opacity, top; -moz-transition-duration: 300ms; }#cssanime li:hover { opacity:1; }#cssanime li:hover a strong { opacity:1; top:-10px; } /* Beautiful Social Bookmarking Widget By Harish @ www.way2blogging.org & Modified By Rida @ www.ridasail.blogspot.com */ </style>
الان ابحث عن الكود التالي
<data:post.body/>
بعده مباشرة اضف هذا الكود
<b:if cond='data:blog.pageType == "item"'>
<ul class='social' id='cssanime'>
<li class='facebook'>
<a expr:href='"http://www.facebook.com/share.php?v=4&src=bm&u=" + data:post.url + "&t=" + data:post.title 'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' title='Share this on Facebook'><strong>Facebook</strong></a>
</li>
<li class='twitter'>
<a expr:href='"http://twitter.com/home?status=" + data:post.title + " -- " + data:post.url 'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false; ' rel='nofollow' title='Tweet This!'><strong>Twitter</strong></a>
</li>
<li class='googlebuzz'>
<a expr:href='"https://plus.google.com/share?url=" + data:post.url + "&imageurl="'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' title='Post on GoogleBuzz'><strong>Google Plus</strong></a>
</li>
<li class='stumbleupon'>
<a expr:href='"http://www.stumbleupon.com/submit?url=" + data:post.url + "&title=" + data:post.title 'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' title='Stumble upon something good? Share it on StumbleUpon'><strong>StumbleUpon</strong></a>
</li>
<li class='digg'>
<a expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url + "&title=" + data:post.title 'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' title='Digg this!'><strong>Digg</strong></a>
</li>
<li class='delicious'>
<a expr:href='"http://delicious.com/post?url=" + data:post.url + "&title=" + data:post.title 'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' title='Share this on del.icio.us'><strong>Delicious</strong></a>
</li>
<li class='linkedin'>
<a expr:href='"http://www.linkedin.com/shareArticle?mini=true&url=" + data:post.url + "&title=" + data:post.title + "&summary=&source="'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' title='Share this on LinkedIn'><strong>LinkedIn</strong></a>
</li>
<li class='reddit'>
<a expr:href='"http://reddit.com/submit?url=" + data:post.url + "&title=" + data:post.title 'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' title='Share this on Reddit'><strong>Reddit</strong></a>
</li>
<li class='technorati'>
<a expr:href='"http://technorati.com/faves?add=" + data:post.url 'onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' title='Share this on Technorati'><strong>Technorati</strong></a>
</li>
</ul>
</b:if>
مبروك على الاضافة !
..
ليست هناك تعليقات:
إرسال تعليق