silverlight in homepage

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
12/1/2009 12:22:09 PM
Gravatar
Total Posts 76

silverlight in homepage

Hello,

How to use silverlight? I read the forum, but didn't really got the answer there.

I've done the folowing:

  1. copy my silverlight *.xap file to the clientbin-folder
  2. on my home-page create an html-module with the folowing content for my silverlight object:



<div id="silverlightControlHost">

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="95%" height="213%">

<param name="source" value="Clientbin/mojoportal_silverlight_test.xap"/>

<param name="onError" value="onSilverlightError" />

<param name="background" value="transparent" />

<param name="windowless" value="true" />

<param name="minRuntimeVersion" value="3.0.40624.0" />

<param name="autoUpgrade" value="true" />

<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">

<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" width="95%" height="213%" style="border-style:none"/>

</a>

</object>

<iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>

</div>

 

This works in a non-mojoportal website.

 

What am i doing wrong.

Thnx in advanced.

12/1/2009 2:29:15 PM
Gravatar
Total Posts 76

Re: silverlight in homepage

Hello,

i now copied the code from the image-gallery from mojo-portal.

I notice that when i copy the code in the html-editor the line:

type="application/x-silverlight-2"  gets changed to type="application/x-shockwave-flash"

WHY????Frown

12/1/2009 3:13:03 PM
Gravatar
Total Posts 18439

Re: silverlight in homepage

Hi,

It seems to be a bug or limitation in the TinyMCE Media plugin. You could try FCKeditor, or you could use a custom config file for TinyMCE and remove the media plugin. 

Hope it helps,

Joe

12/1/2009 3:42:13 PM
Gravatar
Total Posts 76

Re: silverlight in homepage

Hello Joe,

That helped!  Thnx. (I tried all evening to get it fixed, now i can move further!)

Greetings.........

You must sign in to post in the forums. This thread is closed to new posts.