including javascript

  old&nojob 18:31 15 Aug 06
Locked

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 06

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!)

Thanks

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

Sony Xperia XZ Premium review: Hands-on with the new 4K HDR phone with Motion Eye camera and Snapdr5…

1995-2015: How technology has changed the world in 20 years

Best laptop for design and art 2017: we test Apple, Dell, HP, Lenovo and Microsoft's best models…

CarPlay tips & troubleshooting guide: CarPlay tips & troubleshooting guide: Get the most from…