Silverlight 学习
http://silverlight.cn/getstarted/default.aspx
参考这的。。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>My First Silverlight Page</title>
<script src="js/Silverlight.js" type="text/javascript"></script>
</head>
<body>
<br />
<center>
<div id="Ag1Host" style="background:#FFFFFF">
<script type="text/javascript">
var pe1 = document.getElementById("Ag1Host");
</script>
</div>
</center>
<script>
Sys.Silverlight.createObjectEx({source: 'js/aaa.xml', parentElement:pe1, id:'Ag1', properties:{width:'300', height:'100', background:'#00FFFFFF', isWindowless:'true', framerate:'24', version:'0.90.0'}, events:{onError:null, onLoad:null}, context:null});
</script>
</body>
</html>
<html>
<head>
<title>My First Silverlight Page</title>
<script src="js/Silverlight.js" type="text/javascript"></script>
</head>
<body>
<br />
<center>
<div id="Ag1Host" style="background:#FFFFFF">
<script type="text/javascript">
var pe1 = document.getElementById("Ag1Host");
</script>
</div>
</center>
<script>
Sys.Silverlight.createObjectEx({source: 'js/aaa.xml', parentElement:pe1, id:'Ag1', properties:{width:'300', height:'100', background:'#00FFFFFF', isWindowless:'true', framerate:'24', version:'0.90.0'}, events:{onError:null, onLoad:null}, context:null});
</script>
</body>
</html>
<Canvas
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextBlock FontSize="36" Canvas.Left="17" Canvas.Top="10" Foreground="Blue">Hello Silverlight</TextBlock>
</Canvas>
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextBlock FontSize="36" Canvas.Left="17" Canvas.Top="10" Foreground="Blue">Hello Silverlight</TextBlock>
</Canvas>
有兴趣的朋友看看这。
http://www.riaforum.com/examples/Jelly/Graph.htm
http://www.riaforum.com/examples/Jelly/Pie.htm
http://www.riaforum.com/examples/Jelly/Bar.htm