Problems with loading external pics into an IFrame
While I searched your site to find the solution to my problem, I haven't found any, which prompted me to email you with the issue at hand:
Brief: I have an employee directory that is loaded into a table (dynamically). I also have a picture stored in a folder (same root) that with FSO will "push" a camera icon to link to that employee's picture, if there is a picture. So far, so good.
On the page with the dynamic table I also have a Floating <Iframe> with images of all employees scrolling side to side (Slide show effect)
When the end-user clicks on the camera icon (in the dynamic table) that employees pic should replace the slideshow but instead the picture relaces the whole page instead of loading into the IFRAME. ?!
Here's the chunk of code that calls the Floating IFrame:
var iframetag='<iframe id="masterdiv" name="masterdiv" src="../people.htm" width="101px" height="150px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="no" style="position: absolute; left: -500px; top: -500px; border:8px solid #336699;"></iframe>'
Here's the code calling the camera icon (if there is a corresponding picture in the image folder)
If (fso.FileExists(strpath)) Then%>
And here's my changePic function: