- Posts: 13
- Thank you received: 0
Re: diferent height of modules USER5, USER6 and USER7
-
aontanon
Inactive member - Topic Author
- New Member
Less
More
14 years 3 weeks ago - 2 years 7 months ago #3952
by aontanon
diferent height of modules USER5, USER6 and USER7 was created by aontanon
Hello
I have a problem with modules USER5, USER6 and USER7. In some sections of my website the height of this modules is not the same. I've been investigating and I get a javascript error on the web when I go to this pages.
The error is:
is in the js: equal_heights.js
To reproduce this error go to braseriaripollet .com and click on the option menu "Nuestros menus" of the Main Menu.
I hope you can help me
Thank you very much
I have a problem with modules USER5, USER6 and USER7. In some sections of my website the height of this modules is not the same. I've been investigating and I get a javascript error on the web when I go to this pages.
The error is:
Code:
$ is not a function
for (var i=0;i<this.num;i++) if (!$(arguments[i])) return;[/i]
is in the js: equal_heights.js
To reproduce this error go to braseriaripollet .com and click on the option menu "Nuestros menus" of the Main Menu.
I hope you can help me
Thank you very much
Last edit: 2 years 7 months ago by milos.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 3 weeks ago - 2 years 7 months ago #3953
by ivan.milic
Replied by ivan.milic on topic Re: diferent height of modules USER5, USER6 and USER7
Hi,This happens due concurrent object loading - sometimes is good, sometimes is not. I made you new .js file:Replace:/templates/hot_restaurant/js/equal_heights.jswith one in attachment, it should do the trick.Ivan
Last edit: 2 years 7 months ago by milos.
Please Log in to join the conversation.
-
aontanon
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
14 years 3 weeks ago #3958
by aontanon
Replied by aontanon on topic Re: diferent height of modules USER5, USER6 and USER7
Sorry, but the solution is not working
I've found some errors in the code you send me:
for(var i = 0; i < PArguments.length ; i++) --> you didn't put .length
I think you need to call the functions:
this.boxes = arguments;
this.maxheight();
Thank you for your help
Antonio
I've found some errors in the code you send me:
for(var i = 0; i < PArguments.length ; i++) --> you didn't put .length
I think you need to call the functions:
this.boxes = arguments;
this.maxheight();
Thank you for your help
Antonio
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 3 weeks ago - 2 years 7 months ago #3965
by ivan.milic
Replied by ivan.milic on topic Re: diferent height of modules USER5, USER6 and USER7
You have a point , totally forgot it. Also I miss-typed jQuery keyword letter case, and forgot '
Last edit: 2 years 7 months ago by milos.
Please Log in to join the conversation.
Time to create page: 0.155 seconds