Hi,
I’ve embedded HTML code to look up virus info in a teamroom document. When i open the document using the Notes Client i only see the code but it is not running the code. When i open the same document with a web browser the code is running perfectly. Is there a way to have this code running in a Notes client also.
I’ve already selected the “pass thru html” option for the code lines.
With many thanks
Laurens.
Subject: Running HTML code in document
You also need to select “Render passthru HTML in Notes” on the Form properties. Keep in mind that this will be translated to Notes CD (rich text) format for display – it’s not “real” HTML, and will not do everything you might be expecting it to do.
Subject: RE: Running HTML code in document
Thanks for the feedback. I changed the setting in the form design but still it refuses to run the code while opened by a Notes Client. This is the simple html code that i use to test. Maybe it must have special tags or so.
test
</body
With many thanks.
Laurens.
Subject: RE: Running HTML code in document
You can’t use the or tags, since you’re already in the “body” of a virtual “html document”.
Subject: RE: Running HTML code in document
I’m sorry but i don’t getting it. Here’s is the code that i like to run when i open the document through a notes client. It’s code that gives me in a table the top ten virus threads. As i already said, the code runs when i open the document with a web browser but it does’nt run in a notes client. I just see the code and that’s all. The code is just copy/pasted in a document.
Many thanks.
Subject: RE: Running HTML code in document
That can’t be translated to Notes CD format (it’s not HTML, it’s JavaScript that writes HTML to a document). Anything that is translated is not HTML after translation – there’s no dynamic document object for you to modify. Simple HTML gets translated to Rich Text at document open, and cannot be changed via JavaScript.
Subject: RE: Running HTML code in document
Thank you Stan for your answers. Your a real expert. Maybe you know an other way to run such applications from a document.
Subject: RE: Running HTML code in document
Why not open a real HTML document into a frame in the client?