Ecshop realization of "fine, new, hot" Plate appearance tab Effect method

Source: Internet
Author: User

Recently do a network mall, directly use ecshop free template, lazy to re-do, Ecshop built station for several days, has been wanted in the homepage of the Plate page tab mouse after automatic switching effect, Baidu Search this aspect of the content also did not find the right, today an experiment, success, So write it for ecshop Novice reference:

1, the ecshop comes with the tab effect (mouse click to switch):
Set the product category in the background, tick "set home recommendation: Boutique, latest, popular" After an item, the corresponding in the homepage of the "boutique, latest, popular" will appear "tab effect."
However, the default tab effect is "mouse click to toggle".
2, how to modify the Ecshop in the boutique, the latest, the popular plate has been implemented in the default tab effect is "mouse after automatic switching" it?
The simple approach is to modify the JavaScript style property value onclick to replace onmouseover (two).
Find a specific alternative: Open the Template Library project file Recommend_best.lbi (fine), or recommend_hot.lbi (hot); or Recommend_new.lbi (latest)
The file location is under Ecshop\themes\default\library\. Use Notepad to open the Recommend_best.lbi; find onclick all replaced with onmouseover; After the refresh test switch effect, everything OK.

Ecshop realization of "fine, new, hot" Plate appearance tab Effect method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.