معهد خبراء بلوجر

معهد خبراء بلوجر (https://www.bloggerexp.com/index.php)
-   إضافات وأدوات بلوجر (https://www.bloggerexp.com/forumdisplay.php?f=10)
-   -   اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر (https://www.bloggerexp.com/showthread.php?t=7310)

بلال حمدان 04-29-2013 06:08 PM

اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر
 
أزراv صعو] وهبوط يمكن استخدامها للتنقل إلى أعلى وأسفل محتوى الصفحة، وخصوصا عندما يكون وهناك العديد من المواد على الصفحة الرئيسية أو عندما يكون هناك مقال لديه الكثير من التعليقات. هذه الأزرار لها تأثير FADEIN الاختفاء التدريجي، وهذا يعني أنها سوف تتلاشى قليلا عندما نكون التمرير إلى أعلى أو أسفل الصفحة

http://1.bp.blogspot.com/-i479h5TxBc...r-blogspot.png

كيفية تركيب الاضافة . تابع الخطوات :)

الخطوة 1. الذهاب إلى قالب، انقر على زر تحرير HTML

http://1.bp.blogspot.com/-9PJxe92QMd...-edit-html.png

الخطوة 2. حدد "توسيع قوالب القطعة" مربع

http://3.bp.blogspot.com/-wkwMDAbjcc...-templates.png

الخطوة 3. بحث (باستخدام CTRL + F) عن الكود الاتي :

كود بلغة HTML:

]]></b:skin>
الخطوة 4. فقط فوق هذا الرمز، الصق هذا الكود :

كود بلغة HTML:

/* Up and Down Buttons with jQuery
----------------------------------------------- */
.button_up{
padding:7px; /* Distance between the border and the icon */
background-color:white;
border:1px solid #CCC; /* Border Color */
position:fixed;
background: whiteurl(http://4.bp.blogspot.com/-7zE5N9GdDUk/T6rH17KE6II/AAAAAAAACeQ/aEcKRyEhxsE/s16/arrow_up.png) no-repeat top left;
background-position:50% 50%;
width:20px; /* Button's width */
height:20px; /* Button's height */
bottom:280px; /* Distance from the bottom */
right:5px; /* Change right to left if you want the buttons on the left */
white-space:nowrap;
cursor: pointer;
border-radius: 3px 3px 3px 3px;
opacity:0.7;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
.button_down{
padding:7px; /* Distance between the border and the icon */
background-color:white;
border:1px solid #CCC; /* Border Color */
position:fixed;
background: white url(http://3.bp.blogspot.com/-sukwuViZaYY/T6rH15A8niI/AAAAAAAACeM/YErd0S8lPGA/s16/arrow_down.png) no-repeat top left;
background-position:50% 50%;
width:20px; /* Button's width */
height:20px; /* Button's height */
bottom:242px; /* Distance from the bottom */
right:5px; /* Change right to left if you want the buttons on the left */
white-space:nowrap;
cursor: pointer;
border-radius: 3px 3px 3px 3px;
opacity:0.7;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}

الخطوة 5. الآن بحث (CTRL + F) عن هذه العلامة:

كود بلغة HTML:

</body>
الخطوة 6. وفوق ذلك، الصق الكود التالي :

كود بلغة HTML:

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/>

<div class='button_up' id='button_up' style='display:none;'/>
<div class='button_down' id='button_down' style='display:none;'/>

<script>
//<![CDATA[
(function(){var special=jQuery.event.special,uid1='D'+(+new Date()),uid2='D'+(+new Date()+1);special.scrollstart={setup:function(){var timer,handler=function(evt){var _self=this,_args=arguments;if(timer){clearTimeout(timer)}else{evt.type='scrollstart';jQuery.event.handle.apply(_self,_args)}timer=setTimeout(function(){timer=null},special.scrollstop.latency)};jQuery(this).bind('scroll',handler).data(uid1,handler)},teardown:function(){jQuery(this).unbind('scroll',jQuery(this).data(uid1))}};special.scrollstop={latency:300,setup:function(){var timer,handler=function(evt){var _self=this,_args=arguments;if(timer){clearTimeout(timer)}timer=setTimeout(function(){timer=null;evt.type='scrollstop';jQuery.event.handle.apply(_self,_args)},special.scrollstop.latency)};jQuery(this).bind('scroll',handler).data(uid2,handler)},teardown:function(){jQuery(this).unbind('scroll',jQuery(this).data(uid2))}}})();

$(function() {
var $elem = $('body');
$('#button_up').fadeIn('slow');
$('#button_down').fadeIn('slow');
$(window).bind('scrollstart', function(){
$('#button_up,#button_down').stop().animate({'opacity':'0.2'});
});
$(window).bind('scrollstop', function(){
$('#button_up,#button_down').stop().animate({'opacity':'1'});
});
$('#button_down').click(
function (e) {
$('html, body').animate({scrollTop: $elem.height()}, 800);
} );
$('#button_up').click(
function (e) {
$('html, body').animate({scrollTop: '0px'}, 800);
} );});
//]]>

</script>

الخطوة 7. وأخيرا، حفظ القالب.

المصدر : http://www.computer-com.com/2013/04/blog-post_29.html

imo7amedi 05-01-2013 07:09 PM

رد: اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر
 
الف شكر تسلم ايدك

عالم الجوال 05-01-2013 09:20 PM

رد: اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر
 
شكرااا لك على الإضافة

kingnt 05-02-2013 10:43 PM

رد: اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر
 
ما شاء الله جزاك الله كل خير

haitham max 05-04-2013 12:25 PM

رد: اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر
 
<style>
/*--------Touch Me Sharing Widget ------*/
.touchme a {
display:block;
height:50px;
width:50px;
padding:0 4px;
float:left;
background:transparent url(http://blogger-araby.googlecode.com/...Touch%20Me.png) no-repeat;
-webkit-transition: ease-in 0.2s all;
-moz-transition: ease-in 0.2s all;
-o-transition: ease-in 0.2s all;
-ms-transition: ease-in 0.2s all;
transition: ease-in 0.2s all;
cursor:pointer;

}


.touchme a.googleplus {
background-position: 0px -58px;

}
.touchme a.googleplus:hover {
background-position: 0px 0px;
}


.touchme a.twitter {
background-position: 0px -290px;

}
.touchme a.twitter:hover {
background-position: 0px -232px;

}
.touchme a.facebook {
background-position: 0px -406px;

}
.touchme a.facebook:hover {
background-position: 0px -348px;

}


.touchme a.rss {
background-position: 0px -174px;

}
.touchme a.rss:hover {
background-position: 0px -116px;

}


</style>


<div class='touchme'>

<!--RSS-->
<a class='rss' href="http://feeds.feedburner.com/xxxxxxxxxxxxxxxxx" rel='external nofollow' target='_blank'></a>

<!--Google Plus-->
<a class='googleplus' href="xxxxxxxxxxxxxxxx" rel='external nofollow' target='_blank'></a>

<!--Facebook-->
<a class='facebook' href="xxxxxxxxxxxxxxxx" rel='external nofollow' target='_blank'></a>

<!-- Twitter -->
<a class='twitter' href="xxxxxxxxxxxxxxxx" rel='external nofollow' target='_blank' ></a>


</div>

amira_amira 05-05-2013 04:24 PM

رد: اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر
 
تسلم على الاضاقه

مرادكوووم 05-09-2013 08:45 AM

رد: اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر
 
ما شاء الله
جزاكم الله خيرا

trucsinformatique 05-13-2013 09:59 AM

رد: اضافة زر الذهاب إلى أعلى و زر الذهاب إلى الاسفل في بلوجر
 
Momtazzzzzzz


الساعة الآن 01:59 PM

Powered by vBulletin® Copyright ©2000 - 2025 Dov By EGYNT.Co
new notification by 9adq_ala7sas
Developed By Marco Mamdouh
معهد خبراء بلوجر - 2012