简体   繁体   English

magento中的顶级菜单栏问题

[英]Top menu bar issue in magento

I am new to magento, currently facing issue on finding js function. 我是magento的新手,目前在查找js函数时面临问题。

my top menu bar image 我的顶级菜单栏图片

in above menu when i click customer service link a popup message is displayed i want to customize its content. 在上面的菜单中,当我单击客户服务链接时,显示一条弹出消息,我要自定义其内容。 so far i found top menu bar file, its located in app/design/frontend/rwd/<theme>/template/page/html/top_menu_bar.php 到目前为止,我找到了顶部菜单栏文件,其位于app/design/frontend/rwd/<theme>/template/page/html/top_menu_bar.php

code, 码,

<a href="javascript:void(0);" onclick="customerservies();">CUSTOMER SERVICE</a>

my question is where this customerservies() function definition will be present? 我的问题是此customerservies()函数定义将出现在哪里? please help me to sort this issue.. 请帮助我解决此问题。

It's really difficult to answer this, because this functionality is not default Magento, but a custom one. 确实很难回答,因为此功能不是默认的Magento,而是自定义的功能。

That being said, you should first search for the Javascript method in the template file that you've provided, between <script> tags. 话虽如此,您应该首先在提供的模板文件中的<script>标记之间搜索Javascript方法。

If the method isn't there, you must search for it in the www/skin/frontend/rwd/<theme>/js or www/js directories. 如果该方法不存在,则必须在www/skin/frontend/rwd/<theme>/jswww/js目录中进行搜索。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM