How do we make it all go?
The first thing you should note in the basic XML list laid out above is thatall the basic objects have
one thing in common: a <name> tag. This tag allows object manipulation inJavaScript, the code
that Konfabulator uses to make Widgets work.

JavaScript is known as a scripting language, meaning that it does not need tobe compiled by the
user to be run.

It is also much simpler than many other coding languages, making it a perfectchoice
for any average computer user to learn.

We mentioned a little ways back that the key element to making JavaScript workwith your XML
objects is the name tag.

There are several things that you can work with this, but let's start withone
of the simplest ways.

name.attribute = 255;

Alright, now let's break this apart.

" The part before the period is where the object's name is placed.

It can only begin with a letter
(and to be proper, a lowercase one), and can only contain alphanumericcharacters and underscores
(the "_" character).

Common ways to lay out a name are listed below and are all acceptable.

" myGreatName79
" my_great_name_79
" mygreatname79

It is a very good idea to give your objects concise names so you can rememberwhatyou're working with.
" myGreatName79
" my_great_name_79
" mygreatname79

" The part after the period in the preceding code is the object'sattribute.
You would type something
like "opacity", "hOffset", or "font" here to set those respective attributesfor the object you
named before the period.

In the XML list above, you can see some of the attributes that go
along with the object you're manipulating. Again, the Konfabulator ReferencePDF will have a
complete list.

" The "=" operator assigns the value following it to the named object'sattribute.

" The last piece of code is the value assigned to the object's attribute.There are three different
kinds of values that can be assigned.

" A boolean value - This is either a 0 or a 1, or you can choose to set it tofalse or true respectively
if you want a little more legibility.

" A literal value - This can be any number.

" A string - This type of value can contain text as well as numbers. Whensetting this value,
you enclose it within quotation marks.