Re: diferent height of modules USER5, USER6 and USER7

  • aontanon
    Active member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago - 1 year 11 months ago #3952 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:
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: 1 year 11 months ago by milos.

Please Log in to join the conversation.

More
13 years 4 months ago - 1 year 11 months ago #3953 by ivan.milic
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: 1 year 11 months ago by milos.

Please Log in to join the conversation.

  • aontanon
    Active member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #3958 by aontanon
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

Please Log in to join the conversation.

More
13 years 4 months ago - 1 year 11 months ago #3965 by ivan.milic
You have a point :) , totally forgot it. Also I miss-typed jQuery keyword letter case, and forgot '
Last edit: 1 year 11 months ago by milos.

Please Log in to join the conversation.

Time to create page: 0.345 seconds
Powered by Kunena Forum