Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
9878 มุมมอง

Hello,

Anybody can help that, can we use use mouse hover in the menu drop down list of the product category list in website e-commerce/shop  using qweb?

Should i use any css function in the template or is any class is occurs for qweb template for mouse hover

My code in the template is:


  <template id="products_category_menu_list" inherit_id="website_sale.products">

<xpath expr="//div[contains(@class, 'oe_structure')]" position="after">

<div class="body-wrap">

<div class="container">

<nav id="oe_main_menu_navbar" role="navigation">

<div class="container-fluid">

<div>

<ul class="nav nav-pills li" id="o_shop_collapse_category">

<li>

<a t-att-href="keep('/shop',category=0)">All Products</a>

</li>

<p>

<t t-foreach="categories" t-as="categ">

<t t-call="website_sale.option_collapse_categories_recursive" />

</t>

</p>

</ul>

</div>

</div>

</nav>

</div>

</div>

</xpath>

</template>



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด


Try this:

 https://www.w3schools.com/w3css/tryit.asp?filename=tryw3css_dropdown_hover 


Thanks !


iWesabe

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 16
3463
1
ส.ค. 23
1686
1
มี.ค. 24
4878
0
เม.ย. 20
3620
0
เม.ย. 20
4856