<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
{mso-style-name:ecxmsonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.ecxmsochpdefault, li.ecxmsochpdefault, div.ecxmsochpdefault
{mso-style-name:ecxmsochpdefault;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.ecxmsohyperlink
{mso-style-name:ecxmsohyperlink;}
span.ecxmsohyperlinkfollowed
{mso-style-name:ecxmsohyperlinkfollowed;}
span.ecxemailstyle20
{mso-style-name:ecxemailstyle20;}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
{mso-style-name:ecxmsonormal1;
mso-margin-top-alt:auto;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.ecxmsohyperlink1
{mso-style-name:ecxmsohyperlink1;
color:blue;
text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
{mso-style-name:ecxmsohyperlinkfollowed1;
color:purple;
text-decoration:underline;}
span.ecxemailstyle201
{mso-style-name:ecxemailstyle201;
font-family:"Calibri","sans-serif";
color:#1F497D;}
p.ecxmsochpdefault1, li.ecxmsochpdefault1, div.ecxmsochpdefault1
{mso-style-name:ecxmsochpdefault1;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle30
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-GB link=blue bgColor=#ffffff vLink=purple>
<DIV><FONT size=2 face=Arial>Thank you, but still it doesn't work.</FONT></DIV>
<DIV><FONT size=2 face=Arial>I tried both in the origanal template without the
entryframe: </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2
face=Arial>icon.parentnode.getChildByID("proto").duplicate(templateData.presentation[0].page.length
- 1); (I gave the icon an ID
"proto"<BR>icon.parentNode.getChildByName(“protoPage”).duplicate(templateData.presentation[0].page.length
- 1);</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>I only get the first page with correct text. But
there are 3 pages.</FONT></DIV>
<DIV>:(<BR></DIV></DIV></FONT>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=Julian.Tenney@nottingham.ac.uk
href="mailto:Julian.Tenney@nottingham.ac.uk">Julian Tenney</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=xerte@lists.nottingham.ac.uk
href="mailto:xerte@lists.nottingham.ac.uk">Xerte discussion list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 04, 2011 12:16
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Xerte] Re: simple
presentation</DIV>
<DIV><BR></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">You
can also use getChildByID()<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">;-)<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=EN-US>From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US> <A
href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</A>
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Dave
Burnett<BR><B>Sent:</B> 04 April 2011 11:15<BR><B>To:</B> Xerte
list<BR><B>Subject:</B> [Xerte] Re: simple
presentation<o:p></o:p></SPAN></P></DIV></DIV>
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><o:p> </o:p></P>
<P
style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm; mso-margin-top-alt: 0cm"
class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">And then make sure
not to change any names. ;-)<BR><BR><o:p></o:p></SPAN></P>
<DIV style="TEXT-ALIGN: center; MARGIN-LEFT: 36pt" class=MsoNormal
align=center><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">
<HR id=stopSpelling align=center SIZE=2 width="100%">
</SPAN></DIV>
<P
style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 36pt; MARGIN-RIGHT: 0cm; mso-margin-top-alt: 0cm"
class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From: <A
href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</A><BR>To:
<A
href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</A><BR>Date:
Mon, 4 Apr 2011 10:22:32 +0100<BR>Subject: [Xerte] Re: simple
presentation<o:p></o:p></SPAN></P>
<DIV>
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Use
getChildByName() to avoid having to know the structure / number of
children.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Much
better to say icon.parentNode.getChildByName(“myProtoPageName”) than to say
icon.nextSibling() etc where if the structure changes, so does your
code,</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">J</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"
lang=EN-US>From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang=EN-US>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Patricia
Heijmen<BR><B>Sent:</B> 04 April 2011 09:10<BR><B>To:</B> Xerte discussion
list<BR><B>Subject:</B> [Xerte] Re: simple presentation</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV></DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Thank you
Dave,</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I am a bit further
now. But still have some trouble.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Now I have
:</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">the make pages
icon, then the interface icon, the interface icon contains an entry frame, and
the protopage. So I addes only an entry frame.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I made 3 pages with
the template</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I changed the code
in the makepagesicon into: </SPAN></EM><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">icon.nextSibling.</SPAN></EM><STRONG><I><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">childNodes[2].</SPAN></I></STRONG><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">duplicate(templateData.presentation[0].page.length
- 1);</SPAN></EM><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">icon.nextSibling.attributes.title
= templateData.presentation[0].name;</SPAN></EM><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">//set the page
titles</SPAN></EM><I><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"><BR><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'">for (i = 0; i <
templateData.presentation[0].page.length; i++){</SPAN></EM><BR><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'">
icon.nextSibling.childNodes[i].attributes.title =
templateData.presentation[0].page[i].name;</SPAN></EM><BR><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'">}</SPAN></EM></SPAN></I><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">If I preview the
presentation and I got only one page: Page 2. It contains the right text
and picture but there should be 3 pages.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Then I
changed </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">icon.nextSibling.</SPAN></EM><STRONG><I><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">childNodes[2].</SPAN></I></STRONG><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">duplicate(templateData.presentation[0].page.length
- 1); </SPAN></EM><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">into </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">icon.nextSibling.</SPAN></EM><STRONG><I><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">childNodes[1].</SPAN></I></STRONG><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">duplicate(templateData.presentation[0].page.length
- 1);</SPAN></EM><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Then with
previewing I got 3 pages, it doesn't show page 1, then it shows
page 2 and 3 (with correct pictures and text) and then it shows a page
undefined.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I should think
<STRONG><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'">icon.nextSibling.childNodes[2]</SPAN></STRONG>
is the protoPage? But why doesn't that work? and why do I get some result
with <EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'">icon.nextSibling.</SPAN></EM><STRONG><I><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'">childNodes[1]</SPAN></I></STRONG><EM><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'">?</SPAN></EM> And why I don't get
page 1 then?</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Patricia</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV></DIV>
<BLOCKQUOTE
style="BORDER-BOTTOM: medium none; BORDER-LEFT: windowtext 1.5pt solid; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; PADDING-LEFT: 4pt; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; BORDER-RIGHT: medium none; PADDING-TOP: 0cm">
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">----- Original
Message ----- </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: #e4e4e4; MARGIN-LEFT: 72pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> <A
title=d_b_burnett@hotmail.com href="mailto:d_b_burnett@hotmail.com">Dave
Burnett</A> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">To:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> <A
title=xerte@lists.nottingham.ac.uk
href="mailto:xerte@lists.nottingham.ac.uk">Xerte list</A> </SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Sent:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> Friday, April
01, 2011 8:21 PM</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Subject:</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt"> [Xerte] Re:
simple presentation</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<P
style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 72pt; MARGIN-RIGHT: 0cm; mso-margin-top-alt: 0cm"
class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><BR>You have to
be very careful around template architecture.<BR><BR>You see the script icon
above the Interface icon called makePages?<BR>Open it up and look at the
first line of
code.<BR><BR>icon.nextSibling.firstChild.duplicate(templateData.presentation[0].page.length
- 1);<BR><BR>That is making the pages of your presentation:<BR><BR>icon =
here, this icon<BR>nextSibling = next icon downward<BR>firstChild = next
icon rightward<BR>duplicate = duplicate<BR><BR>So it is saying, duplicate
the protoPage icon x number of times.<BR><BR>When you insert your entry pane
on to the Interface page, you have inserted a sibling between makePages and
the target, protoPage.<BR>So the relative logic is destroyed and the piece
is not being built.<BR><BR>You would have to adjust all the relative
references in the piece to take into account the added entrypane
icon.<BR><BR>HTH<BR>Dave<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><o:p></o:p></SPAN></P>
<DIV style="MARGIN-LEFT: 36pt">
<DIV style="TEXT-ALIGN: center; MARGIN-LEFT: 36pt" class=MsoNormal
align=center><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">
<HR align=center SIZE=2 width="100%">
</SPAN></DIV></DIV>
<P
style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 72pt; MARGIN-RIGHT: 0cm; mso-margin-top-alt: 0cm"
class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:
patricia@e-w-i.nl<BR>To: xerte@lists.nottingham.ac.uk<BR>Date: Fri, 1 Apr
2011 18:23:44 +0200<BR>Subject: [Xerte] simple
presentation<o:p></o:p></SPAN></P>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Hi, I am very new
in Xerte.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I am trying to
understand the simple presentation template.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I would like
to ad an entry frame to the interface icon and then add som cusom
buttons.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">However, when
I insert an entry frame, the application doesn't work correctly
anymore. The text icon shows 'undefined' and I cannot go through the
pages.</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">What I am doing
wrong?</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Thanks for any
help</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Patricia</SPAN><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><o:p></o:p></SPAN></P></DIV>
<P style="MARGIN-LEFT: 72pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><BR>This message
and any attachment are intended solely for the addressee and may contain
confidential information. If you have received this message in error, please
send it back to me, and immediately delete it. Please do not use, copy or
disclose the information contained in this message or in any attachment. Any
views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham. <BR>This message has been
checked for viruses but the contents of an attachment may still contain
software viruses which could damage your computer system: you are advised to
perform your own checks. Email communications with the University of
Nottingham may be monitored as permitted by UK legislation.
<BR><BR>_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any
attachment are intended solely for the addressee and may contain
confidential information. If you have received this message in error, please
send it back to me, and immediately delete it. Please do not use, copy or
disclose the information contained in this message or in any attachment. Any
views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham. This message has been
checked for viruses but the contents of an attachment may still contain
software viruses which could damage your computer system: you are advised to
perform your own checks. Email communications with the University of
Nottingham may be monitored as permitted by UK legislation.
<o:p></o:p></SPAN></P>
<DIV style="MARGIN-LEFT: 36pt">
<DIV style="TEXT-ALIGN: center; MARGIN-LEFT: 36pt" class=MsoNormal
align=center><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">
<HR align=center SIZE=2 width="100%">
</SPAN></DIV></DIV>
<P
style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 72pt; MARGIN-RIGHT: 0cm; mso-margin-top-alt: 0cm"
class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">_______________________________________________<BR>Xerte
mailing
list<BR>Xerte@lists.nottingham.ac.uk<BR>http://lists.nottingham.ac.uk/mailman/listinfo/xerte<BR><BR>This
message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this
message or in any attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the University
of Nottingham.<BR><BR>This message has been checked for viruses but the
contents of an attachment<BR>may still contain software viruses which could
damage your computer system:<BR>you are advised to perform your own checks.
Email communications with the<BR>University of Nottingham may be monitored
as permitted by UK legislation.<o:p></o:p></SPAN></P></BLOCKQUOTE></DIV>
<P style="MARGIN-LEFT: 36pt" class=MsoNormal><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"><BR>_______________________________________________
Xerte mailing list Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any
attachment are intended solely for the addressee and may contain confidential
information. If you have received this message in error, please send it back
to me, and immediately delete it. Please do not use, copy or disclose the
information contained in this message or in any attachment. Any views or
opinions expressed by the author of this email do not necessarily reflect the
views of the University of Nottingham. This message has been checked for
viruses but the contents of an attachment may still contain software viruses
which could damage your computer system: you are advised to perform your own
checks. Email communications with the University of Nottingham may be
monitored as permitted by UK legislation. <o:p></o:p></SPAN></P></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Xerte mailing
list<BR>Xerte@lists.nottingham.ac.uk<BR>http://lists.nottingham.ac.uk/mailman/listinfo/xerte<BR><BR>This
message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do
not use, copy or disclose the information contained in this message or in any
attachment. Any views or opinions expressed by the author of this email
do not necessarily reflect the views of the University of
Nottingham.<BR><BR>This message has been checked for viruses but the contents
of an attachment<BR>may still contain software viruses which could damage your
computer system:<BR>you are advised to perform your own checks. Email
communications with the<BR>University of Nottingham may be monitored as
permitted by UK legislation.<BR><BR></BLOCKQUOTE></BODY></HTML>