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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How to use JavaScript in HTML moduleHow to use JavaScript in HTML module
Previous
 
Next
New Post
6/6/2013 3:00 PM
 

Hi all,

  I have been developing a little JavaScript for use on my DNN 07.00.03 site. The JavaScript pulls information from various Json files and displays the information in a nice little table. You can see the working version at: http://test.gw2freak.com/  (a basic HTML site) However when I port this over to my DNN site the whole thing falls over. I think it has to do with the fact I use the jquery-1.7.2.min.js file. 
  When this is ported over to DNN the dropdown menus on the site wont work, the top ribbon menu doesn't work and in the JavaScript the tables don't populate. Is there anyway to get this to work in DNN?

  If people want to have a look at the files then that are all available at my public dropdox folder: https://www.dropbox.com/sh/jth35sp8g2...

Thanks for any help anyone can give.

 
New Post
9/18/2013 1:49 AM
 

Did you actually use an HTML Module to add the Java Script? If so, that won't work.  The Editor removes the scripts.

If you injected the script into the page directly then check your browsers developer console for any conflicts.  If your loading jQuery in with your scripts that will conflict with the version DNN is loading. 



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
New Post
9/23/2013 2:52 AM
 
How I do is that I put the needed html in the text/html part and the script that is needed for that html i put in the module footer.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How to use JavaScript in HTML moduleHow to use JavaScript in HTML module


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