When your readers want to have their own hard- or soft-copy of your document, you have already halfway won. So, you should make that as easy as possible, even invite them to take a copy! This article will show you some ways to do that.
When your readers want to print out or download your document - that's about the best that you can hope for! Obviously, they found it interesting - expecting that they would like to refer to it again, some time later.
Alas, some publishers have not yet realized what an edge that's giving to them. (A rather deterrent example might show you what I mean click here! [+] )
As an online communicator, you need more than just a good technical understanding . Even more than some language skills . You should also have some gut feeling of your readers - what they will be interested in, and how to present it to them.
To invite your readers not only for reading but also for printing out or downloading your articles, that's much more than providing online a PDF-version of a print document. That's neither fish nor flesh. Moreover, it's taking ages to download it - perhaps only to see that it's not what you expected!
In this article I will show you a number of things to do that, thus fostering a loyal community among your readers. Let them feel, they can have your documents at their full disposal, anytime and anywhere !
Presenting an online document such that it is easy to take a
Yes, it is. Don't forget - the purpose of Online Communication is to get across information that is relevant also beyond the time when the readers are sitting at the computer.
Let's take it simply quantitatively: The real
Things being as they are - there is still nothing better to make an information available anytime and anywhere than that 500 years old technology of printing it to paper.
So there is a good reason why you should make sure that your online documents are easy to print to paper. Still comprising as much information as possible.
| E | Before uploading an online document to your web site, you should try to print it out on your own computer. How does it look? Assumed, this document would be completely strange to you: Is there anything you would feel irritating? If so, you should change it before uploading! |
Of course there are some restrictions you just can't avoid. Yet, at least you should be aware of it. For example:
Click the list item you want to know more about!
One major difference of Online Communication compared to writing on paper is the limited screen size. As a consequence, you need to deeply structure your subject (see this section in my article Online Communication: Unlike Writing on Paper!
Structuring, that means breaking down your subject into parts small enough as to fit into one screen. Of course, this will be possible only for elementary information . Broader information should be presented in form of a list, with each item being about the title of a
Reasonably, the
When writing on paper, one page can comprise much more information than one screen. You can simply say something like "see above" and rely on that your reader will easily figure out what you mean.
In Online Communication, you should provide a hyperlink to a bookmark, suitable for scrolling to the place you refer to. You can even link to a specific place in a separate document. (You want to know how? Click here [+])
Printing is the best that you can do to make an information available when you are away from the computer - as you are today for a substantial part of your time.
But let's think ahead now: In the near future, you will probably have a computer right at hand most of your time awake. Though it will hardly be anything you would perceive as a "computer". (See Future Outlook) Then storing online information could become even more important than it is today.
Storing an online document preserves much of its structuring, interactivity, etc. Yet there are also some things you should be aware of, if you want to make your documents easy to consume. (Probably this will be reading , most of the time. But hearing and other senses might become relevant, as well.)
Examples of the things to remember:
Again, click the list item you want to know more about! And don't forget: Try it Yourself: Download this Article!
Click the list item you want to know more about!
When clicking File -
Files accessed within window.open are not stored automatically.
Therefore, if you have an image that you feel it should be presented in an extra window, you better code it as e.g.
| E | href= of the <A> tag and src= of the <IMG> tag refer to the same image file. Thus that file is downloaded only once, the user has it available in its total size right after downloading. The <IMG> tag presents it in thumbnail size (therefore attributes width= and height= ). By attribute target=_blank in the <A> tag it is displayed in an extra window when the user clicks the thumbnail. |
In addition to static images (format jpg , gif , etc.) recently newer, dynamic images such as Macromedia or Shockwave Flash ( swf ) and others have been adopted.
That's fine, only - they are mostly handled like "something completely outside" of what we are used to. With the effect that online documents with such embellishments.
In fact, they should be handled just like the well-known static images of type jpg or gif . The coding could be quite the same, with the only difference that there is " swf " in place of " jpg ". Then the Flash-images would be stored automatically and could be called from the
| E | For the <IMG> tag it will still be useful to display a jpg or gif thumbnail, taken as a still photo from the moving Flash . |
| E | It might be a good idea to tell the users to associate the file type swf with the Internet browser, if this hasn't been done yet. (Currently, this is no default yet.) So you should recall that to their mind, somewhere near the thumbnail. How to associate a file type with an application, you can read in my article ...: Associate A File Type! |
Frequently, when you download an online document and try to activate the local copy, you get an error message like this:
When you overcome your frustration and look more closely what happened, it turns out:
function OpenWindow(url) { window.open (url,
); }
function OpenWindow(url) {
if(url.indexOf('http:')!=-1) // additional code line
window.open (url,
); }
However, the publisher of the document just didn't realize that anyone of the readers might find it so interesting to take a copy of it. He/she had simply taken for granted that this document would be a part of the web site forever!
Otherwise the publisher would have provided that simple code line if(url ) Just a trifle, but overlooking it might pose a major obstacle towards the readers' loyalty!
One problem you find at many web sites is that they have been implemented with obviously just one browser in mind: the own one . Everything looks perfect if you your browser has exactly
If not,
That's even the more irritating since HTML offers all kinds of flexibility. Most of these restrictions are not necessary if you
To you, the author, your document seems quite unique. To your readers, however, your document is just one among many (perhaps thousands) of similar documents.
So, when they are downloading and storing your document, you should make it easy to your readers to store it in an organized way, in any kind of data base . Such that they will be able to retrieve your document easily among thousands of others. Even at a time when it is long since they stored it, when they might have forgotten already that they have it in stock.
Therefore, the author of an online document should remember to add some things to his/her brainchild that are easy to overlook when writing a paper document:
| E | A good place to look for meaningful keywords are the titles of your document, words marked somehow (bold, italic, etc.), or capitalized words. In short, words that a |
Perhaps you don't want to look like a
A simple, not too blatant means to do that is a badge "Copy-friendly!" somewhere near the beginning, right on the first screen.
If you want to provide some additional information what this means, you can make that badge the anchor of a TempInfo giving some details. (Look at the first screen of this article, how I did it!)
We want a Flexible Section Break to be easy to handle by one code line only:
E What if(athome) is good for, see section Flag athome
This can be implemented as a <DIV> with CLASS="ScreenOnly" that is normally visible. Only for printing its display is temporarily switched to 'none' So it could be coded as follows:
In JavaScript this could be done by
In JavaScript, an impending printing can be detected by testing for event onbeforeprint .
When the printing is over, an event onafterprint is created.
These events could be intercepted by coding the BODY-tag as follows:
E OnBeforePrint() and OnAfterPrint() are two JavaScript functions to switch the DIV's display off and on again. See next sub-section .
A more efficient method, however, is to assign these functions to the events right within another JavaScript function (e.g. SectionMenu Thus it is done sort of "automatically": You don't have to remember that complicated <BODY> tag when writing your online document. This is done by:
E Notice that both functions must be coded without () here. The reason is that their entry point addresses are assigned to the events, not their return values .
You will remember that in a previous section all section breaks have been declared with CLASS="ScreenOnly" . Thus we can easily sort out all of these objects:
E You better don't test for obj.className=='ScreenOnly' but forobj.indexOf('ScreenOnly') . Then this class can be combined with any other class.
So both functions could simply be coded as follows:
<SCRIPT>
function OnBeforePrint()
{ for(i=0; obj = document.all(i); i++)
if(obj.indexOf('ScreenOnly')!=-1) obj.style.display = 'none';
}
function OnAfterPrint()
{ for(i=0; obj = document.all(i); i++)
if(obj.indexOf('ScreenOnly')!=-1) obj.style.display = '';
}
</SCRIPT>
Flexible Hidden Text is, in regard to printing, just the inverse to Flexible Section Break . However, it is also to be become visible when the readers are clicking its anchor. Therefore we need a unique identifier, so we have to banish the mark ( TempInfo ) into the CLASS name.
Thus we arrive at the following code:
<DIV ID= CLASS="TempInfo" STYLE="border: "> : temporary information : </DIV>
We can simply handle TempInfo by the same functions OnBeforePrint and OnAfterPrint So we need the same code as with Flexible Section Breaks (see this section):
So we decided to integrate the handling of Flexible Section Breaks and TempInfo in the same functions OnBeforePrint and OnAfterPrint
Thus we arrive at the following coding scheme:
<SCRIPT>
function OnBeforePrint()
{ :
:
for(i=0; obj = document.all(i); i++)
if(obj.className=='TempInfo') obj.style.display = '';
}
function OnAfterPrint()
{ :
:
for(i=0; obj = document.all(i); i++)
if(obj.className=='TempInfo') obj.style.display = 'none';
}
</SCRIPT>
We want our online document to behave differently according to its location. But in the first place it should adapt itself to the browser. Notation:
On screen it should be:
| Browser | Location | SectionMenu | SectionFooters |
|---|---|---|---|
| Internet Explorer (IE) | at home | full (top right corner) | wide empty section breaks, |
| else | default (top center of screen) | no section breaks, |
|
| Netscape etc. (NS) | at home | default (top center of screen) | no section breaks, but |
| else | default (top center of screen) | no section breaks, no links "previous", "next", "top" |
In print it should always be (under any browser): default SectionMenu , no section breaks, no hints/links, but:
else: Temporary Information remains hidden.
(If you have information that should be included in print, too,
don't make it a TempInfo but move it to an appendix.)
If the right
This is the typical situation calling for Exception Handling :
In JavaScript this is done by
var athome = true;
try { SectionMenu(
) }
catch(x) { athome = false; }
| E | x can be any identifier (any sequence of a-z, A-Z, 0-9, _, starting with a letter or _ ) It is for syntax only, so it doesn't need to be declared. |
If calling a
When the document is launched at different locations, it should behave differently (see Appendix 3). Thanks to flag athome it is easy to implement that.
One step we did already by testing for if(athome) before each call of SectionFooter (see previous section)
But we can use that flag also for suppressing the default SectionMenu whenever the full
Now, whenever we are athome and launched by an IE-browser, the default SectionMenu is hidden a moment after having been displayed (i.e. unnoted by the reader), giving way to the full IE-SectionMenu .<DIV id="NS"> : default SectionMenu : </DIV> <SCRIPT>if(athome && document.all) NS.style.display='none';</SCRIPT>
If you want to give your document an additional glazing, you can provide a section that will be visible only on screen or only in print.
An example of screen-only is the badge "Copy-friendly!" at the beginning of this article, that would evidently not be in place for printing.
An example of print-only might be a Table of Contents that would make sense in print only. On screen there is always a SectionMenu with links to the respective section.
You can do that simply by including the
<DIV CLASS="ScreenOnly" > : screen-only information : </DIV> |
<DIV CLASS="PrintOnly" > : print-only information : </DIV> |
| E | The " " in this coding scheme indicates that you can add any number of other attributes to this </DIV>, as you like. |
| E | TempInfo , ScreenOnly and PrintOnly information will be faded in/out everywhere - not only athome - if you declare functions OnBeforePrint() and OnAfterPrint() locally. |
In the foreseeable future Online Communication in general, notably the aspect of reader friendliness , will probably come to much more significance than it seems today.
Today, computing is perceived as something still being apart from everyday life. After all, you really have to have some training to cope with a computer. To get out of it more than just the basic things, you can't get away from some programming. Mainly the elder people still have their problem with it.
In a few years from now, computers will be so ubiquitous that you will hardly know wherever in your daily life there is one. In a few years, by the advent of
Online communicators will be the ones responsible for presenting contents
in a way that it is "nothing special" to get to know them.
Part of an online communicator's job will be to present contents such that it is just 1, 2 clicks (or simply finger tapping) to get out any information that is in there. Online as well as offline .
Article by Gunter Gerdenitsch, international IT-specialist with focus on Communication. IT service providers - looking for a freelancer for peaks in your workload, want to get your ideas across? Then you should visit http://www.ITspecial.org or mail to gg@ITspecial.org ------------------------------------------------------------------------------------------------------------------------- This article is free to be re-printed, if complete with this resource box. It can be included in a web site if the URL mentioned above is linked to www.ITspecial.org. |
|
| Keywords: | copy-friendly, hard copy, soft copy, printing, storing, Flexible Section Break, Flexible Hidden Text, auto-adaptive, TempInfo, PrintOnly, ScreenOnly, JavaScript, Exception Handling |
| Word count: | 4735 |
| File size: | 69kB |