m*****y 发帖数: 120 | 1 How I can let a html file to display the content of a plain text file?
Of course, I do not want to copy the text file into the html.
For example, under one foloder, two files:
aaa.html
bbb.txt
So how can I: when each time I open aaa.html, it can call and display the
content of bbb.txt?
(Something like for photos: )
Thanks a lot. | c***r 发帖数: 4631 | 2 you can try iframe.
【在 m*****y 的大作中提到】 : How I can let a html file to display the content of a plain text file? : Of course, I do not want to copy the text file into the html. : For example, under one foloder, two files: : aaa.html : bbb.txt : So how can I: when each time I open aaa.html, it can call and display the : content of bbb.txt? : (Something like for photos: ) : Thanks a lot.
| g****c 发帖数: 299 | 3 javascript can do it too
【在 c***r 的大作中提到】 : you can try iframe.
| g****n 发帖数: 3370 | 4 or "include" in SSI.
【在 g****c 的大作中提到】 : javascript can do it too
|
|