<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>Thanks Julian, works a treat.<br><br>I just had to alter the code a bit as the button script is of course reporting the page number you are on at that point, as opposed to the page number you are headed to:<br><br>paging_prev_but._visible = 1;<br>if (cur_fw_id.currentPage+1 < cur_fw_id.pageCount-1) {<br>cur_fw_id.nextPage();<br>} else {<br>cur_fw_id.nextPage();<br>paging_next_but._visible = 0;<br>} <br><br>I'll have to look into <span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';">onOpenPage at some point to try for more abstraction, but this is great.<br><br>Dave</span><br><br><br><hr id="stopSpelling">Subject: RE: [Xerte] Controlling Nav buttons<br>Date: Sat, 21 Nov 2009 09:44:06 +0000<br>From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br><br>
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>
<div id="ecxidOWAReplyText32278" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">Not cur_fw_id = icon.parentNode.parentNode.attributes.id</font></div>
<div dir="ltr"><font face="Arial"></font> </div>
<div dir="ltr"><font face="Arial">but</font></div>
<div dir="ltr"><font face="Arial"></font> </div>
<div dir="ltr">cur_fw_id = icon.parentNode.parentNode.clip();</div></div><br>                                            <br /><hr />Windows 7: It works the way you want. <a href='http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2' target='_new'>Learn more.</a></body>
</html>