<div dir="ltr">Thanks Sorin. I ended up using a different plugin anyway. It would be great if a future version of the OxygenXML webhelp output incorporated this mini-TOC feature by default. <div><br></div><div>Here are details on how I integrated the plugin: <a href="http://idratherbewriting.com/2014/11/13/add-a-mini-toc-to-your-oxygenxml-webhelp-topics/">http://idratherbewriting.com/2014/11/13/add-a-mini-toc-to-your-oxygenxml-webhelp-topics/</a></div><div><br></div><div>By the way, when will I be able to associate specific jQuery scripts with specific transforms? Right now it&#39;s inefficient to hack the Oxygen source code&#39;s JS file to add the scripts I want. They end up getting applied to every OxygenXML transform. The setup should parallel how you&#39;ve done it with custom styles, right?</div><div><br></div><div>Tom</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">---------------------<div>801-822-2241<br>blog: <a href="http://idratherbewriting.com" target="_blank">idratherbewriting.com</a><br>twitter: tomjohnson</div></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 11, 2014 at 2:34 AM, Oxygen XML Editor Support (Sorin Ristache) <span dir="ltr">&lt;<a href="mailto:support@oxygenxml.com" target="_blank">support@oxygenxml.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
You can use the class attribute when you call the plugin:<br>
<br>
&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;<br>
    $(document).ready(function(){ $(&quot;.toc_plugin&quot;).<u></u>tableOfContents(); })<br>
&lt;/script&gt;<br>
<br>
Did you call the plugin on an empty container element? For example:<br>
<br>
&lt;div class=&quot;toc_plugin&quot;&gt;&lt;/div&gt;<br>
<br>
or:<br>
<br>
&lt;ul class=&quot;toc_plugin&quot;&gt;&lt;/ul&gt;<br>
<br>
<br>
Best regards,<br>
Sorin<br>
<br>
&lt;oXygen/&gt; XML Editor<br>
<br>
<a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><span class=""><br>
<br>
<br>
Tom Johnson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there any way to get an ID on a page using DITA and transforming with the DITA OT? For example, I want to add something like this:<br>
<br>
&lt;p id=&quot;toc&quot;/&gt;<br>
<br>
Even if I hack the Oxygen source to allow IDs to pass through, as I described here (<a href="http://idratherbewriting.com/wpdita/toc_publishing/jquery_side_panel/" target="_blank">http://idratherbewriting.com/<u></u>wpdita/toc_publishing/jquery_<u></u>side_panel/</a>), the ID gets prepended with the topic ID. This makes it difficult to trigger the jQuery script, which has a trigger of #toc. Each page&#39;s p id will change based on the page&#39;s topic ID. <br>
I tried using a class with the jquery plugin instead, but it doesn&#39;t seem to work. This is the TOC plugin: <a href="http://fuelyourcoding.com/scripts/toc/index.html" target="_blank">http://fuelyourcoding.com/<u></u>scripts/toc/index.html</a>.<br>
<br>
Thanks,<br>
<br>
Tom<br>
</blockquote>
<br></span>
______________________________<u></u>_________________<br>
oXygen-user mailing list<br>
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a><br>
<a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/<u></u>mailman/listinfo/oxygen-user</a><br>
</blockquote></div><br></div>