You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jo...@apache.org on 2023/02/20 23:29:46 UTC

[flex-site] branch main updated: installerbadge index file extension

This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flex-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 359800725 installerbadge index file extension
359800725 is described below

commit 3598007253266ec3545e161934324ebd0944a9af
Author: Josh Tynjala <jo...@bowlerhat.dev>
AuthorDate: Mon Feb 20 15:29:35 2023 -0800

    installerbadge index file extension
---
 content/installerbadge/{index.chtml => index.html} | 152 ++++++++++-----------
 1 file changed, 76 insertions(+), 76 deletions(-)

diff --git a/content/installerbadge/index.chtml b/content/installerbadge/index.html
similarity index 97%
rename from content/installerbadge/index.chtml
rename to content/installerbadge/index.html
index 5414d67b7..6fc1b31ee 100644
--- a/content/installerbadge/index.chtml
+++ b/content/installerbadge/index.html
@@ -1,76 +1,76 @@
-<div id="flashContent">
-    <script type="text/javascript"> 
-        var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://"); 
-        document.write("<a href='http://www.adobe.com/go/getflashplayer' target='_top' ><img src='" 
-                        + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" ); 
-    </script> 
-</div>
-
-<!-- 
-    SWFObject v2.2 <http://code.google.com/p/swfobject/> 
-    is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
--->
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
-
-<script type="text/javascript">
-    /* use strict */
-    
-    var _widget;
-    
-    function displayType() {
-        if ((window.top != window.self) && window.parent)
-            return window.name;
-            
-        return "";
-    }
-    
-    function init() {
-        var prefix, theElement, theHeight, theWidth;
-        
-		if (displayType() != "") {
-    		if (typeof window.innerWidth === 'number') {
-    			theHeight = window.innerHeight;
-    			theWidth = window.innerWidth;
-    		} else {
-        		theElement = window.document.documentElement;
-
-    			theHeight = theElement.clientHeight;
-    			theWidth = theElement.clientWidth;
-    		}
-
-            _widget.style.height = (theHeight - 2) + "px";
-            _widget.style.width = (theWidth - 2) + "px";
-            
-            _widget.style.border = "1px solid #172647";
-        }
-    }
-    
-    function start() {
-        var swfVersionStr, params, attributes;
-        
-        swfVersionStr = "11.1.0";
-        flashVars = { serviceURL: "http://flex.apache.org/" };
-        params = { quality: "high", bgcolor: "#ffffff", allowscriptaccess: "sameDomain",
-            allowfullscreen: "true" };
-        attributes = { id: "InstallApacheFlexBadge", name: "InstallApacheFlexBadge" };
-    
-        swfobject.embedSWF("InstallApacheFlexBadge.swf", "flashContent", "10", "10", 
-            swfVersionStr, "", flashVars, params, attributes);
-    
-        swfobject.createCSS("#flashContent", "display: block;");
-    
-        waitForWidget();
-    }
-    
-    function waitForWidget() {
-        _widget = document.getElementById("InstallApacheFlexBadge");
-        
-        if (!_widget)
-            setTimeout(function () { waitForWidget(); }, 1000);
-        else
-            init();
-    }
-    
-    start();
-    
-</script>
+<div id="flashContent">
+    <script type="text/javascript"> 
+        var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://"); 
+        document.write("<a href='http://www.adobe.com/go/getflashplayer' target='_top' ><img src='" 
+                        + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" ); 
+    </script> 
+</div>
+
+<!-- 
+    SWFObject v2.2 <http://code.google.com/p/swfobject/> 
+    is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
+-->
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
+
+<script type="text/javascript">
+    /* use strict */
+    
+    var _widget;
+    
+    function displayType() {
+        if ((window.top != window.self) && window.parent)
+            return window.name;
+            
+        return "";
+    }
+    
+    function init() {
+        var prefix, theElement, theHeight, theWidth;
+        
+		if (displayType() != "") {
+    		if (typeof window.innerWidth === 'number') {
+    			theHeight = window.innerHeight;
+    			theWidth = window.innerWidth;
+    		} else {
+        		theElement = window.document.documentElement;
+
+    			theHeight = theElement.clientHeight;
+    			theWidth = theElement.clientWidth;
+    		}
+
+            _widget.style.height = (theHeight - 2) + "px";
+            _widget.style.width = (theWidth - 2) + "px";
+            
+            _widget.style.border = "1px solid #172647";
+        }
+    }
+    
+    function start() {
+        var swfVersionStr, params, attributes;
+        
+        swfVersionStr = "11.1.0";
+        flashVars = { serviceURL: "http://flex.apache.org/" };
+        params = { quality: "high", bgcolor: "#ffffff", allowscriptaccess: "sameDomain",
+            allowfullscreen: "true" };
+        attributes = { id: "InstallApacheFlexBadge", name: "InstallApacheFlexBadge" };
+    
+        swfobject.embedSWF("InstallApacheFlexBadge.swf", "flashContent", "10", "10", 
+            swfVersionStr, "", flashVars, params, attributes);
+    
+        swfobject.createCSS("#flashContent", "display: block;");
+    
+        waitForWidget();
+    }
+    
+    function waitForWidget() {
+        _widget = document.getElementById("InstallApacheFlexBadge");
+        
+        if (!_widget)
+            setTimeout(function () { waitForWidget(); }, 1000);
+        else
+            init();
+    }
+    
+    start();
+    
+</script>