| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files (x86)/Microsoft Visual Studio 10.0/Web/Snippets/HTML/1033/HTML/ |
Upload File : |
<CodeSnippet Format="1.1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<Header>
<Title>silverlight</Title>
<Author>Microsoft Corporation</Author>
<Shortcut>silverlight</Shortcut>
<Description>Markup snippet for an object tag for Silverlight</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>divid</ID>
<ToolTip>ID</ToolTip>
<Default>silverlightControlHost</Default>
</Literal>
<Literal>
<ID>width</ID>
<ToolTip>Width</ToolTip>
<Default>100%</Default>
</Literal>
<Literal>
<ID>height</ID>
<ToolTip>Height</ToolTip>
<Default>100%</Default>
</Literal>
<Literal>
<ID>source</ID>
<ToolTip>URL of the Silverlight application</ToolTip>
<Default>MySilverlightApp.xap</Default>
</Literal>
<Literal>
<ID>background</ID>
<ToolTip>Plugin background</ToolTip>
<Default>white</Default>
</Literal>
<Literal>
<ID>minVersion</ID>
<ToolTip>Minimum version of Silverlight required to run this application. This should match the version of the Silverlight SDK used to build the application.</ToolTip>
<Default>3.0.40818.0</Default>
</Literal>
<Literal>
<ID>autoUpgrade</ID>
<ToolTip>Enable automatic upgrade for users</ToolTip>
<Default>true</Default>
</Literal>
</Declarations>
<Code Language="html"><![CDATA[<div id="$divid$">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="$width$" height="$height$">
<param name="source" value="$source$"/>
<!-- to enable JavaScript error handling, you need to implement an error handler -->
<!-- <param name="onError" value="onSilverlightError" /> -->
<param name="background" value="$background$" />
<param name="minRuntimeVersion" value="$minVersion$" />
<param name="autoUpgrade" value="$autoUpgrade$" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=$minVersion$" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object>
<iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
</div>$end$]]></Code>
</Snippet>
</CodeSnippet>