Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Based on the report that the Testimo module generates, I came across the use of the navigation menus (through your recommendation).
So I would like to use the tabs of the Testimo report as top menus entrys.
These entries should link directly to the seperate reports.
Unfortunately it is not possible for me to implement "New-HTMLNavTop" as a link.
No big thing - only some mouse clicks more.
Issue or Enhancement?
Example:
New-HTML -TitleText 'Testing Navigation' {
New-HTMLNavTop -Logo 'https://evotec.xyz/wp-content/uploads/2021/04/Logo-evotec-bb.png' -LogoLinkHome -LogoLink "$PSScriptRoot\Example41-Navigation03.html" {
New-NavTopMenu -Name 'Domains' -IconRegular address-book -InternalPageID 'Page2' {
}
} -MenuColor White -MenuColorBackground Black -HomeColorBackground White -HomeColor Black
New-HTMLHeader {
New-HTMLText -Text 'In header - main page'
}
New-HTMLPage -Name 'Page1' {
New-HTMLHeader {
New-HTMLText -Text 'In header'
}
New-HTMLTab -Name 'Test 1' {
New-HTMLSection -HeaderText 'Test 0' {
New-HTMLTable -DataTable $DataTable1 -Title 'Test2' -PagingLength 2
}
New-HTMLSection -HeaderText 'Test 1' {
New-HTMLTable -DataTable $DataTable1 -Title 'Test2' -PagingLength 2
}
}
New-HTMLTab -Name 'Test 2' {
}
New-HTMLFooter {
New-HTMLText -Text 'In footer'
}
}
} -ShowHTML -Online -FilePath $PSScriptRoot\Example41-Navigation03.htmlMetadata
Metadata
Assignees
Labels
enhancementNew feature or request

Activity
PrzemyslawKlys commentedon Apr 8, 2023
If your goal was to click on Domains and it to have an action then it's an enhancement. The idea is - it's a menu, not a button. It could be implemented I guess.
PrzemyslawKlys commentedon Oct 30, 2026
Top-menu entries can now navigate to their configured destination, including
-InternalPageID, through the change merged in #533. The updated module has not been published yet.PrzemyslawKlys commentedon Nov 17, 2026
Top-menu entries can navigate directly to their configured destination, including
-InternalPageID, in PSWriteHTML 1.45.0. The change was merged in #533; update the module and regenerate the report to use it.