It is currently Thu Mar 28, 2024 11:06 am


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 
Noobie
Noobie

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

TTFN
John


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

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

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.

_________________
cheers
rohit


Top
 Profile  
 
 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
Hey,

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: http://www.cybergeeksoftware.com
-- Tech Line: 1-519-860-4557
-- Email: cybergeek@cybergeeksoftware.com


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


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

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:  
cron
100WebSpace © 2011