root/trunk/projects/HTMLUnsupported/html-template/index.template.html @ 50

Revision 50, 7.4 KB (checked in by judah, 5 years ago)

commit HTML Unsupported example project

Line 
1<!-- saved from url=(0014)about:internet -->
2<html lang="en">
3
4<!--
5Smart developers always View Source.
6
7This application was built using Adobe Flex, an open source framework
8for building rich Internet applications that get delivered via the
9Flash Player or to desktops via Adobe AIR.
10
11Learn more about Flex at http://flex.org
12// -->
13
14<head>
15<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16
17<!--  BEGIN Browser History required section -->
18<link rel="stylesheet" type="text/css" href="history/history.css" />
19<!--  END Browser History required section -->
20
21<title>${title}</title>
22<script src="AC_OETags.js" language="javascript"></script>
23
24<!--  BEGIN Browser History required section -->
25<script src="history/history.js" language="javascript"></script>
26<!--  END Browser History required section -->
27
28<!--  BEGIN HTML Component required section -->
29<!--  Be sure to add wmode = opaque or wmode = transparent to the swf embed code below -->
30<script language="JavaScript" type="text/javascript" src="html/htmlcomponent.js"></script>
31<!--  END HTML Component required section -->
32
33<!--  BEGIN HTML Component Alert and MochaUI section -->
34<!--  You can comment this section out if you do not use html alert or mocha ui pop up windows -->
35<!--  For full support use the mocha ui template -->
36<link rel="stylesheet" href="html/css/mocha.css" type="text/css" />
37
38<script language="JavaScript" type="text/javascript" src="html/htmlcomponent_mocha.js"></script>
39<!--  END HTML Component Alert and MochaUI section -->
40
41<!--  BEGIN HTML Component editor sections -->
42<!-- Read the products documentation for their usage -->
43<!-- Uncomment to include the class for your editor -->
44<!--<script language="JavaScript" type="text/javascript" src="html/editors/xinha/XinhaLoader.js"></script>-->
45<!--<script language="JavaScript" type="text/javascript" src="html/editors/fckeditor/fckeditor.js"></script>-->
46<!--<script language="JavaScript" type="text/javascript" src="html/editors/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>-->
47<!--  END HTML Component editor section -->
48
49<style>
50/* styles set in css/mocha.css */
51body {  overflow: hidden; font-family: Arial; }
52</style>
53<script language="JavaScript" type="text/javascript">
54<!--
55// -----------------------------------------------------------------------------
56// Globals
57// Major version of Flash required
58var requiredMajorVersion = ${version_major};
59// Minor version of Flash required
60var requiredMinorVersion = ${version_minor};
61// Minor version of Flash required
62var requiredRevision = ${version_revision};
63// -----------------------------------------------------------------------------
64// -->
65</script>
66</head>
67
68<body scroll="no">
69
70<div id="mochaDesktop">
71
72<div id="mochaDock">
73        <div id="mochaDockPlacement"></div>
74        <div id="mochaDockAutoHide"></div>
75</div>
76
77<!-- use this to preload the rollover images - this is offscreen -->
78<div class="windowImagePreloader">
79        <img src="html/images/footerTitleWindow_left.png" height="10" width="10" border="0" />
80        <img src="html/images/footerTitleWindow_center.png" height="10" width="10" border="0" />
81        <img src="html/images/footerTitleWindow_right.png" height="10" width="10" border="0" />
82       
83        <img src="html/images/headerTitleWindow_left.png" height="10" width="10" border="0" />
84        <img src="html/images/headerTitleWindow_center.png" height="10" width="10" border="0" />
85        <img src="html/images/headerTitleWindow_right.png" height="10" width="10" border="0" />
86       
87        <img src="html/images/icoCloseTitleWindow.png" height="10" width="10" border="0" />
88        <img src="html/images/icoCloseTitleWindow_ovr.png" height="10" width="10" border="0" />
89        <img src="html/images/icoMaxTitleWindow.png" height="10" width="10" border="0" />
90        <img src="html/images/icoMaxTitleWindow_ovr.png" height="10" width="10" border="0" />
91        <img src="html/images/icoMinTitleWindow.png" height="10" width="10" border="0" />
92        <img src="html/images/icoMinTitleWindow_ovr.png" height="10" width="10" border="0" />
93</div>
94
95<script language="JavaScript" type="text/javascript">
96<!--
97// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
98var hasProductInstall = DetectFlashVer(6, 0, 65);
99
100// Version check based upon the values defined in globals
101var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
102
103if ( hasProductInstall && !hasRequestedVersion ) {
104        // DO NOT MODIFY THE FOLLOWING FOUR LINES
105        // Location visited after installation is complete if installation is required
106        var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
107        var MMredirectURL = window.location;
108    document.title = document.title.slice(0, 47) + " - Flash Player Installation";
109    var MMdoctitle = document.title;
110
111        AC_FL_RunContent(
112                "src", "playerProductInstall",
113                "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
114                "width", "${width}",
115                "height", "${height}",
116                "align", "middle",
117                "id", "${application}",
118                "quality", "high",
119                "bgcolor", "${bgcolor}",
120                "name", "${application}",
121                "allowScriptAccess","sameDomain",
122                "type", "application/x-shockwave-flash",
123                "pluginspage", "http://www.adobe.com/go/getflashplayer"
124        );
125} else if (hasRequestedVersion) {
126        // if we've detected an acceptable version
127        // embed the Flash Content SWF when all tests are passed
128        AC_FL_RunContent(
129                        "src", "${swf}",
130                        "width", "${width}",
131                        "height", "${height}",
132                        "align", "middle",
133                        "id", "${application}",
134                        "quality", "high",
135                        "bgcolor", "${bgcolor}",
136                        "name", "${application}",
137                        "allowScriptAccess","sameDomain",
138                        "type", "application/x-shockwave-flash",
139                        "pluginspage", "http://www.adobe.com/go/getflashplayer",
140                        "wmode", "opaque"
141        );
142  } else {  // flash is too old or we can't detect the plugin
143    var alternateContent = 'Alternate HTML content should be placed here. '
144        + 'This content requires the Adobe Flash Player. '
145        + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
146    document.write(alternateContent);  // insert non-flash content
147  }
148// -->
149</script>
150<noscript>
151        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
152                        id="${application}" width="${width}" height="${height}"
153                        codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
154                        <param name="movie" value="${swf}.swf" />
155                        <param name="quality" value="high" />
156                        <param name="bgcolor" value="${bgcolor}" />
157                        <param name="allowScriptAccess" value="sameDomain" />
158                        <embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
159                                width="${width}" height="${height}" name="${application}" align="middle"
160                                play="true"
161                                loop="false"
162                                quality="high"
163                                allowScriptAccess="sameDomain"
164                                type="application/x-shockwave-flash"
165                                pluginspage="http://www.adobe.com/go/getflashplayer">
166                        </embed>
167        </object>
168</noscript>
169
170</div><!-- mochaDesktop end -->
171</body>
172<!-- we put mootools after the body because of the operation aborted bug in ie6 and ie7. could be moved? -->
173<script type="text/javascript" src="html/scripts/mootools-trunk-1475.js" charset="utf-8"></script>
174<!--[if IE]>
175        <script type="text/javascript" src="html/scripts/excanvas-compressed.js"></script>             
176<![endif]-->
177<script type="text/javascript" src="html/scripts/mocha-events.js" charset="utf-8"></script>    
178<script type="text/javascript" src="html/scripts/mocha.js" charset="utf-8"></script>
179</html>
Note: See TracBrowser for help on using the browser.