VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12[3] ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 05:21:54 10/17/99 Sun
Author: Webmaster
Subject: Re: How to load an external file in current document?
In reply to: Kevin 's message, "How to load an external file in current document?" on 10:07:44 10/14/99 Thu

Hi, Kevin.

Do you want to display the external html file in the same screen of the current html? There is a demostration at:

<a rel=nofollow target=_blank href="http://home4u.hongkong.com/entertainment/music/mpx/js/httpget/import1.htm">http://home4u.hongkong.com/entertainment/music/mpx/js/httpget/import1.htm</a>

and it is available for download at:

<a rel=nofollow target=_blank href="http://home4u.hongkong.com/entertainment/music/mpx/js/httpget/import.zip">http://home4u.hongkong.com/entertainment/music/mpx/js/httpget/import.zip</a>

It demonstrates how to get an external file by Java applet and pass the file content to JavaScript.

DHTML can alter the content of the current page, but not getting the whole file's content. For details, please read:

<a rel=nofollow target=_blank href="http://www.irt.org/articles/js106/index.htm">http://www.irt.org/articles/js106/index.htm</a>

Netscape Navigator supports a "include-source" CSS attribute that can import the whole file, but it is not supported by MSIE nor introduced by the W3C:

<a rel=nofollow target=_blank href="http://developer.netscape.com/docs/manuals/communicator/dynhtml/layers32.htm#1039210">http://developer.netscape.com/docs/manuals/communicator/dynhtml/layers32.htm#1039210</a>

Also, server-side operation, such as CGI, can combine 2 files and display the result to client-side.

Hope this help.

Thank you for your visit.



>
> Hello,
>
> do you know how to load an external html into
> current html file ?
> could you help me? thanks a lot
>
> Kevin

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.