DotNetNuke Skins and Resources by ThinkofDesign

Forums

Subject: how to turn off click to activate
Prev Next
You are not authorized to post a reply.

Author Messages
domukajoor User is Offline
Active Member
Active Member
Posts: 27


04/05/2007 03:31 PM  

Hello

I have a flash movie in my html skin, I tried to turn off the click to activate with no success. I tried the solution provided by microsoft but it work only outside of DNN. When I tested my skin before uploading to my DNN (4.4.1)site, the click to activate is off but when I upload it's no longer working.

Any help will be appreciated

Vasilis User is Offline
Yellow Member
Yellow Member
Posts: 315


04/05/2007 05:12 PM  
The document.write method by ms should work. Just make sure you put the js code in an external file and that you're using the right paths.

BTW there are several solutions out there. I think a good one is the SWFObject.

Let me know if you find something better.

Cheers
domukajoor User is Offline
Active Member
Active Member
Posts: 27


04/06/2007 12:42 PM  
I tried the SWFObject solution but It did not work after upload to DNN.I put all my files in zip folder(images,css,xml,js) so the path to the external javascript that load the flash movie should be goog,in fact it work outside of DNN.Any idea???
Vasilis User is Offline
Yellow Member
Yellow Member
Posts: 315


04/07/2007 07:21 AM  
I posted on my blog about the SWFObject as I think it is an interesting topic.

Add Flash content to your skins the right way
domukajoor User is Offline
Active Member
Active Member
Posts: 27


04/09/2007 07:50 PM  
Hello again thanks for your help
I did exactly what you explain in your blog and here is what happen when I upload to DNN 4.4.1 :
When viewed in IE, there is the error: "Error: 'SWFObject' is undefined"
and the Flash is not displayed.
I am doing some search at google for people who had the same problems and how they solved it.Thanks

Vasilis User is Offline
Yellow Member
Yellow Member
Posts: 315


04/09/2007 08:24 PM  
Can you attach a txt file with your skin code here?
domukajoor User is Offline
Active Member
Active Member
Posts: 27


04/10/2007 05:04 AM  

Thanks for your quick answer,here is the html skin code


Attachment: skinCode.txt

Vasilis User is Offline
Yellow Member
Yellow Member
Posts: 315


04/10/2007 07:19 AM  

Well,

There are several errors in your skin code...

I tried to fix them. See the attached file!


Attachment: skinCodeFixed.txt

domukajoor User is Offline
Active Member
Active Member
Posts: 27


04/10/2007 10:48 AM  
Great job,It's working fine you can see it here: http://www.meretmonde.sn
Now if I want to have the SWFObject to be available to all modules,I think I have to upload it to the root abd use and absolute path,right??
You are not authorized to post a reply.
Forums > DotNetNuke > Skinning in general > how to turn off click to activate



ActiveForums 3.7