
Dave
Staff
/ Moderator

Jun 10, 2002, 8:07 PM
Post #2 of 6
(5185 views)
Shortcut
|
|
Re: [cornish] DHTML on the search template
[In reply to]
|
Can't Post
|
|
Daniel, It's probably something to do with relative paths. What is probably happening, is that your DHTML is looking for a file in the current directory (the same directory all your other html files are in). When it's called from your regular HTML files it finds the include file in the same directory but when it's called from the /cgi-bin/am/ folder it's looking for the same file in /cgi-bin/am/, but can't find it. Check if the DHTML refers to a javascript (.js) file in the current directory (eg: src="file.js"). If you see anything like that, replace it with a full, absolute path like this (http://www.yoursite.com/file.js) or just ("/file.js"). If that doesn't work, post a link to a broken and working DHTML page and we can take a look. Dave Edis - Senior Developer interactivetools.com
|