Display HTML page on notes form using img src tag

I have a notes form and would like to display an html page on the form using img src tag passed through as html… My reason is that the html page will be live data and will be updated to the file system when it changes so I want the form to always display the current version of it. I will have a refresh icon on the form so that users can update to the current data if they are waiting on the live feed to change.

my code is:

The html file is located in my data directory. I can use URL string and hit it just fine but it displays as a broken link on my form using the img src tag. Any suggestions?

Thanks!!!

Tammy

Subject: Display HTML page on notes form using img src tag

I don’t believe you can put an .htm file in an IMG tag unless it actually is an image. Perhaps an iframe is what you are wanting to use, though I don’t know if Lotus 7 supports them (I use 6.5).

Subject: RE: Display HTML page on notes form using img src tag

Does iframe display inline an .htm file? If so, would you mind providing an example of code so I can play with it? Thanks!!!

Tammy

Subject: RE: Display HTML page on notes form using img src tag

An iframe will display an html page inline, assuming that lotus supports it.

Subject: RE: Display HTML page on notes form using img src tag

I found some code to play with and it does display html inline like I want but now I have another issue. If I delete and replace the html file in the file directory and refresh the browser, it doesn’t update.

Does anyone have any suggestions on how to accomplish this task of posting refreshed html page inline on a page or form???