Problems with javascript
-
I know that there are many existing posts on putting javascript in posts but I cant make sense of them. Sorry.
I want to put in the following script from an external site into a post on my site but it doesnt work at the mo when I paste it straight in.<!– Begin MagicSeaweed.com Chart Code
(c) Metcentral Ltd 2005
You are welcome to embed this code in your website to deliver our latest swell charts to
surfers. We’d appreciate it if you leave this message and all code contained in this section
as is and unmodified.
If you link directly to the image it won’t work as we change the URL periodically.
Thanks! – Ben –>
<script type=”text/javascript”
src=”https://data.metcentral.com/jscript/swellChart.js”>
</script>
<div style=”width: 550px; text-align: center”>
MagicSeaweed.com Surf Forecast
</div>
<!– End MagicSeaweed.com Chart Code –>I read in one thread that I should ‘call it’ but I have no idea what this means. Could someone please give me a dummies guide to putting javascript in a post?
- The topic ‘Problems with javascript’ is closed to new replies.