606646
17
Zoom out
Zoom in
Vorherige Seite
1/58
Nächste Seite
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

Brauchen Sie Hilfe? Stellen Sie Ihre Frage.

Forenregeln

Missbrauch melden von Frage und/oder Antwort

Libble nimmt den Missbrauch seiner Dienste sehr ernst. Wir setzen uns dafür ein, derartige Missbrauchsfälle gemäß den Gesetzen Ihres Heimatlandes zu behandeln. Wenn Sie eine Meldung übermitteln, überprüfen wir Ihre Informationen und ergreifen entsprechende Maßnahmen. Wir melden uns nur dann wieder bei Ihnen, wenn wir weitere Einzelheiten wissen müssen oder weitere Informationen für Sie haben.

Art des Missbrauchs:

Zum Beispiel antisemitische Inhalte, rassistische Inhalte oder Material, das zu einer Gewalttat führen könnte.

Beispielsweise eine Kreditkartennummer, persönliche Identifikationsnummer oder unveröffentlichte Privatadresse. Beachten Sie, dass E-Mail-Adressen und der vollständige Name nicht als private Informationen angesehen werden.

Forenregeln

Um zu sinnvolle Fragen zu kommen halten Sie sich bitte an folgende Spielregeln:

Neu registrieren

Registrieren auf E - Mails für Kompozer 07 wenn:


Sie erhalten eine E-Mail, um sich für eine oder beide Optionen anzumelden.


Andere Handbücher von Kompozer 07

Kompozer 07 Bedienungsanleitung - Deutsch - 157 seiten


Das Handbuch wird per E-Mail gesendet. Überprüfen Sie ihre E-Mail.

Wenn Sie innerhalb von 15 Minuten keine E-Mail mit dem Handbuch erhalten haben, kann es sein, dass Sie eine falsche E-Mail-Adresse eingegeben haben oder dass Ihr ISP eine maximale Größe eingestellt hat, um E-Mails zu erhalten, die kleiner als die Größe des Handbuchs sind.

Ihre Frage wurde zu diesem Forum hinzugefügt

Möchten Sie eine E-Mail erhalten, wenn neue Antworten und Fragen veröffentlicht werden? Geben Sie bitte Ihre Email-Adresse ein.



Info