| View previous topic :: View next topic |
| Author |
Message |
FriddleDev
Joined: 30 Jun 2008 Posts: 1
|
Posted: Mon Jun 30, 2008 3:58 pm Post subject: Loading js file from a filehost. |
|
|
Hello!
I'm totally new at javascript... and I've encountered a problem.
I wanted to use this script on my site but because of some reasons I can't host the js and css file on my own site.
So I tried uploading the files onto a filehost and replaced the original script
<script style="text/javascript" src="file.js"></script>
with this
<script style="text/javascript" src="http://filehost.com/file.js"></script>
And it doesn't work.
So is there a way to load my js file from an external filehost and not from the localhost?
And if there is no way to do that, where should I place the script and css?
Thanks in advance!  |
|
| Back to top |
|
 |
|
|
rangana 500+ Club

Joined: 27 Feb 2008 Posts: 630 Location: Cebu City Philippines
|
Posted: Tue Jul 01, 2008 1:42 am Post subject: Re: Loading js file from a filehost. |
|
|
You can't host it? Weird enough for me to say.
Where do you host your page? You could have done it, ahm...indeed difficult to explain, what's your directory structure...we can't really help, not unless we're on your shoe. |
|
| Back to top |
|
 |
|