开发者

How do I add JavaScript to a master page?

开发者 https://www.devze.com 2023-03-14 14:56 出处:网络
I want to add the following JavaScript to my mast开发者_高级运维er page. <script type=\"text/javascript\"

I want to add the following JavaScript to my mast开发者_高级运维er page.

<script 
    type="text/javascript" 
    src="http://voap.weather.com/weather/oap/USGA0028?template=OTDRV&par=3000000007&unit=0&key=twciweatherwidget">
</script>

How can I add the above Weather Channel script to my master page?

When I add it in my right column it displays twice with different results.


Just put it once in the place you want it displayed and it should display (once).

See Fiddle: http://jsfiddle.net/maniator/MLmsm/


Well, you just copy it in your page...

Works here http://jsfiddle.net/JmRAx/

0

精彩评论

暂无评论...
验证码 换一张
取 消