-
AuthorPosts
-
December 19, 2010 at 4:28 pm #157642
Hi Everyone,
Especially Mr. Hung who somehow magically comes and goes in all these support forums!I’m experiencing a problem in Chrome (Firefox and IE are ok) in which my main menu in the norite template is open when i first open my site’s homepage. and the interesting thing is two of the menu items are open and not just one! of course some time back while editting the site there was just one. When i click any of the menu items and am referred to the related page, the problem is cleared. even if I click the Homepage link, I will not see any problems arise. it’s just at the moment I open the site all together.
Since it’s still on local, I have included a screenshot of the newly opened site.
Please help me be able to upload the new site soon without the mentioned problem!
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
December 20, 2010 at 7:26 am #367686You may following this steps to fix the problem
– Open file templates/ja_norite/js/menu/mega.js
– Find the line 208:
if (li.childcontent) li.timer = setTimeout(this.itemHide.bind(this, [li, e]), this.options.delayHide);
– Change to
if (li.childcontent) li.timer = setTimeout(this.itemHide.pass([li, e], this), this.options.delayHide);
1 user says Thank You to Khanh Le for this useful post
December 20, 2010 at 5:27 pm #367803Thank you Khanh. I took a look at the file and my version was on line 211 like this:
if (li.childcontent) li.timer = setTimeout(this.itemHide.bind(this, [li, e]), this.options.delayHide);
so it had the bind property but the variables were misplaced. I tried changing it to:
if (li.childcontent) li.timer = setTimeout(this.itemHide.bind([li, e], this), this.options.delayHide);
but it had no effect after ctrl+F5ing a few times, apparently it’s some other problem.
Thanks again though.
Waiting for more help!Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
December 21, 2010 at 4:01 pm #367969Thanks man! That was all there was to it!
Perfectly pinpointed!AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by sema110 13 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
JA Norite Open Menu Problem
Viewing 5 posts - 1 through 5 (of 5 total)