> Forums > Active Forums > Community Support > Conflicts with JQuery blockUI library
Last Post 06 Apr 2011 11:18 AM by Will Morgenweck. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
NFXBeats
Customers
NFXBeats
Post Count:299

--
05 Apr 2011 04:52 PM
    • Active Forums Version: 4.4.0
    • DotNetNuke Version: 5.6.1
    I'm having a problem using the blockUI library on Active Forum pages. The code I am attempting to run works fin on other pages.

    The error I get on AF pages is:  $.blockUI is not a function

    Most of the goggle results seem to indicate that the blockUI library is not loading OR it's in conflict with another library. I have verified that the library is included in the page, but the functions are just not accessible.

    Any ideas how I could fix this?
    Status: I'm no longer moderated.
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    05 Apr 2011 11:38 PM
    Active Forums doesn't use jQuery so I'm not sure why it would be the source of the conflict.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    NFXBeats
    Customers
    NFXBeats
    Post Count:299

    --
    06 Apr 2011 10:58 AM
    jQuery, prototype, MooTools and other javascript libraries sometimes have conflicts with each other.

    I was just asking for some advice on debugging the issue.
    Status: I'm no longer moderated.
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    06 Apr 2011 11:04 AM
    jQuery, prototype, MooTools and other javascript libraries sometimes have conflicts with each other.

    Right, but Active Forums doesn't use any javascript libraries other than our own which is properly encapsulated in our own namespace. Unless another namespace is amaf.UI, amaf.Utils, etc I'm not sure how would conflict.

    A common problem I have seen related to many javascript libraries is how and when they are loaded. If something affects the dom (AJAX) or another error does occur then it could prevent the library from loading properly or functioning as it should.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    NFXBeats
    Customers
    NFXBeats
    Post Count:299

    --
    06 Apr 2011 11:14 AM
    Apologies, I'm not saying there is a conflict with AF or looking to blame anyone. However, not knowing the details of the AF javascript implementation is what led me here to inquire. Thanks for the information.
    Status: I'm no longer moderated.
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    06 Apr 2011 11:18 AM
    No need to apologize. I didn't think you were trying to blame us, but I wanted to make sure you knew we weren't using any libraries. If we were talking about Active Social then that would be a different story.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    You are not authorized to post a reply.
    > Forums > Active Forums > Community Support > Conflicts with JQuery blockUI library
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy