Hi,
I found some strange behavior when I click into a TOC entry in WebHelp
transformation.
When I click on one entry, it go to this page and expands each parent entry
that it has. But it should also expand the current entry to show the
content of the selected entry (if it has any child).
I made this fix in the wh.js to solve this problem, but I want to report it
for your information:
Original code
-----------------------------------------------
showEntry: function(entry, scroll) {
var toc = this.first();
entry.parents(toc, "li").each(function() {
// Show entry code
...
}
}
Modified code
-----------------------------------------------
showEntry: function(entry, scroll) {
var toc = this.first();
// Apply the function to parents and current entry
$.merge(entry, entry.parents(toc, "li")).each(function() {
// Show entry code
...
}
}
I hope this help you.
Br, Fran.
--
[image: Swiss Mobility Solutions] <http://www.swissmobilitysolutions.com/>
Francisco Soler
Software Engineer
Swiss Mobility Solutions
a Gemalto Company
[image: Office Telephone]+34966370055
[image: Skype]francisco.soler88
[image: Location]Av. Locutor Vicente Hipólito 39
03540 Alicante Spain
<https://maps.google.com/maps?q=Swiss+Mobility+Solutions+S.L,+Alicante,+Spain&hl=en&sll=37.0625,-95.677068&sspn=76.273886,78.837891&oq=swiss+mobility+so&hq=swiss+mobility+solutions+sl&hnear=Alicante,+Valencian+Community,+Spain&t=m&z=13>
[image: Email] <[email protected]>[image: LinkedIn]
<http://es.linkedin.com/pub/francisco-soler/6a/822/65b>[image: Website]
<http://www.swissmobilitysolutions.com/>
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support