-
AuthorPosts
-
aspik Friend
aspik
- Join date:
- September 2009
- Posts:
- 39
- Downloads:
- 1
- Uploads:
- 13
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
August 25, 2011 at 8:04 am #167775jquery + JAT3 2.0
error: this.menu.getElements is not function
start: function () {
//do nothing if loaded
if (this.loaded) return;this.menu = $(this.menu);
//preload images
var images = this.menu.getElements ('img');
if (images && images.length && !this.imageloaded) {
var imgs = [];
images.each (function (image) {imgs.push(image.src)});
if (imgs.length) {
new Asset.images(imgs, {
onComplete: function(){
this.start();
}.bind(this)
});
this.imageloaded = true;//call this start if cannot load image after sometime
this.start.delay (3000, this);
return ;
}
}
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
August 25, 2011 at 8:32 am #408359Hi
If you are using jQuery i suggest prevent include it directly. It must be use with noConflict mode. You can try to use SC Plugin to do that 🙂
Thank you
Viet Vupritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
August 25, 2011 at 9:06 am #408369Hello aspik ,
To use jquery + JAT3 2.0
You can refer to this URL :-
http://www.joomlart.com/forums/topic/make-t3-tamplate/#post-408095
aspik Friendaspik
- Join date:
- September 2009
- Posts:
- 39
- Downloads:
- 1
- Uploads:
- 13
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
August 25, 2011 at 9:47 am #408386<em>@jooservices 262402 wrote:</em><blockquote>Hi
If you are using jQuery i suggest prevent include it directly. It must be use with noConflict mode. You can try to use SC Plugin to do that 🙂
Thank you
Viet Vu</blockquote>the module was originally set up a conflict-free work
jQuery – noConflict
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 3 voices, and was last updated by aspik 13 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Error script menu
Viewing 4 posts - 1 through 4 (of 4 total)