================================================

Importing HTML and Scripts


A common Tech Support question we receive relates to
importing HTML and scripts to display counters, banners, site
meters etc. The IMS Text Editor can be used to import all kinds
of HTML and scripts provided you are careful and adhere to a
few simple rules. One of the most common tech support
problems we encounter is a result of importing Bad HTML,
incorrectly cutting and pasting  imported HTML or mixing
HTML and Rich Text.

Follow these suggestions when you want to Import HTML or
Scripts.
1. Always set the IMS Text editor to HTML mode through the
drop down box at the upper right of the editor window. It is
sometimes possible to mix Rich Text and HTML but it is not
recommended. We will talk about this in another news letter.
2. Use CTRL-C and CTRL-V to accurately copy and paste the
HTML you wish to import or import HTML from a file with the
Import HTML command in the File Menu.
3. Check that the HTML is valid. Imported HTML may not
include HTML or BODY tags since these are generated by the
IMS program. Most HTML tags have a closing tag associated
with them. If for example you import a form, you should see
both a <FORM> and </FORM> tag.
4. Most imported HTML Objects will have a fixed Width and
Height but can be positioned on the page like any other Object.
Use the top left corner to position the Object. Stretch the
bounding box to approximate the Object's size to help you
position it and nearby Objects..
5. Test your Page as soon as you have finished importing a
HTML Object. Look for errors and recheck your code if you
see any.
6. If your page includes HTML Objects and generates script or
HTML errors, try deleting the imported HTML Objects one at a
time while testing your page with the Preview command. If the
script error disappears, you will have identified the Object that
is causing the problem.
7. If your code includes a link or Image on an Internet site, keep
in mind that it will not work unless you are on-line when you
Preview.

As an example, you can get HTML code to add a site meter to
your web page. Visit the Site Meter web page.  
After filling out their brief registration you will receive the
necessary code in an e-mail. You would simply cut and paste
the HTML you receive into the IMS Text editor while in HTML
mode. Follow the steps above to ensure you do it right. Keep in
mind that the counter will not work unless you are on-line.

This is an example of the code you would receive. Do not use
this code since it is a meter for http://www.dhtlmvm.com

<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" --><a href="http://www.sitemeter.com/stats.asp?site=natjw" target=_top><img src="http://www.sitemeter.com/meter.asp?site=natjw" alt="Site Meter" nosave border=0></a><!--WEBBOT bot="HTMLMarkup" Endspan -->

Is2fig4




================================================
"IMS Web Tips" ISSN 1488-7088
© Copyright 1999 Virtual Mechanics
================================================

"IMS Web Tips" is a weekly news letter for all web site managers regardless of experience who are looking for detailed information on
creating, maintaining and promoting their web sites.

To subscribe send an email to tips@imswebtips.com with SUBSCRIBE
as your subject or visit the IMS Web Tips home page for subscription information and a list of past articles.
Home
Virtual Mechanics
Click here for a free WYSIWYG pixel precision HTML editor.
For the best in D HTML editors
Archive by Date
Archive by Topic
IMS WebTips