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...Using Modules a...Using Modules a...Java script problemsJava script problems
Previous
 
Next
New Post
7/3/2010 7:48 PM
 
Hello
I have a SWF carousel which I would like to use on my site, and this works perfectly using an HTML page. I can get this to work if I link it to my site via an iFrame, but the problem is that its behavior is not what I want ... each time a selection is made, it opens a new tab (yet there is no target="_Blank" option used).

I would like to place the control into an Text/HTML module, but do not know how to get it working.

I have tried also to place the code into the Header section (under settings>advanced), but no luck.

The code reads:

<head>
<script type="text/javascript" src="/portal/CarouselGames/js/swfobject.js"></script>
</head>
<body>
    <div id="flashcontent">
        <div id="flashError">instructions to get flash player, etc</div>
   </div>
   <script type="text/javascript">
        // <![CDATA[
       
           var so = new SWFObject("/portal/CarouselGames/3d_art_gallery_3.swf", "albums", "100%", "100%", "9", "#0dbeff");
           so.addParam("scale", "noscale");
           so.write("flashcontent");
       
         // ]]>
    </script>
</body>

I have tried Embedding this code using <embed src="/portal/CarouselGames/3d_art_gallery_3.swf">   ... but I do not know what the parameters are named (the developers have not responded with this information).

Can someone tell me what to do please?
 
New Post
7/5/2010 5:04 AM
 
Hi Paul,

You can't use the head and body tags in a Text/HTML module - try removing the <head> </head> <body> </body> tags (not the content, just the tags themselves) and see if it works.

Regards,
Rhys

www.rmjcs.com - Mostly SQL Server Stuff
 
New Post
7/5/2010 6:29 AM
 
try with full path of js , also check the console of browser for any js errors

Regards

Leo TechnoSoft Pvt.Ltd - The Biggest DotNetNuke Development Team
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Java script problemsJava script problems


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