- Posts: 14116
- Thank you received: 1639
install travel templates
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
12 years 1 month ago #28923
by ivan.milic
Replied by ivan.milic on topic install travel templates
This would be full code:
Code:
var BoxHeights = {
maxh: 0,
boxes: Array(),
num: 0,
equalise: function() {
this.num = arguments.length;
for (var i=0;i<this.num;i++) if (!$(arguments)) return;
this.boxes = arguments;
this.maxheight();
if(!this.maxh){
this.maxh = 0;
for (var i=0;i<this.num;i++){
if(jQuery("#" + arguments[i]).innerHeight() > this.maxh)
this.maxh = jQuery("#" + arguments[i]).innerHeight();
}
this.maxh+= 20;
}
for (var i=0;i<this.num;i++) {
try{
jQuery("#" + arguments[i]).css('height',this.maxh+"px");
}catch(e){}
}
},
maxheight: function() {
var heights = new Array();
for (var i=0;i<this.num;i++) {
if (navigator.userAgent.toLowerCase().indexOf('opera') == -1) {
heights.push($(this.boxes).scrollHeight);
} else {
heights.push($(this.boxes).offsetHeight);
}
}
heights.sort(this.sortNumeric);
this.maxh = heights[this.num-1];
},
sortNumeric: function(f,s) {
return f-s;
}
}
The following user(s) said Thank You: peterk2006
Please Log in to join the conversation.
-
peterk2006
Inactive member -
- Member
-
Less
More
- Posts: 40
- Thank you received: 0
12 years 1 month ago #29152
by peterk2006
Replied by peterk2006 on topic install travel templates
Why is it only works in Firefox and does not work in Google
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 month ago #29160
by ivan.milic
Replied by ivan.milic on topic install travel templates
Did you refresh few times so chrome would update that file in its catche
The following user(s) said Thank You: peterk2006
Please Log in to join the conversation.
-
peterk2006
Inactive member -
- Member
-
Less
More
- Posts: 40
- Thank you received: 0
12 years 1 month ago #29340
by peterk2006
Replied by peterk2006 on topic install travel templates
Hello! The issue of licensing. If I purchased a template, it says that I can use the modules in it? Or they also need to acquire?
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 month ago #29350
by ivan.milic
Replied by ivan.milic on topic install travel templates
I don't understand what you say abut licensing?? you can use modules as you want
Please Log in to join the conversation.
-
peterk2006
Inactive member -
- Member
-
Less
More
- Posts: 40
- Thank you received: 0
12 years 1 month ago #29376
by peterk2006
Replied by peterk2006 on topic install travel templates
This template has paid modules. Having bought the template can I use them? Or do I need to buy them separately.
Please Log in to join the conversation.
Time to create page: 0.095 seconds