update all the old flash galleries to use ruffle
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
// Flash Version Detector v1.2.1
|
||||
// documentation: http://www.dithered.com/javascript/flash_detect/index.html
|
||||
// license: http://creativecommons.org/licenses/by/1.0/
|
||||
// code by Chris Nott (chris[at]dithered[dot]com)
|
||||
// with VBScript code from Alastair Hamilton (now somewhat modified)
|
||||
|
||||
|
||||
function isDefined(property) {
|
||||
return (typeof property != 'undefined');
|
||||
}
|
||||
|
||||
var flashVersion = 0;
|
||||
function getFlashVersion() {
|
||||
var latestFlashVersion = 8;
|
||||
var agent = navigator.userAgent.toLowerCase();
|
||||
|
||||
// NS3 needs flashVersion to be a local variable
|
||||
if (agent.indexOf("mozilla/3") != -1 && agent.indexOf("msie") == -1) {
|
||||
flashVersion = 0;
|
||||
}
|
||||
|
||||
// NS3+, Opera3+, IE5+ Mac (support plugin array): check for Flash plugin in plugin array
|
||||
if (navigator.plugins != null && navigator.plugins.length > 0) {
|
||||
var flashPlugin = navigator.plugins['Shockwave Flash'];
|
||||
if (typeof flashPlugin == 'object') {
|
||||
for (var i = latestFlashVersion; i >= 3; i--) {
|
||||
if (flashPlugin.description.indexOf(i + '.') != -1) {
|
||||
flashVersion = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// IE4+ Win32: attempt to create an ActiveX object using VBScript
|
||||
else if (agent.indexOf("msie") != -1 && parseInt(navigator.appVersion) >= 4 && agent.indexOf("win")!=-1 && agent.indexOf("16bit")==-1) {
|
||||
var doc = '<scr' + 'ipt language="VBScript"\> \n';
|
||||
doc += 'On Error Resume Next \n';
|
||||
doc += 'Dim obFlash \n';
|
||||
doc += 'For i = ' + latestFlashVersion + ' To 3 Step -1 \n';
|
||||
doc += ' Set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash." & i) \n';
|
||||
doc += ' If IsObject(obFlash) Then \n';
|
||||
doc += ' flashVersion = i \n';
|
||||
doc += ' Exit For \n';
|
||||
doc += ' End If \n';
|
||||
doc += 'Next \n';
|
||||
doc += '</scr' + 'ipt\> \n';
|
||||
document.write(doc);
|
||||
}
|
||||
|
||||
// WebTV 2.5 supports flash 3
|
||||
else if (agent.indexOf("webtv/2.5") != -1) flashVersion = 3;
|
||||
|
||||
// older WebTV supports flash 2
|
||||
else if (agent.indexOf("webtv") != -1) flashVersion = 2;
|
||||
|
||||
// Can't detect in all other cases
|
||||
else {
|
||||
flashVersion = flashVersion_DONTKNOW;
|
||||
}
|
||||
|
||||
return flashVersion;
|
||||
}
|
||||
|
||||
flashVersion_DONTKNOW = -1;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SIMPLEVIEWER_DATA maxImageDimension="480" textColor="0xFFFFFF" frameColor="0xFFFFFF" bgColor="0x181818" frameWidth="20" stagePadding="40" thumbnailColumns="3" thumbnailRows="3" navPosition="right" navDirection="LTR" title="Example Title" imagePath="" thumbPath="">
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 1</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 2</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 3</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 4</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 5</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 6</CAPTION>
|
||||
</IMAGE><IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 7</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 8</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 9</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 10</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 11</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 12</CAPTION>
|
||||
</IMAGE>
|
||||
<IMAGE>
|
||||
<NAME>115-1503_IMG.jpg</NAME>
|
||||
<CAPTION>Image 13</CAPTION>
|
||||
</IMAGE>
|
||||
|
||||
</SIMPLEVIEWER_DATA>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
45
content/files/old/sds_v5/scripts/SimpleViewer_v17/index.html
Normal file
45
content/files/old/sds_v5/scripts/SimpleViewer_v17/index.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<title>SimpleViewer</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
html, body {
|
||||
/* \*/
|
||||
height:100%;
|
||||
/* hide from Mac IE 5.x */
|
||||
background-color: #181818;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<!-- saved from url=(0014)about:internet -->
|
||||
<script language="javascript" type="text/javascript" src="flash_detect.js">
|
||||
<!--
|
||||
function getFlashVersion() { return null; };
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
<!--
|
||||
var flashVersion = getFlashVersion();
|
||||
if (flashVersion < 6) {
|
||||
location.replace("upgrade.html");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" align="middle">
|
||||
<param name="movie" value="viewer.swf" />
|
||||
<param name="quality" value="high" />
|
||||
<param name="scale" value="noscale" />
|
||||
<param name="BGCOLOR" value="#181818" />
|
||||
<embed src="viewer.swf" width="100%" height="100%" align="middle" quality="high" scale="noscale" bgcolor="#181818" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
|
||||
</object>
|
||||
</body>
|
||||
</html>
|
||||
21
content/files/old/sds_v5/scripts/SimpleViewer_v17/readme.txt
Normal file
21
content/files/old/sds_v5/scripts/SimpleViewer_v17/readme.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
-----------------------------------
|
||||
SIMPLEVIEWER v1.7
|
||||
-----------------------------------
|
||||
|
||||
For instructions on how to use go to:
|
||||
http://www.airtightinteractive.com/simpleviewer/
|
||||
|
||||
-----------------------------------
|
||||
TERMS OF USE
|
||||
-----------------------------------
|
||||
|
||||
May be used in any kinds of personal and/or commercial projects. May not be redistributed or resold to other companies or third parties. Please ensure that the SimpleViewer download link in the bottom right corner is clearly visible.
|
||||
|
||||
-----------------------------------
|
||||
CREDITS
|
||||
-----------------------------------
|
||||
|
||||
Created by Airtight Interactive.
|
||||
www.airtightinteractive.com
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>SimpleViewer - Please upgrade your Flash player.</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
html, body {
|
||||
height: 100%;
|
||||
background-color: #181818;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:small;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" border="0">
|
||||
<tr>
|
||||
<td align="center" valign="middle"><p>SimpleViewer requires the Flash Player.</p>
|
||||
<p><a href="http://www.macromedia.com/go/getflashplayer/"><img src="get_flash_player.gif" alt="Get Flash Player" width="88" height="31" border="0"></a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
BIN
content/files/old/sds_v5/scripts/SimpleViewer_v17/viewer.swf
Normal file
BIN
content/files/old/sds_v5/scripts/SimpleViewer_v17/viewer.swf
Normal file
Binary file not shown.
Reference in New Issue
Block a user