You are here: Re: Internal IFrame? « HTML « IT news, forums, messages
Re: Internal IFrame?

Posted by Anze on 10/19/05 21:22

> I thought that was the problem? Anyway, you could use php to
> selectively alter or remove those parts of the "data" that need to be
> adjusted before output. For instance, you could remove all the
> superfluous tags and their content. As for the css, that's what
> "class" was made for and you could even id certain elements if
> necessary. If this "data" is initially formatted as a complete html
> document, however, (-which I'm still not sure of), I'd probably write-
> out another file (via php) and address that.

OK, it seems I wasn't clear enough. :)

Yes, this is exactly the case - I have data, which is formatted as a
complete HTML document, that I want to display inside a document. I would
hate to write to another file though - there are privacy issues with that.
I could write another PHP that would serve just this content (and use
IFRAME to address it) - but it is a bit complicated for me to do so because
there are lots of checks involved.

Right now I output JavaScript code that prints this document as a popup, but
this is a bit annoying for a user - I would rather have this in a box
inside the current document.

Is there some way I can set IFRAME's contents via JavaScript? I tried using
innerHtml but it doesn't work with FireFox. Is there some other function I
could use?

Kind regards,

Anze

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация