- Posts: 14116
- Thank you received: 1639
Changing template settings alters site operation
-
ivan.milic
Support Staff - Moderator
Less
More
11 years 9 months ago #28236
by ivan.milic
Replied by ivan.milic on topic Changing template settings alters site operation
Ok return :
check in top menu module settings if you have something set in menu class suffix if yes delete it
Code:
jQuery('.menu.nav li').hover(function(){
jQuery(this).find('ul:first:not(:visible)').stop(true,true)[options.effect](options.speed);
},function(){
jQuery(this).css('position', 'relative')
.find('ul:first:visible').stop(true,true)[options.effect](options.speed);
});
check in top menu module settings if you have something set in menu class suffix if yes delete it
Please Log in to join the conversation.
-
sergiobelcamine
- Topic Author
- Visitor
11 years 9 months ago #28237
by sergiobelcamine
Replied by sergiobelcamine on topic Changing template settings alters site operation
"top" was set. I deleted it but still doesn't fix the problem...
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago - 11 years 9 months ago #28244
by ivan.milic
Replied by ivan.milic on topic Changing template settings alters site operation
Try this:
Code:
jQuery('.menu.nav li').hover(function(){
jQuery(this).find('ul:first:not(:visible)').stop(true,true).show(options.effect,options.speed);
},function(){
jQuery(this).css('position', 'relative')
.find('ul:first:visible').stop(true,true).hide(options.effect,options.speed);
});
Last edit: 11 years 9 months ago by ivan.milic.
Please Log in to join the conversation.
-
sergiobelcamine
- Topic Author
- Visitor
11 years 9 months ago #28254
by sergiobelcamine
Replied by sergiobelcamine on topic Changing template settings alters site operation
Nope... still doesn't work...
Did you try to look for something that could go wrong when someone edits the templates styles?? This is precisely when things went wrong...
Did you try to look for something that could go wrong when someone edits the templates styles?? This is precisely when things went wrong...
Please Log in to join the conversation.
-
sergiobelcamine
- Topic Author
- Visitor
11 years 9 months ago #28255
by sergiobelcamine
Replied by sergiobelcamine on topic Changing template settings alters site operation
Here's what the lates file looks like:
Name of the file : jquery.hjt.naj.js
Content :
/*
# "hot_gaming_zone" - Joomla Template Framework
# Copyright (C) 2012 ArhiNet d.o.o. All Rights Reserved.
# License: www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Author: HotJoomlaTemplates.com
# Website: www.hotjoomlatemplates.com
*/
(function(jQuery){
jQuery.fn.dropDownMenu = function(options) {
var defaults = {
speed: 300,
effect: 'fadeToggle'
};
var options = jQuery.extend(defaults, options);
return this.each(function() {
jQuery('.nav ul').hide();
jQuery('.nav li ul li').filter(':last-child').css('border-bottom', 'none');
jQuery('.menu.nav li').hover(function(){
jQuery(this).find('ul:first:not(:visible)').stop(true,true).show(options.effect,options.speed);
},function(){
jQuery(this).css('position', 'relative')
.find('ul:first:visible').stop(true,true).hide(options.effect,options.speed);
});
});
};
})(jQuery);
Name of the file : jquery.hjt.naj.js
Content :
/*
# "hot_gaming_zone" - Joomla Template Framework
# Copyright (C) 2012 ArhiNet d.o.o. All Rights Reserved.
# License: www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Author: HotJoomlaTemplates.com
# Website: www.hotjoomlatemplates.com
*/
(function(jQuery){
jQuery.fn.dropDownMenu = function(options) {
var defaults = {
speed: 300,
effect: 'fadeToggle'
};
var options = jQuery.extend(defaults, options);
return this.each(function() {
jQuery('.nav ul').hide();
jQuery('.nav li ul li').filter(':last-child').css('border-bottom', 'none');
jQuery('.menu.nav li').hover(function(){
jQuery(this).find('ul:first:not(:visible)').stop(true,true).show(options.effect,options.speed);
},function(){
jQuery(this).css('position', 'relative')
.find('ul:first:visible').stop(true,true).hide(options.effect,options.speed);
});
});
};
})(jQuery);
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #28273
by ivan.milic
Replied by ivan.milic on topic Changing template settings alters site operation
This:
Code:
jQuery('.menu.nav li').hover(function(){
jQuery(this).parent().find('ul:visible').hide();
jQuery(this).find('ul:first:not(:visible)').stop(true,true).show(options.effect,options.speed);
},function(){
jQuery(this).css('position', 'relative')
.find('ul:first:visible').stop(true,true).hide(options.effect,options.speed);
});
Please Log in to join the conversation.
Time to create page: 0.089 seconds