606646
17
Zoom out
Zoom in
Previous page
1/58
Next page
KompoZer User Guide 17 December 2007 Based on version 0.7.10 17
3.9 Forms
3.9.1 Introduction
Forms provide a mechanism by which a visitor to a
site may send data to as sever for processing. This may
be as simple as a box to write a message for e-mailing
or as complex as looking up items from a catalogue
and sending an order to a supplier. Forms collect data
typed in or collected from check boxes or lists and
pass them to the server. It follows that forms can be
used only in association with compatible software
running on the server.
Forms may be placed on standard web pages and
act as block level elements. In normal view KompoZer
shows forms surrounded by a dotted cyan box. Forms
may contain other standard block level elements
(paragraphs, headings …) as well as several specific
elements known as ‘form controls’ which are designed
for data collection. Since these form controls are es-
sentially inline elements they must be laid out inside
block level elements (typically paragraphs though divs
would be equally suitable).
Each item of data sent to the server is tagged with
information about which control has sent it. This is
done by naming each control. Thus designers must
give a unique name to each control to be used.
The data collected by a form will be sent to a URL
specified in an element ‘action’ which KompoZer will
add to the form. This URL is often on the server that
hosts the web page but does not have to be. The data
will be processed using one of two methods known as
‘GET’ or ‘POST’ which also need to be specified. These
details will be available from the provider of the asso-
ciated software.
3.9.2 To set up a form
1 Click the form button.
2 In the Form properties window give the
form a name of your choosing
3 Complete the Action box with the correct URL
and select the appropriate method
4 ‘Encoding’ and ‘Target Frame’ will frequently not
be required but, if they are, select ‘More Proper-
ties’ and complete the boxes
5 Click OK
6 On the form place any headings, paragraphs and
images ensuring that there is a placeholder for
any controls needed. (If blank placeholders are
needed it is probably sensible to put some dum-
my text in now and delete it later.)
7 Where controls are needed click the correspond-
ing placeholder and using the drop down box
beside the Form button select the required con-
trol
8 Give each control a unique name
9 Each control has specific information which
needs to be entered. Enter it into the box in the
window which appears
Note Since this is a guide to using KompoZer
and not to designing forms this is as far as we
go.
3.9.3 Form control styles
If the standard form styles do not appeal it is
possible by the use of styles to customise them to
personal preferences. For those familiar with using
styles some specific details are given in section 4.2.5.3.
3.10 Layers
3.10.1 What layers are
One of KompoZer's ‘Tip of the day’ says “Did you
know that ... you can move elements? Just place the
caret in the block you'd like to move and click once on
the Layer button to make the block movable.”
Items forming layers are taken out of the normal
document flow and placed in positions defined on the
page absolutely e.g. in positions fixed relative to the
page boundary.
While layers introduce a level of flexibility to page
design they also involve complexities that newcomers
may wish to avoid. This section is therefore for those
who wish to delve further.
3.10.2 Creating layers
To create a layer.
1 Click in the block that you want to format as a
layer.
2 Click the layer button on the Format (2)
toolbar.
The block becomes a ‘Layer’. Layers have
sizing boxes which allow the size to be altered. At the
top of the layer is a positioning handle (denoted by a
four-way arrow). To move the layer click and drag the
handle.
Layers do not have to consist
of a single block – any sequence
of elements that can be selected
together can be converted into a
layer. This may be several para-
graphs with or without head-
ings, images and tables.
Layers allow items to be
placed on a page so that the absolute position, relative
to the page, is defined. This provides a facility common
in drawing and desk top publishing programs and
allows items to be overlaid on top of each other. As
such it is a very powerful tool.
Text items normally have transparent background
so when overlaid become confused. By formatting
them with a background colour they become solid.
Similarly tables with solid background and non-trans-
parent images may be overlaid on each other to pro-
duce clear effects.
3.10.3 Characteristics of layers
Items converted to layers have several characteris-
tics which differ from ‘normal' items.
Layers in KompoZer are contained in ‘div’ ele-
ments. (For more on ‘div’ see section 4.5)
Layers break out of the normal flow in which
each block follows the previous and precedes the
next.
Layers, as created by KompoZer, have defined
width so do not accommodate to narrowing or
widening the viewing window.
Layers do not however have defined height so
will accommodate to changes in text size select-
ed in the browser.
Layers, as created, are characterised by three
parameters ‘top’, ’left’, and ‘width’. These define,
in pixels, how far the top left hand corner of the
layer is from the top left hand origin of the page
and how wide the layer is.
Location of posi-
tioning handle
17


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Kompozer 07 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Kompozer 07 in the language / languages: English as an attachment in your email.

The manual is 2,17 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Kompozer 07

Kompozer 07 User Manual - German - 157 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info