User Guide
165
ADOBE GOLIVE CS2
User Guide
Note: To prevent GoLive from writing the file creator meta element, choose Edit > Preferences (Windows) or GoLive >
Preferences (Mac OS), select General, deselect Write “Generator Adobe GoLive,” and click OK. To change the character
set for a new page, select the Encode tag in the head section of the page and select another character set in the Encoding
Inspector. To change the character set for all new pages, choose Edit > Preferences (Windows) or GoLive > Preferences
(Mac OS), select Encodings, choose a new set, and click OK. To change the encoding for selected files in a site, select files
in the Files tab of the site window, choose Special > Convert > Encoding, select a new encoding, and click OK.
The Script element Use to add JavaScript to the head section of your web page. A script in the head section is
executed while the visible body section of the page is still being loaded. You use the Head Script Inspector to enter a
name for the script, choose the language or JavaScript dialect for a browser, specify the script file, and open the JavaS-
cript Editor to edit the script file. (See “Using JavaScript” on page 602.)
The Refresh element Use to instruct web browsers to refresh the contents of your web page or replace your page
with another page after a specified interval. You may want to use this element if your page contains live material or
if it’s part of a sequential series of pages you are presenting to viewers. The Refresh Inspector lets you enter a Delay
value in seconds to specify an interval before the page is refreshed or replaced with another page. You choose either
the Target This Document option to refresh the current page or the Target URL option to replace the page with
another page.
You can easily create a slide show by adding a Refresh element to each page that’s part of the slide show. For example,
youcan addaRefreshelement to thefirst page of theslide show that replaces thefirst page with thesecondpage, and
so on.
<no edit> elements Use to add <no edit> elements to the head section of your web page. These are useful for
adding code that has unusual syntax or that GoLive can’t read, and for adding new unknown elements and ensuring
compatibilitywithfutureversionsofHTMLand theweb browsers that supportthese versions.You usethe Element
Inspector to edit the start and end tags, add the names and values of new attributes, and delete attributes from the list.
Text character encoding Use to add a meta element that defines the character encoding for text in a document. By
default, all new pages created in GoLive use the meta encoding element in the head section with the UTF-8 character
setattribute. Youcan change thecharacter encodingbyselecting theEncodeobjectinthe head sectionand selecting
an encoding option in the Encoding Inspector. You can also change the character set for a document by choosing a
different set from the File > Document Encoding submenu, or change the character set for selected files in a site by
choosing Special > Convert > Encoding and selecting a new encoding in the Change Encoding dialog box. (See
“Non-roman character sets” on page 315.)
The Link element Use to define relationships between your current web page and other pages in your website, or on
the Internet. (If you manage the pages in your site using the GoLive site window, you don’t need to use the Link
element.) You can use the information in the Link element to keep track of links between pages in a large site. The
Link Inspector lets you specify the title, link name, and anchor name for the referenced page, the relationship and
reverse relationship between the current page and the source or destination URL, a list of HTTP methods supported
by the referenced page, and a Uniform Resource Number (URN) for the page.
Note: Most web browsers don’t use or support URNs or the Methods attribute.
The IsIndex element Use both to inform web browsers that your web page can be examined using a keyword search
and to instruct the browsers to display a search text box for keywords when displaying your page. The Prompt text
box in the IsIndex Inspector lets you enter the string that you want browsers to display with the search dialog box.
Note: The IsIndex element is obsolete.
The Base element Use to specify the original location of your web page, also known as the base URL. The base URL
is used by web browsers to locate relative links on your page. In the event that your page is moved away from its
original location, the browsers can correctly locate the page’s relative links using the base URL.










