External Javascript

This is an archive of old posting to the User Forum

External Javascript

Postby Brandon » Fri Aug 17, 2001 7:55 am

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
Brandon
 

Re: External Javascript

Postby loren_d_c » Fri Aug 17, 2001 9:31 am

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
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: External Javascript

Postby Phil » Mon Aug 20, 2001 3:47 pm

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
Phil
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 1 guest