-1
我通常不喜歡讓其他人看我的代碼,但我很困惑!這個腳本只適用於jsFiddle。當我在別處嘗試時,它只是出現海軍背景。我的腳本適用於jsFiddle,但不適用於我的網頁
<!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-gb" lang="en-gb" >
<head>
<meta name="google-site-verification" content="MaEIpDKrtwWJCsgK-26zGQY0-WFYBN8y2fDho0pzYcE" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
<style type="text/css">
.scr { height:700px; width:400px; background-color:navy;}
</style>
</head><body>
<div class="scr"><script type="text/javascript" src="//www.gmodules.com/ig/ifr?url=http://geoff.lequelenec.googlepages.com/stock_chart_gadget.xml&up_symbol=PPL&up_duration=v&synd=open&w=320&h=200&title=PPL+Corporation&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script></div>
</body></html>
也許你應該給一個鏈接到jsfiddle工作... – JJJ
分享js小提琴鏈接,在此之前確保你已經添加了一個有效的腳本文件 – Vignesh
是否有可能做到這一點,並讓它出現在相同的頁? – kmmbify