Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server response script not including images?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00988717
Message ID:
00988727
Vues:
56
I am using a vfp mtdll to return html. The html image "src" references gifs in a subfolder using relative path src="images\image1.gif".
>
>In the method, prior to the vfp FILETOSTR() that packages the html, I have set path and even the "no=no" CD to the path. But the gifs do not appear.
>
>When I slect the page with explorer - it is presented in IE with the images. I am not allowed to modify the content.
>
>How can I get the "src"`ed images to show up on the response page?



I am trying to fire it from a javascript radio button onclick. A foxISAPI/MTDLL assembles and returns the script. If I substitute the "raw" URL for the "page" that foxISAPI/MTDLL returns the gifs are included.

This javascript returns the page without the gif images:
{window.parent.frames("Content").document.location.href="http://localhost/scripts/xISAPI.dll/myCOM.myClass.GetFirstContentPage";}

This returns the page and gifs:
{window.parent.frames("Content").document.location.href="http://localhost/scripts/content/content1/myHtml.htm";}
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform