fix: converted single to triple backticks11 (#36238)
This commit is contained in:
@@ -6,8 +6,9 @@ localeTitle: jQuery الآثار طريقة إخفاء
|
||||
|
||||
في أبسط أشكالها ، يخفي **.hide ()** العنصر المتطابق على الفور ، بدون رسوم متحركة. فمثلا:
|
||||
|
||||
`$(".myclass").hide()
|
||||
`
|
||||
```javascript
|
||||
$(".myclass").hide()
|
||||
```
|
||||
|
||||
سوف يخفي كل العناصر التي الطبقة هي _myclass_ . يمكن استخدام أي محدد jQuery.
|
||||
|
||||
@@ -17,8 +18,9 @@ localeTitle: jQuery الآثار طريقة إخفاء
|
||||
|
||||
* يمكن توفير المدة بالمللي ثانية أو باستخدام القيم الحرفية البطيئة (600 مللي ثانية) وبسرعة (200 مللي ثانية). فمثلا:
|
||||
|
||||
`$("#myobject").hide(800)
|
||||
`
|
||||
```javascript
|
||||
$("#myobject").hide(800)
|
||||
```
|
||||
|
||||
* يمكن تحديد وظيفة ليتم استدعاؤها بمجرد اكتمال الرسوم المتحركة ، مرة واحدة لكل عنصر متطابق. هذا الاستدعاء مفيد بشكل أساسي في ربط الصور المتحركة المختلفة. فمثلا
|
||||
|
||||
@@ -41,11 +43,12 @@ localeTitle: jQuery الآثار طريقة إخفاء
|
||||
|
||||
يقوم هذا الأسلوب بتحريك ارتفاع العناصر المتطابقة. يؤدي ذلك إلى انخفاض أجزاء من الصفحة لأسفل ، مما يجعل الطريق للعناصر التي تم الكشف عنها. الاستعمال:
|
||||
|
||||
`$(".myclass").slideDown(); //will expand the element with the identifier myclass for 400 ms.
|
||||
$(".myclass").slideDown(1000); //will expand the element with the identifier myclass for 1000 ms.
|
||||
$(".myclass").slideDown("slow"); //will expand the element with the identifier myclass for 600 ms.
|
||||
$(".myclass").slideDown("fast"); //will expand the element with the identifier myclass for 200 ms.
|
||||
`
|
||||
```javascript
|
||||
$(".myclass").slideDown(); //will expand the element with the identifier myclass for 400 ms.
|
||||
$(".myclass").slideDown(1000); //will expand the element with the identifier myclass for 1000 ms.
|
||||
$(".myclass").slideDown("slow"); //will expand the element with the identifier myclass for 600 ms.
|
||||
$(".myclass").slideDown("fast"); //will expand the element with the identifier myclass for 200 ms.
|
||||
```
|
||||
|
||||
#### معلومات اكثر:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user