Okay I have a problem with this. A design company sent me a new website I'd had done, but they've used javascript in the code itself rather than call it from external files. Its just a javascript to show the current time. To start with it looked like this: So its two javascripts. I put the first one in an external file and changed the first part to: <td height="15" class="white-medium-text"><script type="text/javascript" src="clock.js"></script> It worked fine like this. Now when I put the 2nd part into another external script, the clock isn't displaying. I dont want to leave the page full of javascript code, I'd prefer to get the 2nd part in an external file. Can anyone say why it is not working? thanks
Try adding: // <![CDATA[ right after the opening script tag, and // ]]> right before the closing script tag at the bottom
Thanks I'll try that, I'm off to football for a couple of days and leaving soon so will try as soon as I get back. apmsolutions sorry but its not a public site.