将HTML代码插入SilverLight 3 Gallery Template最终输出Default.html Automatically [英] Insert HTML code into SilverLight 3 Gallery Template final output Default.html Automatically

查看:52
本文介绍了将HTML代码插入SilverLight 3 Gallery Template最终输出Default.html Automatically的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题几乎说明了一切。如何指定silverlight播放器大小以及要使用的背景类型。

Title pretty much says it all. How can i specify silverlight player size and what type of background to use.

 

我有一串我要添加的html代码进入silverlight 3 gallery模板..所以这是一个例子..

I have a string of html code i want to add into silverlight 3 gallery template.. So here is an example..

 

http://www.slaviccenter.org/silverlight/04-03-10-04-04-10-2/ Default.html

 

我希望编码器在下次外出时自动将代码放入default.html代码中silverlight 3画廊的大小和背景和中心对齐等,而不是所有宽度都是100%,高度是100%,但宽度为955px,高度为425px .. 

I want encoder to automatically place the code into the default.html code next time i outout a silverlight 3 gallery with the size and background and center alignment and etc, instead of having everything being at width is 100% and heigh is 100% but to have width 955px and to have height be 425px.. 

推荐答案

"在Visual Studio中编辑模板副本"或"在Expression Blend中编辑模板的副本"或命令会将模板和所有需要的文件复制到"我的文档\表达式\Expression Encoder \Templates"之类的文件夹中。文件夹  在该位置,您可以按照描述的方式修改default.html的模板副本,使用该模板编码的后续作业将包含您的编辑。

The "edit copy of template in Visual Studio" or "edit copy of template in Expression Blend" commands will make a copy of the template and all needed files to a folderunder yout "My Documents\Expression\Expression Encoder\Templates" folder.   In that location you may modify the template copy of default.html in the manner you describe and subsequent jobs that you encode using that template will contain your edits.

如果您没有VS或混合 - 可以手动将模板文件复制到上面的位置,并使用记事本自定义default.html - 如果你走这条路线,你还需要更新"名称"。 line有一个唯一的模板名称,例如

If you don't have VS or Blend -- it's possible to copy the template files by hand to the above location and customize default.html just using Notepad -- if you go that route ypou'll also need to update the "name" line to have a unique template name e.g.

< ! - <

<!-- <


@ Options Name =" My super cool  player"
@ Options Name="My super cool player"


> - >
> -->


这篇关于将HTML代码插入SilverLight 3 Gallery Template最终输出Default.html Automatically的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆