test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • emmlnbn Friend
    #185918

    I have a custom HTML module which has some javascript in it. This module ( code ) works on my other joomla site, and on a non CMS website. However it does not work on ja mero 3.0
    I have set my editor parameters not to strip javascript, additionally,
    I tried setting the K2 jQuery library handling to – “do not load ” to try to avoid a possible conflict – however this did not help either.
    Please advise
    thank you

    vtgav Friend
    #486745

    I have the same issue

    Ninja Lead Moderator
    #486845

    <em>@emmlnbn 364824 wrote:</em><blockquote>I have a custom HTML module which has some javascript in it. This module ( code ) works on my other joomla site, and on a non CMS website. However it does not work on ja mero 3.0
    I have set my editor parameters not to strip javascript, additionally,
    I tried setting the K2 jQuery library handling to – “do not load ” to try to avoid a possible conflict – however this did not help either.
    Please advise
    thank you</blockquote>

    Maybe javascript on your site is using jQuery was conflicted together, you can try both following way to do this

    + After script jQuery loaded, you can add this line

    jQuery.noConflict();
    + Re-define jQuery and use it on javascript on custom module


    var j = jQuery.noConflict();
    // Do something with jQuery
    j("div p").hide();
    // Do something with another library's $()
    $("content").style.display = 'none';

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

This topic contains 3 replies, has 3 voices, and was last updated by  Ninja Lead 11 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum