Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem including jQuery packageProblem including jQuery package
Previous
 
Next
New Post
10/8/2008 11:35 AM
 

Ian Robinson wrote


Looking forward to having full jQuery support in 5.0 though!

 

Aint workin, but yeah definately lookin forward!

Guess I'll remove the DNN NAV from my skin and use a custom Menu till 5.0 has arrived

 

 
New Post
10/9/2008 11:32 AM
 

Ian Robinson wrote

This works well for me so far:


Looking forward to having full jQuery support in 5.0 though!

Take care,

Ian

Great tip. Worked like a champ

 
New Post
11/23/2008 5:27 AM
 

I have a problem when i using jquery for my DNN project.

my js code:

<div class="bubbleInfo">
  <img class="trigger" src="/images/icon_filemanager_32px.gif" alt="image"  id="img" />
  <br/>  <br/>
 
  <div class="popup">
    <!-- your information content -->  
   
  </div>
</div>

 

<script type="text/javascript" src="/js/jquery-1.2.6.js">
</script>
<script type="text/javascript" language="javascript">

jQuery(document).ready(function(){
       
        jQuery('.bubbleInfo').each(function () {

//more code here

 });
       
    });

</script>

 

My problem:

    the NAV menu is not shown anymore

    and firebug return message:

     uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMParser.parseFromString]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://prdemo.net/js/dnn.xml.js :: anonymous :: line 63" data: no]

 

My find my problem by google, and i inserted

jQuery(document).ready(function(){
        jQuery.noConflict();
    });

Firebug return message :

1st error:  uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMParser.parseFromString]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://prdemo.net/js/dnn.xml.js :: anonymous :: line 63" data: no]

2nd error: $(".bubbleInfo") is null
 
and   the NAV menu is still not shown anymore
--------------------------
 
Please, help me!
Thanks.

 
New Post
12/2/2008 9:35 PM
 

Resolved!

in .VB file

Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
            If Not Page.ClientScript.IsStartupScriptRegistered("jQuery1") Then
                Page.ClientScript.RegisterClientScriptInclude("jQuery1", "http://" + PortalAlias.HTTPAlias + "/js/jquery-1.2.6.js")

            End If
        End Sub

In .ascx or .js file

<script type="text/javascript" language="javascript">
    $j = jQuery.noConflict();
   $j(function(){
//code here
    }); 
</script>

 

welcome: http://truongtructuyen.vn

AI-VietNam Company. (http://aivietnam.net)

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem including jQuery packageProblem including jQuery package


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out