جستجو در انجمن
در حال نمایش نتایج برای برچسب های 'منوی آبشاری'.
پیدا شد 2 نتیجه
-
سلام دوستان من با منوی آبشاری بوت استرپ اونم برای زیر منوها به مشکل خوردم. چون که وقتی موس میره روی منو زیر منوها به صورت اتوماتیک باز میشن و من نمیخوام این حالت ایجاد بشه و میخوام که با کلیک کردن روی هر آیتم از منو، آیتم بعدی باز بشه. این حالت در پلتفرم دسکتاپ مشکلی نداره اما برای موبایل خیلی اذیت میکنه. ممنون
-
سلام وقت بخیر به آدرس زیر برید: https://demo.tagdiv.com/newspaper/ به قسمت DON'T MISS (باکس زرد رنگ) توجه کنید منویی در ابتدای این باکس هست که با کوجک کردن صفحه از قسمت قابل نمایش منو به قسمت زیر منو منتقل میشه و در هنگام بزرگ کردن صفحه از زیر منو به قسمت قابل دیدن میاد من کد زیر رو از فایلش پیداکردم ولی متوجه نحوه کارش نشدم: /** * pulldown lists * */ jQuery('.td-subcat-filter').each(function(index, element) { var jquery_object_container = jQuery(element); var horizontal_jquery_obj = jquery_object_container.find('.td-subcat-list:first'); var vertical_jquery_obj = jquery_object_container.find('.td-subcat-dropdown:first'); if (horizontal_jquery_obj.length == 1 && vertical_jquery_obj.length == 1) { var pulldown_item_obj = new td_pulldown.item(); pulldown_item_obj.horizontal_jquery_obj = horizontal_jquery_obj; pulldown_item_obj.vertical_jquery_obj = vertical_jquery_obj; pulldown_item_obj.horizontal_element_css_class = 'td-subcat-item'; pulldown_item_obj.container_jquery_obj = horizontal_jquery_obj.parents('.td_block_wrap:first'); pulldown_item_obj.excluded_jquery_elements = [horizontal_jquery_obj.parent().siblings('.block-title:first')]; td_pulldown.add_item(pulldown_item_obj); } }); jQuery('.td-category-siblings').each(function(index, element) { var jquery_object_container = jQuery(element); var horizontal_jquery_obj = jquery_object_container.find('.td-category:first'); var vertical_jquery_obj = jquery_object_container.find('.td-subcat-dropdown:first'); if (horizontal_jquery_obj.length == 1 && vertical_jquery_obj.length == 1) { var pulldown_item_obj = new td_pulldown.item(); pulldown_item_obj.horizontal_jquery_obj = horizontal_jquery_obj; pulldown_item_obj.vertical_jquery_obj = vertical_jquery_obj; pulldown_item_obj.horizontal_element_css_class = 'entry-category'; pulldown_item_obj.container_jquery_obj = horizontal_jquery_obj.parents('.td-category-siblings:first'); td_pulldown.add_item(pulldown_item_obj); } }); ممنون