HTTrack Website Copier
Free software offline browser - FORUM
Subject: javascipt and missing images
Author: Dan
Date: 12/20/2002 21:45
 
Here is a problem I think I didn't have when I started 
using Httrack:

As an example, at the end of the capture of 
<http://exercices.free.fr/francais/>, here is the code in the 
page exercices.free.fr\francais\lecture\index.htm

<a href="reperage/lectrep10.htm" 
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage
('Image11','','../../img/boules/clic.gif',1)"><img 
name="Image11" border="0" src="../../img/boules/10.gif" 
width="36" height="31"></a><a href="reperage/lectrep11.htm" 
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage
('Image12','','../../img/boules/clic.gif',1)"><img 
name="Image12" border="0" src="../../img/boules/11.gif" 
width="36" height="31"></a>
etc...

The images are downloaded, except 
exercices.free.fr\img\boules\clic.gif. Thus the mouseover 
doesn't display the image (the relative link is OK and 
everything works fine when the missing image is copied in 
the local site). Some time ago, I think the link was 
transformed in an absolute link -it was a problem too- when 
the image was not downloaded. 

Same problem with this javascript image loading in 
www.extremeworld.com :
var photos=new Array()
var text=new Array()
var which=0
var what=0

photos[0]
="../../images/attractions/bungee_jump/bounce_from_front.jpg
"
photos[1]
="../../images/attractions/bungee_jump/cage_exit_girl_2.jpg"
photos[2]
="../../images/attractions/bungee_jump/cage_exit_girl.jpg"
photos[3]
="../../images/attractions/bungee_jump/cage_exit_guy.jpg"
photos[4]
="../../images/attractions/bungee_jump/deck_and_cage.jpg"
etc
where the images are not downloaded while links are all 
right. 
 
Reply


All articles

Subject Author Date
javascipt and missing images

12/20/2002 21:45
Re: javascipt and missing images

08/15/2007 21:07
Re: javascipt and missing images

08/15/2007 21:38




6

Created with FORUM 2.0.11