calvinc
Junior Member
Posts: 5
Registered: 8/12/2005
Member Is Offline
|
| posted on 8/12/2005 at 03:33 PM |
|
|
Path Problems
I cannot get Scroller PRO to work - I believe due to path problems.
Directory Structure:
/
/scrolling_news/
/scrolling_news/images/
/scrolling_news/s0_data/
/scrolling_news/tsp_files/
scroll.js has the following line:
var TScroll_path_to_files 'scrolling_news/tsp_files'
The calling file /index.php has the following lines in the <HEAD> section:
<script language="javascript" src="scrolling_news/tsp_files/scroll.js"></script>
<script language="javascript" src="scrolling_news/tsp_files/scroll.tpl0.js"></script>
<link rel="stylesheet" href="scrolling_news/tsp_files/scroll0.css">
I have the original (Sample 4) index.html file in the /scrolling_news/ directory and it works fine. However, when I call it from the (root dir)
/index.php, it does not work. IE6 says "Error: access is denied" on line 16 character 1194 (line 16 is a blank line after the '<link
rel="stylesheet" href="scrolling_news/tsp_files/scroll0.css">' line)
What am I doing wrong?
Regards,
Calvin
EDIT: The only way I could get it to work was to move all the sub-directories from the 'scrolling_news' directory into the root directory (which
isn't really what I wanted) and removing all references to the scrolling_news directory in the paths.
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/13/2005 at 04:11 AM |
|
|
First try replacing
var TScroll_path_to_files 'scrolling_news/tsp_files'
with
var TScroll_path_to_files = 'scrolling_news/tsp_files/'
Note equal sign and slash at the end.
then if nothing helps try absolute paths
var TScroll_path_to_files = '/scrolling_news/tsp_files/'
and the same in the file links in your HTML file.
|
|
|
calvinc
Junior Member
Posts: 5
Registered: 8/12/2005
Member Is Offline
|
| posted on 8/19/2005 at 12:02 AM |
|
|
I have gotten the scroller PRO to work - sometimes!
When you browse to this page it sometimes works and sometimes doesn't. I still get the Error: Access is denied message in IE6. It is funny because
I can browse to the page and it gives the error, but if I refresh or go somewhere else on the site and then come back, it works.
To review, go to http://www.miningreference.com
Thanks,
Calvin
|
|
|