HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Bug in java script path
Author: Xavier Roche
Date: 08/15/2003 22:00
> I am doing maintence on a browser for a client and use 
> HTTrack to copy sites to my disk so that I can cut the 
> content down to issolate the bug.  Your tool is very 
> helpful.  When I downloaded the site 
> <> I found that it was not 
> finding the primary CCS file, which was selected by 
> js_scripts/green/browser_sniffer.js.  The problem was 
> the path to the actual css file, css/green_xxx.css, in 
> browser_sniffer.js was incorrect.  The path was relative 
> to browser_sniffer.js rather than from the index.html in 
> Passiosns.  I fixed this path and the page displayed 
> correctly (in IE).

Which version did you try? The recent 3.30-rc releases did 
fix a bug related to javascript path ; I couldn't reproduce 
the issue using latest RC builds:

- In the index.html file I get:
<script language="javascript" 

- And in the js file I get:
document.write('<LINK rel="stylesheet" type="text/css" 
name="ie" href="css/green_ie.css">');

Which seems to be correct ; as the path in the js file is 
relative to the parent path (that is, /nbc/Passions)

Reply Create subthread

All articles

Subject Author Date
Bug in java script path

08/15/2003 19:59
Re: Bug in java script path

08/15/2003 22:00


Created with FORUM 2.0.11