Posted by Anze on 01/04/24 11:29
> You ought to step back and re-evaluate your approach.
From the users' point of view this approach is very elegant so I wouldn't
like to change it. But I will if I have to, of course...
I'm building a newsletter. The users must have the option to review the mail
before it is sent out and it would be perfect if the HTML they preview is
completely identical to HTML that is being sent over e-mail (less chance
for error - people tend to be sensitive if they get ugly e-mails ;). The
only problem is that the page itself already has the CSS stylesheet - which
is different from what the newsletter HTML uses. So, iFrame would be ideal,
except that I have to feed it the content and not the name of the file that
serves the content (there is no such file and it would be difficult to
write one).
Is there some other way to display the content (whole HTML) inside the page
so it is completely independent of the main HTML page?
Right now I am using popup + document.write to achieve this, but it's a bit
cumbersome for usage...
Thank you!
Regards,
Anze
[Back to original message]
|