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

معهد خبراء بلوجر (https://www.bloggerexp.com/index.php)
-   إضافات وأدوات بلوجر (https://www.bloggerexp.com/forumdisplay.php?f=10)
-   -   اضافة اضاءة لصور مدونتك - اضافات بلوجر (https://www.bloggerexp.com/showthread.php?t=12078)

Blog-Add 02-19-2014 05:20 PM

اضافة اضاءة لصور مدونتك - اضافات بلوجر
 
السلام عليكم ورحمة الله وبركاته

اقدم لكم اليوم اضافة تأثير اضاءة علي الصورة بمجرد مرور الماوس عليها

الطريقة سهلة وبسيطة تابعو الشرح :

اذهب الي صفحة القالب ثم تحرير HTML ثم البحث عن : </head>

واصف قبلها الكود التالي :

كود PHP:

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js' type='text/javascript'/>
<
script type='text/javascript'>
$(
document).ready(function(){
$(
".post img").fadeTo("slow"1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
$(".post img").hover(function(){
$(
this).fadeTo("slow"0.5); // This should set the opacity to 100% on hover
},function(){
$(
this).fadeTo("slow"1.0); // This should set the opacity back to 30% on mouseout
});
});
</script>
<script type='text/javascript'>
$(document).ready(function(){
$(".latest_img").fadeTo("slow", 1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
$(".latest_img").hover(function(){
$(this).fadeTo("slow", 0.5); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("slow", 1.0); // This should set the opacity back to 30% on mouseout
});
});
</script> 

واحفظ العمل ومبروك عليك الاضافة


الساعة الآن 08:26 PM

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