- Posts: 6830
- Thank you received: 724
install travel templates
-
milos
Support Staff -
- Moderator
-
Less
More
12 years 1 month ago #29377
by milos
Replied by milos on topic install travel templates
With template you will get all the modules that's used in the template for free.
Please Log in to join the conversation.
-
peterk2006
Inactive member -
- Member
-
Less
More
- Posts: 40
- Thank you received: 0
12 years 1 month ago #29548
by peterk2006
Replied by peterk2006 on topic install travel templates
I can not understand this code works or not. I go to the site from a different computer and it does not show again: (ivan.milic wrote: This would be full code:
Warning: Spoiler!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; } }
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 - 12 years 1 month ago #29550
by ivan.milic
Replied by ivan.milic on topic install travel templates
You are missing opening quote for last image, instead quote is places in a middle of image path:
check templates/hot_destinations/js/animbg.js
Code:
var imgArr = new Array( // relative paths of images
'/home/a/anapekru/public_html/templates/hot_destinations/images/bg1.jpg',
'/home/a/anapekru/public_html/templates/hot_destinations/images/bg2.jpg',
'/home/a/anapekru/public_html/templates/hot_destinations/images/bg3.jpg',
/home/a/anapekru/public_html/'templates/hot_destinations/images/bg4.jpg'
);
check templates/hot_destinations/js/animbg.js
Last edit: 12 years 1 month ago by ivan.milic.
Please Log in to join the conversation.
-
peterk2006
Inactive member -
- Member
-
Less
More
- Posts: 40
- Thank you received: 0
12 years 1 month ago - 12 years 1 month ago #29556
by peterk2006
Replied by peterk2006 on topic install travel templates
I did. but do not see:(
I was more interested in modules user 9? user 10, they do not paint a completely
I was more interested in modules user 9? user 10, they do not paint a completely
Last edit: 12 years 1 month ago by peterk2006.
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 #29564
by ivan.milic
Replied by ivan.milic on topic install travel templates
Actually that could be related, script error can break other scripts, this would be correct :
Code:
var imgArr = new Array( // relative paths of images
'http://www.anapek.ru/templates/hot_destinations/images/bg1.jpg',
'http://www.anapek.ru/templates/hot_destinations/images/bg2.jpg',
'http://www.anapek.ru/templates/hot_destinations/images/bg3.jpg',
'http://www.anapek.ru/templates/hot_destinations/images/bg4.jpg'
);
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 #29569
by peterk2006
Replied by peterk2006 on topic install travel templates
Thank you. something that works. But drawing modules not: (
Please Log in to join the conversation.
Time to create page: 0.116 seconds