including javascript

  old&nojob 18:31 15 Aug 2006

I've got some code which if I include it in my html doc it runs OK. If I put it into a .js file to call it with:
script language="JavaScript" src="js/slideshow.js"> /script>

it opens in a new window and not at the location in the page.

Does anyone know the reason for this?

  old&nojob 20:09 15 Aug 2006

I am using Dreamweaer 8 and have the files stored under inetpub i.e. I am running it from the IIS server on my machine and I think this may be the problem (or my code!)


This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Best of the Grad Shows 2017: UAL Central Saint Martins

MacBook Pro 15-inch (2017) review

Comment connecter un MacBook à une TV ?