问题是当我向页面添加一些额外的 JavaScript 时,页面上的其余文本会增大字体大小。
下面是我添加到页面的代码示例。
<div id='ownedit'>
<script type='text/javascript' src='https://www.ownedit.com/ownedit_js/ownedit.js?store_id=0866c14cd53fff56724c6fd35e72cd07&anchor=ownedit_banner'></script>
<script type='text/javascript'>function post_to_owned_it()
{
var details ={"order_id":"112",
"customer_email":"me@me.com",
"order_currency":"USD",
"store_name":"LocalHost - Getshopped",
"order_value":"16.31",
"products":[{"product_name":"Eprocessing Declined",
"product_url":"http:\/\/www.localhost.com:8080\/getshopped\/products-page\/product-category\/eprocessing-declined\/",
"product_desc":"Eprocessing Declined",
"product_price":"16.31",
"currency":"USD",
"product_id":"9",
"product_quantity":"1",
"product_image_url":"http:\/\/www.localhost.com:8080\/getshopped\/wp-content\/plugins\/wp-e-commerce\/wpsc-theme\/wpsc-images\/noimage.png"}
]};
post_it(details);
}
onLoadCallBack(post_to_owned_it);
</script>
</div>