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...Administration ...Administration ...Click to activate and use this controlClick to activate and use this control
Previous
 
Next
New Post
11/20/2006 2:41 PM
 

Hi,

My sites have flash embedded in the skins and also embedded in Text/HTML modules.  With IE6, there when a user hovers over a flash presentation, there is a tooptip that says "Click to activate and use this control"  A grey box also appears around the flash when the mouse is over it.  This is ugly and serves no purpose that I am aware of.

Here is an example:  www.fortgarrylions.ca

I found all kinds of links outlining this issue and solutions for this issue.  My question is has anyone out there come up with a solution that works with DNN sites?  All my sites are currently 4.3.5

Thanks in advance, Al

 
New Post
11/20/2006 6:41 PM
 

It started as a legal issue I understand.

Here's MSDN's info: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp 

And Adobe's info: http://www.adobe.com/devnet/activecontent/articles/devletter.html

And my notes on the matter for fixing a skin that contains a flash graphic:


To replace typical Flash object such as this:
(generic bits in blue)

 

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="xx" height="yy">

<param name="movie" value="<%= SkinPath %>flashfile.swf">

<param name="quality" value="High">

<embed src="<%= SkinPath %>flashfile.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="xx" height="yy"></object>

 

Place this at top or in skin header, but alter the path to suit where it resides on the portal:

 

<script src="http://www.yourdomain.com/Portals/portal-number/Skins/skin-name/flash.js" type="text/javascript"></script>

 

Place this in the skin ascx file where the Flash object is supposed to go:

 

<script type="text/javascript">Runflash();</script>

 

Add <noscript></noscript> tags around the original flash object so it displays when Javascript is disabled.

 

<noscript>

<object classid=.... flash stuff>

.....

</object>

</noscript>

 

Then create a blank file, in this case called flash.js and place it in the skin folder. Add the following to the file and add your own flash info in the blue bits where needed. Note: Do not use <%= SkinPath %> in this js file - use the full path to the swf.

 

function Runflash()

{

   document.write('<object classid="………">\n');

   document.write('<param name="movie………" />\n');

   document.write('<param name="quality………" />\n');

   document.write('<embed src="http……"></embed>\n');

   document.write('</object>\n');

}

 

Further parameters may be added in the same manner e.g:

 

document.write('<param name="xxxx" value="xxxx" />\n');

 


There is another simpler method around the web that can be used for content that is not permanently in the skin. I've found it to be less reliable and so I use the above method for skinning.

 

Regards,

Rob

 
New Post
11/21/2006 7:37 AM
 
Hi and thanks for the excellent feedback.  I will give this a try today.

Out of curiosity, what is the workaround you use when flash is embedded in a Text/HTML module?

Thanks once again.  Al
 
New Post
2/14/2007 8:50 AM
 
Can anyone tell me how to get rid of the "Click to activate and use this control" message for flash embedded in a Text/HTML module?
 
New Post
2/14/2007 5:52 PM
 

The problem is that no one wants to own the issue and provide the fix. In my experience, developers hate going outside their own boxes.

From what I can tell, FCK would need to implement an option that would insert function calls instead of object and embed tags and DNN would have to provide a switch to add the script-include statement to the head of pages where it is needed.

The method would be this one: http://www.adobe.com/devnet/activecontent/articles/devletter.html#multipleoccurrences

I've checked the latest FCK release and it has no changes for Flash.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Click to activate and use this controlClick to activate and use this control


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