-
AuthorPosts
-
sjmorris Friend
sjmorris
- Join date:
- March 2009
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
March 7, 2011 at 2:34 pm #161125Hello,
Having problems with Mega Menu not hiding after a mouseover on Chrome and FireFox 4 as described in these threads:
http://www.joomlart.com/forums/topic/solution-mega-menu-freezes-in-chrome-doesnt-go-back-up/
http://www.joomlart.com/forums/topic/mega-menu-issue-google-chrome-7-0-517-41-also-on-joomlart-com/
The solution seems to be to simply “Upgrade to T3 Framework” which JA_Seleni does not support. What is the fix for this?
huypl Friendhuypl
- Join date:
- February 2011
- Posts:
- 162
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 20 times in 20 posts
March 11, 2011 at 1:10 pm #380921Hello sjmorris,
To solve this problem just do the following as posted by joomboom. I’ve downloaded JA Seleni and had the same problem. Then I use this way to solve the problem of Mega Menu.
1. Open templatesja_selenilibsmenubase.class.php – find the following lines:$v->url = JURI::base();
and replace with:
$v->url = JURI::base(true).’/’;
and this line:
$itembg = ‘style=”background-image:url(‘.JURI::base().’/images/stories/’.$iParams->get(‘menu_image’).’);”‘;
replace with:
$itembg = ‘style=”background-image:url(‘.JURI::base(true).’/images/stories/’.$iParams->get(‘menu_image’).’);”‘;
and this line:
$txt = ‘<span class=”menu-image”><img src=”‘.JURI::base().’/images/stories/’.$iParams->get(‘menu_image’).'” alt=”‘.$tmp->name.'” title=”‘.$tmp->name.'” /></span><span class=”menu-title”>’ . $tmp->name . ‘</span>’;
replace with:
$txt = ‘<span class=”menu-image”><img src=”‘.JURI::base(true).’/images/stories/’.$iParams->get(‘menu_image’).'” alt=”‘.$tmp->name.'” title=”‘.$tmp->name.'” /></span><span class=”menu-title”>’ . $tmp->name . ‘</span>’;2. Open templatesja_selenijsmenumega.js
find this line :
if (li.childcontent) li.timer = setTimeout(this.itemHide.bind(this, [li, e]), this.options.delayHide);
– and replace with this one:
if (li.childcontent) li.timer = this.itemHide.delay(this.options.delayHide, this, [li, e]);I try this way and mega menu works well in Chrome version 10.0.648.127
sjmorris Friendsjmorris
- Join date:
- March 2009
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
March 13, 2011 at 4:02 am #381075Beautiful. Thank you so much for your help!
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by huypl 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum