tyle="border: 0px; font-stretch: inherit; margin: 0px; outline: 0px; overflow: hidden; padding: 0px; text-align: right; vertical-align: baseline;">
#flippy {
text-align: center;
}
#flippy button {
background:#FD4B4B;
color: #fff;
text-align: center;
margin: 0 auto;
border: none;
border-radius: 3px;
padding: 8px 16px;
margin: 10px auto;
font-size: 13px;
font-family: droid arabic kufi;
font-weight: bold;
vertical-align: middle;
cursor: pointer;
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
transition: background 0.1s ease-in-out;
}
#flippy button:hover, #flippy button:focus {
background: #EA2B2B;
outline: none;
}
#flippanel {
padding: 1px;
text-align: right;
background: #f5f5f5;
border: 0px;
}
#flippanel {
padding: 24px;
display: none;
}
4. ابحث عن </body> ضع الكود التالي فوقه
<script>
$(document).ready(function() {
$("#flippy").click(function() {
$("#flippanel").slideToggle("normal");
});
});
</script>
5. احفظ النموذج وتوجه للمشاركات
6. الكود الأتي يوضع داخل موضوع في تبويب HTML
<div id="flippy"><button>المزيد لتستكشفه</button></div>
<div id="flippanel">
ضع هنا محتوى الموضوع الذي تريد إخفائه
</div>
انتهى الموضوع ، اتمنى أن تكون الإضافة في متناول الجميع تحياتي .
ليست هناك تعليقات :
إرسال تعليق
=a= =b= =c= =d= =e= =f= =g= =h= =j= =k= =l= =m= =n= =o= =p= =q= =w= =x= =y= =z=