دنبال کننده ها

۱۳۹۷ فروردین ۲۱, سه‌شنبه

javascript - Show / hide div with content on website's sidebar depending of width size (e-commerce)

[ad_1]



I need to create from scratch code, which give me a few function.
I have element div with header and below I have a div with content. On screen with width less than XX px (mobile and tablet version) header should be clickable and after click should show / hide div with content.



I need many analogic elements, because I am creating a theme from scratch for e-commerce. This will be the sidebars elements, f.e. best selling products, newsletter form, contact information and other stuff.



I like to creating everything by myself, but I have no patience for this case. I tried so many option and I have failed. Could you help me to create seo optimised code for that situation?



Thank you.




[ad_2]

لینک منبع