0
날씨 채널 스크립트를 내 홈페이지에서 실행할 수없는 것 같습니다. 나는 처음에 TWC에서이 스크립트를받은 : 나는 온라인 편집기 JSFiddle에서 작동하는 것 같다 jQuery의 AJAX getScript 방법을 사용하는 구글 포럼 게시물에 대한 응답을받은weather channel script emb30
document.write('<scr'+'ipt src="'+document.location.protocol+'//wow.weather.com/weather/wow/module/'+wx_locID+'?config='+wx_config+'&proto='+document.location.protocol+'&target='+wx_targetDiv+'"></scr'+'ipt>');
.
$(function() {
$.getScript(document.location.protocol + '//wow.weather.com/weather/wow/module/' + wx_locID + '?config=' + wx_config + '&proto=' + document.location.protocol + '&target=' + wx_targetDiv);
});
여전히 페이지에서 작동하지 않으며 나머지 스크립트도 표시되지 않습니다.
<body>
<div id="chart_div" style="width: 900px; height: 500px;"></div>
<div id="wx_module_1232">
<a href="http://www.weather.com/weather/local/98501">Olympia Weather Forecast, WA (98501)</a>
</div>
</body>
나는 AJAX 임포트일지도 모른다. 나는 웹 사이트를 처음 사용하기 때문에 실종되었다.
나는 TWC에 의해 정의 된 그것들을 가지고있다. 나는 많은 관심을 가지고 떠났다. 내가 생각하기에 문제 다. – Shown