You could try creating your content and strings and passing it as a URL like
this:
data:text/html,<strong><h1><center>hello world</center></h1></strong>
or
data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2240%25%22%20fill%3D%22red%22%2F%3E%3C%2Fsvg%3E
I *believe* you can do this for any data type so you could handle images this way too - just be a
bit fiddly.
Callum.
I would like to use the Mozilla Active X control inside my application
in lieu of the MS web browser control. The major issue I have is how
to bundle the HTML/images inside my application. With the MS web
browser control, I could include the HTML/images as resources and use
the res: protocol. I don't see that this is possible with the Mozilla
Active X control.
The only option that I can see is to create a very simple and tiny HTTP
server and run it inside my application to serve up the HTML, images,
css, etc. I might be able to grab pieces from thttpd or some other
tiny server.
I'd be greatful for any thoughts or suggestions.
Thanks
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding