VWO代码不起作用

时间:2014-11-24 13:23:30

标签: javascript header

以下vwo代码无效。

<script type="text/javascript">
 /* You can use inline Javascript or JQuery (as shorthand vwo_$) or link to an external JavaScript file using "src" attribute */
 vwo_$(document).ready( function()
 {
  vwo_$("#ciq_ideal_statement").remove();
  vwo_$(".box-container").addClass("ciq-ideal").prepend("<div id=ciq_ideal_statement>Shapewear ideal for Weddings, Birthdays, Special Occasions, and Everyday use.</div>");
  });
</script>

<style>
 /* Write inline styling here or link to an external stylesheet using link tag */
   .box-container.ciq-ideal{
     min-height:100px;
   }
   #ciq_ideal_statement {
    padding: 10px 20px;
    color: white;
    font-size: 16px;
     text-align:center;
     background: none repeat scroll 0% 0% #F06EAA;
     border-radius: 10px 10px 0px 0px;
}
   .box-container .box:first-child {
    border: medium none;
    box-shadow: 0px 0px 12px #333;
    width: 160px;
}
</style>

有人可以帮我调试它为什么不起作用。谢谢你。

0 个答案:

没有答案