Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussions about "Destinations" Joomla template.

Topic-icon Fixing errors in template and modules

More
5 years 5 months ago #11122 by gregy1403
Hi guys

After checking error console in FF i received following errors

Error: $(arguments).style is undefined
Source File: www.smartinsko-jezero.si/templates/hot_d.../js/equal_heights.js
Line: 10

Error: $ is not a function
Source File: www.smartinsko-jezero.si/templates/hot_d.../js/equal_heights.js
Line: 7

Error: $jScroller.config.obj.child is undefined
Source File: www.smartinsko-jezero.si/modules/mod_hot.../js/jscroller-0.4.js
Line: 61

any idea or help?

Thank you

Please Log in to join the conversation.

More
5 years 5 months ago #11144 by ivan.milic
Open that file "equal_heights.js" , and replace $ with jQuery everywhere(use exact case: jQuery).

Please Log in to join the conversation.

More
5 years 5 months ago - 5 years 5 months ago #11147 by gregy1403
you meant like this?
for (var i=0;i<this.num;i++) if (!jQuery(arguments[i])) return;

Error console says

Error: jQuery(arguments).style is undefined
Source File: www.smartinsko-jezero.si/templates/hot_d.../js/equal_heights.js
Line: 10
Last Edit: 5 years 5 months ago by gregy1403.

Please Log in to join the conversation.

More
5 years 5 months ago #11153 by ivan.milic
find this line:

for (var i=0;i<this.num;i++) jQuery(arguments).style.height = this.maxh+"px";

and

change it to this:

for (var i=0;i<this.num;i++){
if(typeof arguments == "string"){
jQuery("#" + arguments).innerHeight(this.maxh);
}else{
jQuery(arguments).innerHeight(this.maxh);
}
}

Please Log in to join the conversation.

More
5 years 5 months ago #11163 by gregy1403
thanx .. seems like this error is solved .. can you please take a look at this one?

Error: $jScroller.config.obj.child is undefined
Source File: www.smartinsko-jezero.si/modules/mod_hot.../js/jscroller-0.4.js
Line: 61

Thank you

Please Log in to join the conversation.

More
5 years 5 months ago #11170 by ivan.milic
Hi,
open that file and find:

pause: function(obj,status) {
if (obj && typeof status !== 'undefined') {
for (var i in $jScroller.config.obj) {
if ($jScroller.config.obj.child.attr("id") === obj.attr("id")) {
$jScroller.config.obj.pause = status;
}
}
}
},

modify it to:

pause: function(obj,status) {
if (obj && typeof status !== 'undefined') {
for (var i in $jScroller.config.obj) {
if($jScroller.config.obj.child)
if ($jScroller.config.obj.child.attr("id") === obj.attr("id")) {
$jScroller.config.obj.pause = status;
}
}
}
},

Please Log in to join the conversation.

Time to create page: 0.134 seconds

Links, Partners and Social Media