including javascript

  old&nojob 18:31 15 Aug 2006
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 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!)

Thanks

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

Elsewhere on IDG sites

Dell XPS 13 9370 (2018) review

No need to scan sketches into your computer with Moleskine's new smart pen

How to use 3D Touch on iPhone

Comment importer des contacts d’un iPhone à un autre iPhone ?