繁体   English   中英

HTML“标题”属性显示单词“未定义”-例如 “首页未定义”

[英]HTML 'Title' attribute showing the word 'undefined' - eg. 'Home Pageundefined'

我的网站“标题”当前有问题。 这是目前显示不正确,为“库什Koutureundefined”,其中本应显示“库什Kouture”(请参阅链接截图- http://imageshack.us/photo/my-images/38/screenshotnpe.jpg/ )。

我的网站包含一个嵌入到index.html中的.swf(index.swf)

这是我的代码...

<!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=UTF-8" /> 
<meta name="author" content="Kush Kouture" /> 
<meta name="keywords" content="Kush Kouture" /> 
<meta name="description" content="Kush Kouture" /> 

<title>Kush Kouture</title> 

<script type="text/javascript" src="swfobject.js"></script> 
<script type="text/javascript" src="swfaddress.js"></script> 
<script type="text/javascript" src="swffit.js"></script> 
<script type="text/javascript"> 
var flashvars = {}; 
flashvars.url_config = "xml/configuration_site.xml"; 
flashvars.initServices = true; 
var params = {}; 
params.allowfullscreen = true; 
params.allowScriptAccess = "always"; 
var attributes = {}; 
attributes.id = 'flashObject'; 
attributes.bgcolor = '#000000'; 

swfobject.embedSWF("flash/index.swf", "Alternative", "100%", "100%", "8", "flash/index.swf", flashvars, params, attributes); 
</script> 

<style type="text/css"> 
/* hide from ie on mac \*/ 
html { 
height: 100%; 
overflow: hidden; 
} 

#flashcontent { 
height: 100%; 
} 
/* end hide */ 

body { 
height: 100%; 
margin: 0; 
padding: 0; 
background-color: #ffffff; 
} 
p { 

font-size: 10px; 
font-family: Verdana; 
line-height:17px; 
color:#ffffff; 

}  
.style1 { 
font-size: 11px; 
font-family: Verdana; 
color:#ffffff; 
text-transform:uppercase; 
} 
</style> 

</head> 
<body> 

<div id="flashContent> 
<object id="flashObject" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=11,0,0,0" width="100%" height="100%"> 
<param name="movie" value="flash/index.swf" /> 
<param name="wmode" value="transparent" /> 
<param name="width" value="100%" /> 
<param name="height" value="100%" /> 
<param name="scale" value="noscale" /> 
<object type="application/x-shockwave-flash" data="flash/index.swf" align=""      scale="noscale" wmode="transparent" width="100%" height="100%"> 
</object> 
</object> 
</div> 

<div id="Alternative">  
<p style="color:#999999">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kush Kouture | You require the latest version of Adobe Flash Player in order to view this site. Please use the button below to download the latest version.</p> 
<p><a href="http://get.adobe.com/flashplayer/"><img src="flash.jpg" alt="Get Adobe Flash player" /></a></p> 
</div> 

</body> 
</html>

任何建议将不胜感激!

似乎您可以在Flash中更改页面标题:

从SWF设置页面标题

这将是我最有可能的候选人。 您是否编写了Flash应用程序?

好吧,似乎您的当前标题标签正在发生更改(添加)。 可能是SWF或某些JS。 我建议您一次取出一个组件,以找出哪个文件正在执行此操作,然后从那里开始。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM