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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding Java Script Adding Java Script
Previous
 
Next
New Post
7/24/2006 2:37 PM
 

i have a java script code for displaying dynamic content .. I use HTML module.. but when I cut and paste the code.. java script functions are removed from it..

I donoo why?

Could anyone help.. it is urgent…

Thanks a lot,

 

 

 
New Post
7/24/2006 3:22 PM
 

 

Switch to HTML view, or use the plain text box if you want to paste source.

Also, if you want to get the javascript into the Head section there is a procedure to do that here:

http://blogs.snapsis.com/PermaLink,guid,eef98c82-f54d-480b-8e36-309ca6e406d8.aspx

 


DotNetNuke Modules from Snapsis.com
 
New Post
7/24/2006 10:59 PM
 

thanx alooooooot :)

i include the script and it works fine

Regards,

 
New Post
7/24/2006 11:10 PM
 

Ohhhh .. sorry for that..

it works just one time when i click the preview link inside HTML module..

but when i try it again after i click update.. it dosen't work.. ! when i switch to HTML view..  the JS functions which included in the code are not there!! knowing that it placed in <body>

The JS code is to make a tabs, each tab shows different text - dynamic contenents-

plz help me

 
New Post
7/24/2006 11:32 PM
 

 

If you are going to use Javasript in the text/html then you need to do it in basic text mode, and not switch to design view or preview.

A better way is to put it in an external .js file and link it in like in the way i described in my blog post.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding Java Script Adding Java Script


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