[daisy] Determining active tab when invoking editor

Andreas Deininger adeininger at googlemail.com
Sun Jul 23 11:37:00 CDT 2006


Hi,

I have a document with multiple daisy html-parts, say part1, part2, part3.
If I invoke the document editor on this document, the tab "part1" is
always active.
What I would like to do is providing a link which instantly makes tab
"part2" or "part3" active.
Is there an easy way to achieve that? I would like to use something like:

<form method="POST" action="/daisy/mySite/185/edit" id="myid">
</form>
<a onclick="document.getElementById('myid').submit(); return false;"
href="#" class="">Edit part 2</a>

Can I achieve the desired behaviour/result easily? (e.g. by placing a
hidden input field inside the form definition or by adding a request
parameter to the action URL?) (I saw that the name of the tab is
appended in the path after the continuation ID)
http://127.0.0.1:8888/daisy/mySite/185/edit/continuationID/misc

Thanks in advance

Andreas


More information about the daisy mailing list