accept function for navChildHtml option