Place the insert code into the body section of a new page, where you wish text to first appear. You can even put it within a table cell or div tags if the design or your web page requires it.
Just copy the javascript code into your Wordpad, Notepad or the code-editing mode of an HTML-editing program.
Do not drop this code into an editor in WYSIWYG-mode - it must be added directly to the base HTML source code. Otherwise, the editor may convert < > angle bracket tags into visible characters, rather than leaving them as control characters; then of course the insert will not work. Note that Frontpage may attempt to make later changes to a page, and replace double quote marks" with the replacement coding ", thereby preventing the insert code from working.
Once you have pasted the code into your text editor, save the file with the name yourpage.html (replace the word yourpage with the name that you want to give to this new file.
Use your normal navigation links and other standard headers/footers on your page. None of our own navigation bars or footers will appear on your page - only the main page content. It will be your page!
Ensure that the first line of the javascript code, as far as as type=text/javascript, is all on one line within your page.
If you want the links from this page to open in a new window, so that visitors never completely leave your site, you can do it adding target="_blank" to each one of the links:
I.e. If you want the following link to open on a new web page:
href="http://www.easy-home-business.com/index.html">Index</A>
All that you have to do is to modify it like this:
href="http://www.easy-home-business.com/index.html" target="_blank">Index</A>
However, we do not really recommended opening links in a new window, because it can be confusing for some web users. If you feel you must use this feature, add at the top of your page a clear explanation that external links open in a new window.
The insert page will follow your own page's style sheet if you have one (which is highly recommended).
Please do not hard-copy the entire contents of any or our pages onto your site, for these reasons.
Text generated by Javascript is invisible to Search Engines, so there is no danger of your site having its ranking penalized for carrying near-identical content to other sites.
Note that the insert code only works properly online. You cannot fully test a page's appearance on your hard disk.
You can insert on your site as many of our web pages as you like, just copy the Javascript codes that appears at the end of each web page, paste it onto new pages, and then include them in your own links menu or navigation bar.
Page loading graphic
These Javascript-generated pages may load slightly more slowly than a normal page. If, after testing, you find a noticeable delay, you can display a small graphic which reassures people that the page is loading.
To do it copy and paste the following HTML code immediately after your page´s body tag.
<TEXTAREA class=text style="FONT-SIZE: 100%" name=txt1 rows=1 readOnly wrap=VIRTUAL cols=30> <TEXTAREA class=text style="FONT-SIZE: 100%" name=textarea rows=1 readOnly wrap=VIRTUAL cols=30>
<TEXTAREA class=text style="FONT-SIZE: 100%" name=textarea rows=1 readOnly wrap=VIRTUAL cols=30><div id="waitDiv" style="position:absolute;left:20%;top:20%;visibility:hidden"><center>
<table cellpadding=4 border=2 bgcolor="#FFF7CC" bordercolor="#000000"><tr><td align="center">
<small>La página se está cargando...</small><br><img src="http://www.drbonomi.com/imagenes/x_lineacurta.gif" border="0">
</td></tr></table></center></div>
<script language="javascript" type="text/javascript">
<!--
var DHTML = (document.getElementById || document.all || document.layers);
function ap_getObj(name) { if (document.getElementById) { return document.getElementById(name).style; } else if (document.all) { return document.all[name].style;
} else if (document.layers) { return document.layers[name]; } } function ap_showWaitMessage(div,flag) { if (!DHTML) return; var x = ap_getObj(div); x.visibility = (flag) ? 'visible':'hidden'
if(! document.getElementById) if(document.layers) x.left=280/2; return true; } ap_showWaitMessage('waitDiv', 1);
//-->
</script>