It is currently Wed Jan 20, 2021 11:13 pm

All times are UTC

Forum rules

Please click here to view the forum rules

Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: linking external files
PostPosted: Tue Aug 02, 2005 10:48 pm 

Joined: Fri Apr 15, 2005 5:49 pm
Posts: 2
I'm trying to link a few external .js files into a page, but can't. If I put the scripts directly into the html document it works. If I try linking the files as such:

<script type="text/javascript" language="javascript" src="file.js"></script>

It doesn't work.

Is this something with the hosting? Or something that I'm doing wrong?

Thanks for the help on this


 Post subject:
PostPosted: Wed Aug 31, 2005 10:44 am 

Joined: Wed May 25, 2005 5:47 am
Posts: 12

there are a few things you can make sure...

- location of your *.js file. If its in a scripts folder under your main folder at the webserver then your src="foldername/name_of_file.js"

-also make sure whether the <script type="text/javascript" language="javascript" src="file.js"></script> statement is needed in HEAD section or the BODY section of the HTML webpage.


 Post subject:
PostPosted: Wed Aug 31, 2005 10:23 pm 
I have no life!
I have no life!

Joined: Sun Feb 13, 2005 6:12 pm
Posts: 1504
Location: My Office

Did you know that you do not have to make the normal HTML format of a coding page to have the information work properly.

Like you do not need the <html><head></head><body></body></html> ... But I recommend using it. ! :D

Best Regards:
Aaron McGowan (aka: CyberGeek, =cipher=)

CyberGeek's Software Solutions
-- WWW:
-- Tech Line: 1-519-860-4557
-- Email:

 Post subject:
PostPosted: Thu Sep 01, 2005 7:39 pm 
Filenames on the 100ws servers are CasE SenSiTIve, meaning that file.js is different then FIle.jS

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ]  Moderators: fhmagic, KJ, Support Team, Moderators

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
100WebSpace © 2011