Javascript删除未使用的职位

时间:2017-11-03 16:02:37

标签: javascript meta

我有67个#pos但是我只想抓住这里列出的特定内容,如何删除其他内容?除此之外:如何复制#pos56以使其工作两次?

<script type="text/javascript">
titel ="C.M.I. 1";  
image = "1.png";
refreshtime = 60;
RefreshLink ="";
$('meta[name="viewport"]').replaceWith('<meta name="viewport" 
content="width=1906">');

</script>
<style type="text/css">
body{background:white;}
#values{width:1906px; height:864px;}
#pos35{position:absolute; top:306px; left:195px;}
#pos35{font-family: Arial; font-size: 27px; color: rgb(0,0,0); font-style: 
normal; font-weight: normal; text-align: left;}
#pos33{position:absolute; top:362px; left:195px;}
#pos33{font-family: Arial; font-size: 27px; color: rgb(0,0,0); font-style: 
normal; font-weight: normal; text-align: left;}
#pos34{position:absolute; top:306px; left:584px;}
#pos34{font-family: Arial; font-size: 27px; color: rgb(0,0,0); font-style: 
normal; font-weight: normal; text-align: left;}
#pos32{position:absolute; top:354px; left:582px;}
#pos32{font-family: Arial; font-size: 27px; color: rgb(0,0,0); font-style: 
normal; font-weight: normal; text-align: left;}
#pos56{position:absolute; top:317px; left:900px;}
#pos56{font-family: Arial; font-size: 27px; color: rgb(0,0,0); font-style: 
normal; font-weight: normal; text-align: left;}
#pos56{position:absolute; top:315px; left:1265px;}
#pos56{font-family: Arial; font-size: 27px; color: rgb(0,0,0); font-style: 
normal; font-weight: normal; text-align: left;}
#pos57{position:absolute; top:397px; left:1345px;}
#pos57{font-family: Arial; font-size: 27px; color: rgb(0,0,0); font-style: 
normal; font-weight: normal; text-align: left;}
</style>

0 个答案:

没有答案