ظپظ„طھط± ظ…ط*طھظˆظٹط§طھظƒ ط¨ظˆط§ط³ط·ط© jQuery





إذا كان لديك الكثير من العناصر وتريد تصفيتها وفلترتها في تصنيفات, فأليك هذا الملحق الرائع الذي يمكنك من فلترة بياناتك بشكل مميز باستخدام مؤثرات jQuery,CSS3
ومايميز هذا الملحق أنه يحتوي على اكثر من أسلوب لعرض البيانات

===================
طريقة التركيب install

JavaScript
رمز PHP:
<code style="white-space:nowrap"> <code> $('.filters').filters({
filter: {
name: 'filter', // (string) class name for links container
element: 'a', // (string) HTML selector
active: 'active' // (string) class name for active element
},
container: {
name: 'container', // (string) class name for items container
element: 'li' // (string) HTML selector
},
css3: {
init: true, // (bool) use CSS3 transitions
children: 'a', // (string) HTML selector (children of filter.element)
property: 'all 1s ease', // (string) CSS3 property for transitions
transform: { // (object) CSS3 transform properties, please use: scale, rotate, skew
scale: '0'
}
},
move: {
init: true, // (bool) set the true if you want fixed position of elements
easing: 'linear', // (string) set the easing of the animation, you can also use: jQuery Easing plugin: http://gsgd.co.uk/sandbox/jquery/easing/
duration: 500 // (int) set the speed of the easing animation in milliseconds
},
fade: {
duration: &#91;500, 500&#93;, // (array) set the speed of the fading animation in milliseconds - &#91;fadeOut, fadeIn&#93;
opacity: &#91;0, 1&#93; // (array) set the opacity of elements
},
fixed: false, // (bool) setthe true if you want adjust height of the container
onclick: function(filter, element){}

});
</code> </code>

HTML

رمز PHP:
<code style="white-space:nowrap"> <code> <div class="filters">
<
div class="filter">
<
a href="#" rel="collection_name_1">Collection #1</a>
<a href="#" rel="collection_name_2">Collection #2</a>



<a href="#" rel="all">All</a>
</
div>
<
div class="container">
<
ul>
<
li class="collection_name_1"> .. </li>
<
li class="collection_name_2"> .. </li>
<
li class="collection_name_1"> .. </li>
<!--
etc. -->
</
ul>
</
div>
</
div>
</code> </code>

للتحميل والمزيد من التفاصيل

للتحميـــل

المزيد من التفاصيل




التعديل الأخير كان بواسطة Ramy Jakhbeer; 28 - 08 - 2014 الساعة 12:14





©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©