public
Description: Plugin for running Ruby in the browser seamlessly from Rails, and display either HTML or vector graphics
Homepage: http://jimmy.schementi.com/silverline
Clone URL: git://github.com/jschementi/silverline.git
Gives correct download for SL Beta2
jschementi (author)
Thu Jul 24 20:41:28 -0700 2008
commit  2642bc5b3709565a4037a8d38e7f97b185bbd505
tree    158f7385c5e9ad93c918e77c05cac6702add4677
parent  27a650406aa4fa3e09c10a251ec4fd43fec76f48
...
12
13
14
15
 
 
 
 
 
16
17
18
19
20
21
22
23
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
26
27
...
12
13
14
 
15
16
17
18
19
20
21
22
23
24
 
 
 
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
0
@@ -12,16 +12,30 @@
0
   Silverlight control: allows us to write Ruby in the browser
0
 -->
0
 <div id="SilverlightControlHost" onload="self.focus()">
0
-  <object data="data:application/x-silverlight," type="application/x-silverlight-2-b2" width="<%= options[:properties][:width] %>" height="<%= options[:properties][:height] %>">
0
+
0
+  <object 
0
+    data="data:application/x-silverlight," 
0
+    type="application/x-silverlight-2-b2" 
0
+    width="<%= options[:properties][:width] %>" height="<%= options[:properties][:height] %>">
0
     <param name="source" value="<%= public_xap_file %>" />
0
     <param name="onerror" value="onSilverlightError" />
0
     <param name="background" value="<%= options[:properties][:background] %>" />
0
     <param name="windowless" value="<%= options[:properties][:windowless] %>" />
0
     <param name="initParams" value="<%= generate_init_params(options) %>" />
0
-    
0
-    <a href="http://go.microsoft.com/fwlink/?LinkID=108182" style="text-decoration: none;">
0
-      <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
0
+
0
+    <!-- 
0
+      Provide installation prompt, including image, if 
0
+      Silverlight needs to be installed on the client.
0
+    -->
0
+    <a 
0
+      href="http://go2.microsoft.com/fwlink/?LinkID=115261" 
0
+      style="text-decoration: none;">
0
+      <img 
0
+        src="http://go2.microsoft.com/fwlink/?LinkId=108181" 
0
+        alt="Get Microsoft Silverlight"
0
+        style="border-style: none" />
0
     </a>
0
+
0
   </object>
0
   <iframe style='visibility:hidden;height:0;width:0;border:0px'></iframe>
0
 </div>

Comments