[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Яндекс паинт на вашем сайте
ДжулианДата: Вторник, 17.03.2009, 23:04 | Сообщение # 1
Сообщений: 57
Награды: 2
Репутация: 2
Offline

Создаем страницу Главная » Редактор страниц » Добавить страницу
И вставляем в страницу этот код:

Code

<?xml version="1.0" encoding="utf-8"?>
<!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"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Яндекс.Краски. Нарисуйте свою открытку!</title><script type="text/javascript" src="http://img.yandex.net/i/swfobject.js"></script><style type="text/css">
              *
              {
                  margin: 0;
                  padding: 0;
              }
          </style></head><body style="background-image:url(http://www.tns-counter.ru/V13a****yandex_ru/ru/CP1251/tmsec=yandex_cards/0)"><div id="flash">

                  У вас должен быть установлен Flash версии 8 или выше, пожалуйста
                  <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">обновите flash-плеер</a></p><script type="text/javascript">
              function openSavePage(_hash)
              {
                  if (window.opener) {
                      window.close();
                      window.opener.top.location.href = 'http://cards.yandex.ru/save.xml?hash=' + _hash;
                  }
                  else {
                      window.location.href = 'http://cards.yandex.ru/save.xml?hash=' + _hash;
                  }
              }

              function openSendPage(_hash)
              {
                  if (window.opener) {
                      window.close();
                      window.opener.top.location.href = 'http://cards.yandex.ru/my-card.xml?hash=' + _hash;
                  }
                  else {
                      window.location.href = 'http://cards.yandex.ru/my-card.xml?hash=' + _hash;
                  }
              }
              function openAllSavedPage(_hash)
              {
                  if (window.opener) {
                      window.close();
                      window.opener.top.location.href = 'http://cards.yandex.ru/saved.xml?saved_hash=' + _hash;
                  }
                  else {
                      window.location.href = 'http://cards.yandex.ru/saved.xml?saved_hash=' + _hash;
                  }
              }
              function openPublishPage(_hash)
              {
                  if (window.opener) {
                      window.close();
                      window.opener.top.location.href = 'http://cards.yandex.ru/my-card.xml?publish=1&hash=' + _hash;
                  }
                  else {
                      window.location.href = 'http://cards.yandex.ru/my-card.xml?publish=1&hash=' + _hash;
                  }
              }
                  var so = new SWFObject("http://cards2-static.yandex.net/editor.swf", "proto", "1000", "700", "8", "#FFF");
                  so.addVariable("baseURL", "http://cards2-static.yandex.net/");
                  so.addVariable("libURL", "xml/library.xml");

                        

                  so.addVariable("scriptSaveURL", "http://put2.cards.yandex.ru/upload-xml");
                        
                          so.addVariable("cardHASH", "798ba1f04a418151364091c618d99b32.3211");

                          so.addVariable("preURL", "http://cards.yandex.ru/pre.xml?hash=798ba1f04a418151364091c618d99b32.3211");
                          so.addVariable("imgLoad", "http://cards2.yandex.net/get-custom/3211/798b/798ba1f04a418151364091c618d99b32.3211_img");
                          so.addVariable("imgSave", "http://put2.cards.yandex.ru/custom-image-upload");

                            
                  so.addParam("allowScriptAccess", "always");
                  so.addVariable("templateURL", "xml/templates.xml");
                  so.write("flash");
              </script></div></body></html>
Прикрепления: 9483398.jpg (85.3 Kb)
 
  • Страница 1 из 1
  • 1
Поиск: