Page 1 of 1

External Javascript

PostPosted: Fri Aug 17, 2001 7:55 am
by Brandon
Hello guys and gals,
I am having trouble loading an external JavaScript. The script is located
out of the main ShopSite directory, so I'm guessing it is an access
violation, or can't see outside of the main directory. Is there a way to
store external.js files inside shopsite? Or will I have to check the server
file access settings? thanks in advance - themobilemaster

Re: External Javascript

PostPosted: Fri Aug 17, 2001 9:31 am
by loren_d_c
You could upload it through the Images area of ShopSite. The url would be
[your_output_url]/media/yourjavascript.js

-Loren



Brandon wrote:

Hello guys and gals,
I am having trouble loading an external JavaScript. The script is located
out of the main ShopSite directory, so I'm guessing it is an access
violation, or can't see outside of the main directory. Is there a way to
store external.js files inside shopsite? Or will I have to check the server
file access settings? thanks in advance - themobilemaster

Re: External Javascript

PostPosted: Mon Aug 20, 2001 3:47 pm
by Phil
Hi Brandon,

We are using a remote js script for our dropdown box with no problem.


<SCRIPT language=JavaScript
src="http://www.nutrition-center.net/store/script1.js"></SCRIPT>
</HEAD>

We have this tag on all of our templates.

Are you sure it's set up right.
You can look at our source code if you want.

http://www.wholesale-nutrition.com

Thanks,
Phil


Brandon wrote:

Hello guys and gals,
I am having trouble loading an external JavaScript. The script is located
out of the main ShopSite directory, so I'm guessing it is an access
violation, or can't see outside of the main directory. Is there a way to
store external.js files inside shopsite? Or will I have to check the server
file access settings? thanks in advance - themobilemaster