• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Re-initiate data-xf-init for code that is dynamically created?

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
Hey,

is there a way to re-initialize the data-xf-init part of XF HTML code that is added dynamically via JS?

For example and without elaborating too much, a list of tabs is generated dynamically by inserting it via JS. Now the issue is that the data-xf-init (tabs h-scroller) doesn't seem to automatically activate, which means I do not get the benefits of the tabs/h-scroller modules (like the arrows on the sides whenever the tab list gets too long for example).

Any idea if this is...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا