javascript - Use Bootstrap affix in Colorbox -


मेरा एचटीएमएल:

  और div 

यह काम नहीं कर रहा है इसलिए, मैं Colorbox फ़ंक्शन में एिप्क्स जावास्क्रिप्ट कोड शामिल करता हूं।

  $ (document) .bind ('cbox_open', function () {$ ("। स्क्रॉलहेडर")। Affix ({offset: { शीर्ष 10                 }             });     });  

लेकिन अभी भी काम नहीं कर रहा है जब मैंने इसे DevTools की जांच की, त्रुटि नहीं।

मेरी समस्या क्या है? मैं इसे कैसे सुलझाऊं? धन्यवाद।

यदि आपका रंग बॉक्स स्क्रॉल नहीं करता है, तो आप affix विकल्प का उपयोग नहीं करते हैं।


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -