Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • fanzb Friend
    #158170

    I 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 Friend
    #369707

    Can 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 Friend
    #369776

    Hi,
    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
      1. el.getTag()
      2. el.setHTML(string|array)
      3. el.getText()
      4. el.setText(string)
      5. el.setOpacity(number)
      6. el.remove()
      7. el.replaceWith(element)
      8. el.effects(obj)
      9. $E(selector)
      10. $ES(selector)
      11. el.getSize().size.x/ el.getSize().size.y
    • 1.2
      1. el.get(‘tag’)
      2. el.set(‘html’, string|array)
      3. el.get(‘text’)
      4. el.set(‘text’, string)
      5. el.set(‘opacity’, number)
      6. el.dispose()
      7. element.replaces(el) // note: inverts positions of element and el
      8. new Fx.Morph(el, obj)
      9. document.getElement(selector)
      10. document.getElements(selector)
      11. el.getSize().x/ el.getSize().y

    Array

    • 1.11
      1. [].copy(start, length)
      2. [].remove(item)
      3. [].merge([])
      4. [].test([])
    • 1.2
      1. removed in favour of $A and [].slice
      2. [].erase(item)
      3. [].combine([])
      4. [].contains([])

      Extending

    • 1.11
      1. Element.extend(object), String.extend(object)
      2. window.extend(object)/document.extend(object)
    • 1.2
      1. String.implement(object)/String.implement(string, function)
      2. Window.implement(object)/Document.implement(string, function)

    Effects

    • 1.11
      1. FX.Style
      1. new Fx.Style(element, property [, options]).start([from,] to);
      2. $(element).effect(property [, options]).start( endvalue);
    • 1.2
      1. FX.Tween
      1. new Fx.Tween(element [, options]).start([property], from[, to]);
      2. $(element).get(property [, options]).start(startvalue[, endvalue]);

    </blockquote>

    10417


    1. ja_contentslider2.txt
    fanzb Friend
    #369854

    Thank 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.

    thuanlq Friend
    #369912

    Hi @fanzb,

    I check my ja_contentslider2.js file again. I have updated it and it works fine.

    Please download this file again.

    10427


Viewing 5 posts - 1 through 5 (of 5 total)

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