Данный скрипт позволяет создать .html страницу с Фотошопом
Установка
1) Скачиваем архив и загружаем .SWF на Ваш сайт
2) Создаем чистый .txt документ, и заливаем в него следующий код:
Code
<HTML lang="en"><HEAD>
<TITLE>Photoshop Online</TITLE>
<SCRIPT src="./Splashup_files/AC_OETags.js" language="javascript"></SCRIPT>
<STYLE>
body { margin: 0px; overflow:hidden }
</STYLE>
<SCRIPT language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 28;
// -----------------------------------------------------------------------------
// -->
function promptOnClose(e){
//e = e ? e : windowevent;
var promptString = 'You have got a Photoshop Online?';
//event.returnValue = promptString;
return promptString;
}
if (window != top){
top.location.href = "ССЫЛКА НА ВАШ САЙТ";
}else{
if (window.Event) {
window.onbeforeunload = function(event) {
return promptOnClose(event);
}
} else {
window.onbeforeunload = function() {
return promptOnClose(event);
}
}
}
</SCRIPT>
</HEAD><BODY scroll="no" bgcolor="#6f7777">
<SCRIPT language="JavaScript" type="text/javascript">
<!--
var hasProductInstall = DetectFlashVer(6, 0, 65);
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if ( hasProductInstall && !hasRequestedVersion ) {
var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
var MMredirectURL = window.location;
document.title = document.title.slice(0, 47) + " - Flash Player Installation";
var MMdoctitle = document.title;
AC_FL_RunContent(
"src", "playerProductInstall",
"FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "Splashup",
"quality", "high",
"bgcolor", "#777777",
"name", "Splashup",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else if (hasRequestedVersion) {
AC_FL_RunContent(
"src", "Splashup",
"allowFullScreen", "true",
"FlashVars", "key=",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "Splashup",
"quality", "high",
"bgcolor", "#777777",
"name", "Splashup",
"showMenu", "false",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else {
var alternateContent = "<br/><center><font face='arial' color='#bbbbbb'>You will need Adobe Flash player 9 to edit your images.<br/>You can download it <u><a href='http://www.adobe.com/go/getflash' target='_blank'>here</a></u>.</font></center>";
document.write(alternateContent);
}
// -->
</SCRIPT><EMBED src="ССЫЛКА К ФАЙЛУ PHOTOSHOP-ONLINE.SWF" allowfullscreen="true" flashvars="key=" width="100%" height="100%" align="middle" quality="high" bgcolor="#777777" name="Splashup" showmenu="false" allowscriptaccess="sameDomain" pluginspage="http://www.adobe.com/go/getflashplayer" type="application/x-shockwave-flash">
<NOSCRIPT></NOSCRIPT>
<SCRIPT type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</SCRIPT><SCRIPT src="./Splashup_files/ga.js" type="text/javascript"></SCRIPT><SCRIPT type="text/javascript">var pageTracker = _gat._getTracker("UA-5954907-1");pageTracker._trackPageview();</SCRIPT>
</BODY></HTML>
Там где написано ССЫЛКА К ФАЙЛУ PHOTOSHOP-ONLINE.SWF и ССЫЛКА НА ВАШ САЙТ вставляем соответствующие ссылки.
3) Сохраняем данный документ под названием photoshop, с расширением .htm
4) Заливаем photoshop.htm в корень своего сайта.