Xhtml幻灯片不起作用


<html xmlns:t ="urn:schemas-microsoft-com:time">
<head>
<style>
.time
{
behavior: url(#default#time2);}
.text
{
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #003366;}
.palat {
FONT-SIZE: 14pt; LEFT: 80px; COLOR: green; POSITION: absolute; TOP: 250px}
.teatru {
FONT-WEIGHT: bold; FONT-SIZE: 16pt; LEFT: 80px; WIDTH: 20px; COLOR: white; POSITION: absolute; TOP: 180px; WRITING-MODE: tb-rl}
.uaic {
FONT-WEIGHT: bold; FONT-SIZE: 24pt; LEFT: 80px; COLOR: white; POSITION: absolute; TOP: 300px}
</style>
<?import namespace="t" implementation="#default#time2">
<title>XHTML+TIME</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<SCRIPT>
function modifica()
{ 
if(!secv.currTimeState.isActive)
{ secv.beginElement() }
 if(Math.round(cronom.value)!=Math.round(secv.currTimeState.segmentTime))
{ secv.seekSegmentTime(cronom.value) }
}
</SCRIPT>
<body>
<h1 align="center" class="text">SLIDE-SHOW
</h1>
<div align="center">
<BUTTON onclick=modifica()>Incepe slide-show</BUTTON>
<div style="MARGIN-TOP: 10px; BACKGROUND: white; WIDTH: 200px; HEIGHT: 200px">
<t:seq id=secv begin = "indefinite" dur = "12" repeatCount = "1">
<t:par dur = "3" timeAction = "display">
<!--<SPAN class="time palat">Palatul culturii din Iasi
<t:animate attributeName = "fontSize" from = "14px" to = "24pt" dur = "3" fill = "hold">
</t:animate>
</SPAN>-->
<t:img src ="p1.JPG"></t:img>
</t:par>
<t:par dur = "3" timeAction = "display">
<!--<SPAN class="time teatru">Teatrul National "Vasile Alecsandri"
<t:animate attributeName = "left" from = "80px" to = "800px" dur = "3" fill = "hold">
</t:animate>
</SPAN>-->
<t:img src = "p2.JPG"></t:img>
</t:par>
<t:par dur = "3" timeAction = "display">
<!--<SPAN class="time uaic">Universitatea "Al. I. Cuza"
<t:animatecolor attributeName = "color" from = "white" to = "gold" begin = "1" dur = "3" fill = "hold">
</t:animatecolor>
</SPAN>-->
<t:img src = "p3.JPG"></t:img>
</t:par>
<t:par dur = "3" timeAction = "display">
<t:img src = "p4.JPG"></t:img>
</t:par>
</t:seq>
</div>
</div>
</body>
</html>

正在尝试让这段代码工作,但按下按钮什么也没做,我看不出代码有什么问题。 我尝试过更改图片,但它没有任何改变。

不是XHTML。它是"像XHTML这样的东西,缺少它的命名空间声明"+"TIME"。

请参阅此文档:

本主题介绍了 HTML+TIME 2.0 的一项功能,该功能在 Windows Internet Explorer 9 中已过时。

您正在使用一个过时的工具,除了 Internet Explorer 之外,其他任何工具都不支持该工具。

你需要找到一种完全不同的方法。

相关内容

  • 没有找到相关文章

最新更新