[Javascript] html in html display
Andrzej Wróblewski
alfwro at wp.pl
Sun Nov 3 06:32:39 CST 2002
Well - I'm affraid I using public acces server with no server-side
scripting.
I intend(ed ?) to create a page where user can choose the lay-out of
the page. Let's say I have 3 different lay-outs and the raw text as a
html and now it would be nice to put it all together.
I know the simplest way is to divide page into a several frames but I
don't like the way the scrollbar is display in a frame.
Thanks for your fast answer
Andrzej
On 2 Nov 2002 at 23:28, Peter Brunone wrote:
>
> The simplest, most crude way would be to split your page up into several
> frames, and just put the document into one particular frame.
>
> If you're using Internet Explorer 4.0 and greater, you can use an iframe...
> or -- still in IE -- if the page is being served from the local machine
> (instead of a remote web server), you can use client scripting to access the
> FileSystemObject and document.write it.
>
> If these do not apply, then you'll need to use a server-side scripting
> engine (CGI/PERL, ASP, PHP, Cold Fusion, or something) to open up the file
> and insert it into the page before sending it to the browser.
>
> In short, you're probably not going to get this to work the way you want
> with just client-side JavaScript. If you let us know what kind of server
> you have, we can tell you which server-side languages you might use, but
> that is not really the subject of this list.
>
> Regards,
>
> Peter
>
> |-----Original Message-----
> |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
> |Behalf Of Andrzej Wroblewski
> |
> |Hi all javascript'ers
> |Well it's 5 AM and I still can't find the solution. Please
> |help.
> |Question:
> |I have a html document and in this document I need to
> |display another html doc. How to do this ???
> |I try document.open(url="doc.html"); but it won't work
> |
> |my e-mail: alfwro at wp.pl please send directly
> |
> |Thank U in advance
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
More information about the Javascript
mailing list