hey everyone,
i was wondering if there's a way to import an html file, for example a file that has photoskim preview, into html, and view it as if it was part of the original html? could it even be done without using iframes?
hey everyone,
i was wondering if there's a way to import an html file, for example a file that has photoskim preview, into html, and view it as if it was part of the original html? could it even be done without using iframes?
Not without the help of Javascript or PHP.
With Javascript, you can create a JS file and use the following code where you want the file to be placed in:
<SCRIPT LANGUAGE="JavaScript" SRC="../../unavailable.html"></SCRIPT>
In that file, it will need to be written in Javascript. If it's a simple HTML document you can wrap the document with
document.write('{HTML CODE}');Each line will need to be wrapped in this individually, otherwise it will not work.
Remember, that if anywhere within the wrapped text, if you have a comma ('), you need to have a forward slash () before it (').
If you have access to PHP or ASP, I would strongly suggest taking advantage of their capabilities.
hey guys,
thanx for all your help. i figured out what was wrong with my script(finally) so i no longer need to import other html files
thanx for all your help