<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
		<meta name="generator" content="Adobe GoLive 6"/>
		<title>Skeleton Sample Extension</title>
	</head>

	<body>
		<hr/>
		<p>[ Your copyright information ]</p>
		<hr/>
		<p><b>Extension Name:</b> <extname>Skeleton</extname></p>
		<p><b>Folder name:</b></p>
		<hr/>
		<p><b>Description:</b></p>
		<p>The Skeleton extension may be used as a starting point for developing an extension. It provides function definitions for all callback functions. A brief description of each callback function is provided; see the documentation for complete information. If a callback function is not used, it may be removed.</p>
		<p>Skeletons of tags to define the User Interface are provided but commented out to avoid affecting the user interface. See the documentation for complete information on using these tags.</p>
		<p>In layout view, use the Inspector to modify properties of objects; switch to Source to view the JavaScript code.</p>
		<hr/>
		<p><b>Module Definition:</b></p>
		<jsxmodule debug="debug" info="-- no description --" name="Skeleton" version="1.0"/>
		<p><b>Scripts:</b></p>
		<script><![CDATA[
// [ Your copyright information ]

//--------------------------------------------------------------------
// GLOBAL VARIABLES
//--------------------------------------------------------------------


// global variables




//--------------------------------------------------------------------
// CALLBACK FUNCTIONS
//--------------------------------------------------------------------


//---------------------------------------------------------------
// MODULE CALLBACKS


//---------------------------------------------------------
// initializeModule - called after the module has been loaded
//
// Description
//   Use to initialize global variables and data structures, and
//   create Picture objects using createPicture.

function initializeModule() 
{
}


//---------------------------------------------------------
// startModule - called after all modules are initialized
// 
// Description:
//   All modules are initialized and all UI is available.

function startModule() 
{
}


//---------------------------------------------------------
// terminateModule - called before the module is unloaded
// 
// Description:
// Use it to perform any final actions, such as deallocate memory used
// by C++ extensions,  deallocate Picture objects using disposePicture.

function terminateModule() 
{
}


//---------------------------------------------------------
// broadcastSignal
//
// Parameters:
//   callingModule - name of the calling module.
//   Message -  message sent by the calling module.

function broadcastSignal(callingModule, message)
{
}




//---------------------------------------------------------------
// UI CALLBACKS


//---------------------------------------------------------
// boxResized - called when the size of the box has changed
//
// Description:
//   Use this event to record the changes in the markup code, 
//   and/or recalculate the contents of the box.
//
// Warning: see documentation for warnings about reparsing 
//   and downloading a file.

function boxResized(box, width, height) 
{
}


//---------------------------------------------------------
// controlSignal -  called when the state of a control has changed
//
// Description:
//   Use to extract the state of the control, and react to the state
//   change.
//
// Warning: see documentation for warnings about reparse, 
//   reformat, setInnerHTML, and setOuterHTML.

function controlSignal(control)
{
}


//---------------------------------------------------------
// dragControl - called when something is dropped onto a document
//
// Description:
//   Use the JSXDragDropEvent object to obtain the object
//   dropped.

function dragControl(control, info) 
{
}


//---------------------------------------------------------
// drawBox - called when a custom box is about to be drawn
//
// Description:
//   Use the draw object for creating the visual representation
// of the element.
//
// Warning: see documentation for warnings about reparsing 
//   and downloading a file.

function drawBox(box, draw) 
{
}


//---------------------------------------------------------
// drawControl - called when a custom control should be redrawn
//
// Description:
//   Use the draw object to create a custom visual representation
//   of the control.

function drawControl(control, draw) 
{
}


//---------------------------------------------------------
// inspectBox - called before the inpsector for a custom box is  
//   displayed
//
// Description: Use it to fill in the controls of the inspector with
//   current values.
//
// Warning: see documentation for warnings about reparsing
//   and downloading a file.

function inspectBox(box)
{
}


//---------------------------------------------------------
// menuSetup - called before displaying a menu item element 
//   with the dynamic attribute
//
// Description: Allows enabling/disabling of a check mark or 
//   menu item.

function menuSetup(menuItem) 
{
}


//---------------------------------------------------------
// menuSignal - called when the user chooses a menu item.
//
// Description: Use it to respond to the user's choice of menu item.

function menuSignal (menuItem) 
{
}


//---------------------------------------------------------
// mouseControl - called to respond to a mouse event over a control
//
// Parameters:
//   x and y are the position of the mouse pointer relative to the upper 
//   left corner of the control.
//   mode is one of the following values:
// 		0 - the left button has been pressed
// 		1 - the mouse has been moved with the left button pressed
// 		2 - the mouse button has been released
//		3 - the mouse is over the control without pressed mouse button
//
// Note: If this function is not defined, controlSignal is called
//   when the mouse button is released over a custom control.

function mouseControl (control, x, y, mode) 
{
}


//---------------------------------------------------------
// parseBox - called when GoLive parses a custom element
//
// Description:
//   Use it to initialize the box (i.e., set height and width)
//
// Parameters:
//	reason:
//		1: document is being read
//		2: custom element dropped from Objects palette or pasted 
//		    from clipboard
// 		3: box was repositioned
//
// Warning: see documentation for warnings about calling
//   setInnerHTML, setOuterHTML, reparse, or reformat.

function parseBox(box, reason) 
{
}


//---------------------------------------------------------
// undoSignal - called whenever the user issues the command 
//   to do, undo, or redo the operation represented by the undo 
//   object
//
// Parameters:
//	action may be one of the following:
// 		0: Do. Called as soon as the object is submitted.
// 		1: Undo.
// 		2: Redo.
//
// Warning: see documentation for warnings about calling 
//   setInnerHTML, setOuterHTML, reparse, reformat.

function undoSignal(object, action) 
{
}


//---------------------------------------------------------------
// APPLICATION & SYSTEM EVENTS


//---------------------------------------------------------
// docSignal - called when GoLive receives an event
//
// Description:
// This event handler is called when GoLive receives
// an event such as document open, new document
// created, document view changed, etc.
//  
// Parameters:
//	doc: the document where the event occurred
//	notification: the event that occurred
//

function docSignal(doc, notification) 
{
}


//---------------------------------------------------------
// linkChanged - called when a link changes
//
// Parameters:
//   link - link object that changed
//
// Description: Use it to update references to the link.

function linkChanged (link) 
{
}




//--------------------------------------------------------------------
// CUSTOM EXTENSION FUNCTIONS
//--------------------------------------------------------------------




//]]>
</script>
		<hr/>
		<p>Note: The following tags are commented to prevent activation. Uncomment and use these as a starting point for your extension.</p>
		<p><b>Image</b> image definitions - Creates a picture object that is referenced by the picture attribute of the jsxpaletteentry, jsxpalettegroup and other tags. Can also be used in custom drawing routines.</p>
		<!-- 
		<img name="SkelImage" macsrc="test.jpg" winsrc="test.jpg"> 
		-->
		<p><b>Dialogs</b> dialog definitions</p>
		<!-- 
		<jsxdialog name="" title="" width="" height="">
			<p>jsxcontrols contained in the dialog</p>
			<jsxcontrol type="" name="" value="" group="" posx="" posy="" width="" height="" halign="" valign="">
		</jsxdialog>
		-->
		<p><b>Custom Tags</b> custom tag definitions</p>
		<!--
		<jsxelement tagname="" classid="" type="" leftmargin="" rightmargin="" topmargin="" bottommargin="" invisible="" fixedwidth="" fixedheight="">
		-->
		<p><b>Inspectors</b> custom inspector definitions</p>
		<!--
		<jsxinspector name="" title="" classid="" width="" height="" minwidth="" minheight="">
			<jsxcontrol type="" name="" value="" group="" posx="" posy="" width="" height="" halign="" valign="">
		</jsxinspector>
		-->
		<p><b>Localization String Table</b> localized string lookup table - This table uses the English string as a reference to substitute strings in menu items, dialogs, other user interface items as well as strings passed to the localize function.</p>
		<p>Note a string table can be an external file references with the src attribute. Although this creates an additional file, an external file can improve startup performance for extensions with large string tables.</p>
		<jsxlocale src="locale.html"></jsxlocale>
		Internal Table, all strings are referenced using the english string as the key.
		<jsxlocale>
			<table border="1" cellspacing="2" cellpadding="0">
				<tr>
					<th>US</th>
					<th>DE</th>
					<th>FR</th>
					<th>JP</th>
					<th>ES</th>
					<th>IT</th>
					<th>NL</th>
					<th>SV</th>
					<th>DA</th>
				</tr>
				<tr>
					<td>Cancel</td>
					<td>Abbrechen</td>
					<td>Annuler</td>
					<td>キャンセル</td>
					<td>Cancelar</td>
					<td>Annulla</td>
					<td>Annuleren</td>
					<td>Avbryt</td>
					<td>Annullér</td>
				</tr>
				<tr>
					<td>OK</td>
					<td>OK</td>
					<td>OK</td>
					<td>OK</td>
					<td>Aceptar</td>
					<td>OK</td>
					<td>OK</td>
					<td>OK</td>
					<td>OK</td>
				</tr>
			</table>
		</jsxlocale>
		<p><b>Menu Bar</b> Menu and Menu Bar definitions - menu items and menus added to the GoLive menu bar</p>
		<!--
		<jsxmenubar>
			<jsxmenu name="" title="">
				<jsxitem name="" title="" dynamic>
				<jsxmenu name="" title="">
					<jsxitem name="" title="" dynamic>
				</jsxmenu>
			</jsxmenu>
		</jsxmenubar>
		-->
		<p><b>Tool Bar</b> Tool Bar definitions - buttons added to the GoLive tool bar</p>
		<!--
		<jsxtoolbar name="" title="" width="">
			<jsxcontrol name="" picture="" posx="" posy="" type="button" value="" width="" height=""></jsxcontrol>
			<jsxcontrol name="" picture="" posx="" posy="" type="button" value="" width="" height=""></jsxcontrol>
		</jsxtoolbar>
		-->
		<p><b>Palettes</b> Palette Window definitions - palette listed in Windows menu by default</p>
		<!--
		<jsxpalette name="" title="" menu="" width="" height="" minwidth="" minheight="">
			<p>Add jsxcontrols, jsxmenus, and jsxitems here.</p>
			<jsxcontrol type="" name="" value="" group="" posx="" posy="" width="" height="" halign="" valign="">
			<jsxmenu name="" title="">
				<jsxitem name="" title="" dynamic>
			</jsxmenu>
		</jsxpalette>
		-->
		<p><b>Palette Group</b> object palette definitions - Objects added to existing Object Palette tabs or added to a new Object Palette tag</p>
		<!--
		<jsxpalettegroup name="" display="" taborder="" order="" picture="">
			<jsxpaletteentry display="" classid="" picture="">
				<p>Contents of custom tag go here</p>
			</jsxpaletteentry>
		</jsxpalettegroup>
		-->
		<p></p>
	</body>

</html>