-
AuthorPosts
-
fanzb Friend
fanzb
- Join date:
- October 2010
- Posts:
- 16
- Downloads:
- 4
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 1, 2011 at 9:24 pm #158170I am going to install Kunena 1.6 into my site with JA CommunityPlus, which needs mootool 1.2. However when I tried to enable System – Mootools Upgrade plugin, the JA contentsilder doesn’t work any more. An error message from firebug read: “this.options.wrapper.setStyle is not a function”. Please advise how can I use JA contentslider2 with mootool 1.2. Thanks.
fanzb Friendfanzb
- Join date:
- October 2010
- Posts:
- 16
- Downloads:
- 4
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 2, 2011 at 9:02 pm #369707Can anybody help? JA contentslider 2 is not compatible with Mootool 1.2. Would appreciate it if some one could advise how to make it works. Thanks.
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
January 3, 2011 at 7:12 am #369776Hi,
Your problems are because ja contentslider2 work only on mootool 1.1, some js function of mootool 1.2 different js function of version 1.1. You must upgrade js file of ja contentslider2 to work with mootool 1.2, exm
<blockquote>
Element- 1.11
- el.getTag()
- el.setHTML(string|array)
- el.getText()
- el.setText(string)
- el.setOpacity(number)
- el.remove()
- el.replaceWith(element)
- el.effects(obj)
- $E(selector)
- $ES(selector)
- el.getSize().size.x/ el.getSize().size.y
- 1.2
- el.get(‘tag’)
- el.set(‘html’, string|array)
- el.get(‘text’)
- el.set(‘text’, string)
- el.set(‘opacity’, number)
- el.dispose()
- element.replaces(el) // note: inverts positions of element and el
- new Fx.Morph(el, obj)
- document.getElement(selector)
- document.getElements(selector)
- el.getSize().x/ el.getSize().y
- 1.11
- [].copy(start, length)
- [].remove(item)
- [].merge([])
- [].test([])
- 1.2
- removed in favour of $A and [].slice
- [].erase(item)
- [].combine([])
- [].contains([])
- 1.11
- Element.extend(object), String.extend(object)
- window.extend(object)/document.extend(object)
- 1.2
- String.implement(object)/String.implement(string, function)
- Window.implement(object)/Document.implement(string, function)
Extending
- 1.11
- FX.Style
- new Fx.Style(element, property [, options]).start([from,] to);
- $(element).effect(property [, options]).start( endvalue);
- 1.2
- FX.Tween
- new Fx.Tween(element [, options]).start([property], from[, to]);
- $(element).get(property [, options]).start(startvalue[, endvalue]);
</blockquote>
10417
fanzb Friendfanzb
- Join date:
- October 2010
- Posts:
- 16
- Downloads:
- 4
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 3, 2011 at 3:50 pm #369854Thank you thuanlq.
I’ve updated ja_contentslider2.js with your attachment of ja_contentslider2.txt, and deleted mootool 1.1 in the same folder. It did fix almost everything, the content from K2 shows properly, and slider arrow works fine. but only images do not show up, neither from image folder nor from K2 articles ( even the title and content show correctly).
When I looked at the page source, it seems the image tag “<img… />” was missing, therefore no image shows up on the contentslider. Please advise. thks. -
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by thuanlq 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum