Jump to content
  • 0

Не отображается флэшка в ИЕ7


maerrry
 Share

Question

Почему-то не отображается флэшка в ИЕ7, точнее в режиме совместимости и ИЕ-тестере.

Вот тута _http://modx.15tr.ru/

Код:


<!DOCTYPE html>
<html>
<head>
<title>Главная - Двери</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<base href="[(site_url)]" />
<title>Двери</title>
<script language="JavaScript">
// Это требуется только для обозревателей Netscape.
function flashGetHref() { return location.href; }
function flashPutHref(href) { location.href = href; }
function flashGetTitle() { return document.title; }
function flashPutTitle(title) { document.title = title; }
</script>
</head>
<body style="background:#fff;overflow:hidden;padding:0;margin:0;">
<div style="min-width:1000px;max-width:2000px;height:960px;overflow:hidden;text-align:center;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="100%" height="100%" id="preloader">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://modx.15tr.ru/preloader.swf" /><param name="quality" value="best" /><param name="scale" value="noscale" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="http://modx.15tr.ru/preloader.swf" quality="best" scale="noscale" wmode="transparent" bgcolor="#ffffff" width="100%" height="100%" name="preloader" align="middle" swLiveConnect="true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer_ru"/>
</object>
</div>
</body>
</html>

Edited by maerrry
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

потому что для ИЕ7- нужно использовать <embed> а не <object>

Попробуй использовать swfobject скрипт для интегрирования флеша на страницу

Не помогает. Вот так пробую:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Главная - Двери</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<base href="[(site_url)]" />
<title>Двери</title>
<script type="text/javascript" src="assets/templates/main/scripts/swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myId", "8.0.0", "preloader.swf");
</script>
<script language="JavaScript">
// Это требуется только для обозревателей Netscape.
function flashGetHref() { return location.href; }
function flashPutHref(href) { location.href = href; }
function flashGetTitle() { return document.title; }
function flashPutTitle(title) { document.title = title; }
</script>
</head>
<body style="background:#fff;overflow:hidden;padding:0;margin:0;">
<div style="min-width:1000px;max-width:2000px;height:960px;overflow:hidden;text-align:center;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="100%" height="100%" id="preloader">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="preloader.swf" />
<param name="quality" value="best" />
<param name="scale" value="noscale" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="preloader.swf" quality="best" scale="noscale" wmode="transparent" bgcolor="#ffffff" width="100%" height="100%" name="preloader" align="middle" swLiveConnect="true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer_ru"/>
</object>
</div>
</body>
</html>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy