Iframe - Text file data

A

avi.craigslist

I have an iframe that currently grabs an html document, however, the
look doesn't work well with the webpage (the background). I would like
it when the person clicks the thumbnail the text that appears below is
received from a text file. Since there are multiple thumbnails I
should be able to call the data from a specific line. If I need to
create a text file for every thumbnail, then that is ok also.

The link is http://www.hagitreem.com/ It is in Gallery. I am
referring to the iFrame on the bottom. Some of the code is:

The code that is clicked on:

<td width="86" height="59"><a href="gallery/bridgite1.jpg"
target="detailsb"
onClick="document.details.location='gallery/bridgiteinfo.html'"><img
src="gallery/bridgite2.jpg" alt="" width="77" height="77" border="0"
style="filter:alpha(opacity=60)" onMouseover="high(this)"
onMouseout="low(this)"></a></td>

The iFrame where the data is shown:
<iframe src="gallery/genericInfo.html" name="details"
align=right WIDTH=100% HEIGHT=80 frameborder="0"
scrolling="no"></iframe></td>

I would like for "genericInfo.html" to be replaced with data (from the
text file). I would also like the "001info.html" to be replaced by the
data from the text file.

Again, I woule prefer one (or two) text files, but if the solution
requires a text file for every image, then so be it.


Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top