بسم اله الرحمان الرحيم.
_السلام عليكم ورحمة الله تعالى وبركاته , اليوم اخواني اتيت لكم باضافة اكثر من رائعة هاته الاضافة اعطاني اياها صديق لي , وهاته الاضافة اكثر من رائعة حيث تعطيك درجة صعودك ونزولك والكثير يبحث عنها , وبعد ان اضفتها في مدونتي قلت لما لا اشاركها بزوارنا الكرام ,وهاته صورة مصغرة عن الاضافة :
_ لن اطيل عليكم كثيرا اخواني بالكلام :
اولا اخواني يجب عليكم التوجه الى : قالب, ومن ثم تحرير html.
بعدها ماعليكم سوى البحث عن الوسم التالي : ]]></b:skin> وضع فوقه مباشرتا هذا الكود :
#scroll {
display: none;
position: fixed;
top: 0;
left: 20px;
z-index: 500;
padding: 3px 8px;
background-color: #2187e7;
color: #fff;
border-radius: 3px;
}
#scroll:after {
content: ” ”;
position: absolute;
top: 50%;
left: -8px;
height: 0;
width: 0;
margin-top: -4px;
border: 4px solid transparent;
border-left-color: #2187e7;
}
المصدر مدونة التقنية العربية:http://mahwostique.blogspot.com/_بعدها اخواني يجب عليكم ان تبحثوا على هذا الوسم ايضا </head> وضع تحته مباشرتا هذا الكود الصغير :
<div id='scroll'></div>
وفي الاخير اخواني يجب عليكم ان تبحثوا مرتا اخرى على هذا الوسم : </body> ثم ضعوا فوقه مباشرتا هذا الكود الموجود هنا في الاسفل :
<script type='text/javascript'>
/*<![CDATA[*/
var scrollTimer = null;
$(window).scroll(function() {
var viewportHeight = $(this).height(),
scrollbarHeight = viewportHeight / $(document).height() * viewportHeight,
progress = $(this).scrollTop() / ($(document).height() - viewportHeight),
distance = progress * (viewportHeight - scrollbarHeight) + scrollbarHeight / 2 - $('#scroll').height() / 2;
$('#scroll')
.css('top', distance)
.text(' (' + Math.round(progress * 100) + '%)')
.fadeIn(100);
if (scrollTimer !== null) {
clearTimeout(scrollTimer);
}
scrollTimer = setTimeout(function() {
$('#scroll').fadeOut();
}, 1500);
});
/*]]>*/
</script>
المصدر مدونة التقنية العربية:http://mahwostique.blogspot.com/
/*<![CDATA[*/
var scrollTimer = null;
$(window).scroll(function() {
var viewportHeight = $(this).height(),
scrollbarHeight = viewportHeight / $(document).height() * viewportHeight,
progress = $(this).scrollTop() / ($(document).height() - viewportHeight),
distance = progress * (viewportHeight - scrollbarHeight) + scrollbarHeight / 2 - $('#scroll').height() / 2;
$('#scroll')
.css('top', distance)
.text(' (' + Math.round(progress * 100) + '%)')
.fadeIn(100);
if (scrollTimer !== null) {
clearTimeout(scrollTimer);
}
scrollTimer = setTimeout(function() {
$('#scroll').fadeOut();
}, 1500);
});
/*]]>*/
</script>
المصدر مدونة التقنية العربية:http://mahwostique.blogspot.com/
وعند انتهائك من وضع الاكواد يجب عليك حفظ القالب .
_كانت هاته تدونتنا لنهار اليوم نرجوا انها اعجبتكم , للا تنسوا مشاركتنا ارائكم وتعليقاتكم المهمة بالنسابة لنا , ورمضان كريم , سلام.
مصدر الاضافة

