Board Logo

Setting the correct path
headbump - 8/26/2004 at 07:30 PM

IT's me again...I'm having trouble getting my box to show up anywhere but inside the tigra_scroller_pro folder in the root of my site, can someone help me to get my settings right?

The path to the js files in my page is <script language="javascript" src="tigra_scroller_pro/tsp_files/scroll.js"></script>
<script language="javascript" src="tigra_scroller_pro/tsp_files/scroll.tpl3.js"></script>

This page sits one directory up from the tigra_scroller_pro folder and inside that folder, in the tsp_files folder, the scroll.js file has this as the path to the the files as this: var TScroll_path_to_files = 'tsp_files/'

The Base href inside the content file is ../

Any suggestions?

Thx,
a


rock - 8/27/2004 at 01:43 PM

var TScroll_path_to_files should refer the path to files relatively the page where scroller's constructor is called. In your case:

var TScroll_path_to_files = ''tigra_scroller_pro/tsp_files/'


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/