Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

Stars 1,019
Forks 115
Open issues 54
PowerShell Gallery downloads 7,576,901
Release v1.41.0
Language: PowerShell Updated: 2026-10-03
Command

New-HTMLNavFloat

Module PSWriteHTML

Creates a new HTML floating navigation menu with customizable options.

Syntax

New-HTMLNavFloat [[-ButtonColor] <String>] [[-ButtonColorBackground] <String>] [[-ButtonColorBackgroundOnHover] <String>] [[-ButtonColorOnHover] <String>] [[-ButtonLocationBottom] <Object>] [[-ButtonLocationLeft] <Object>] [[-ButtonLocationRight] <Object>] [[-ButtonLocationTop] <Object>] [[-NavigationLinks] <ScriptBlock>] [[-Tagline] <String>] [[-TaglineColor] <String>] [[-Title] <String>] [[-TitleColor] <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

This function creates a new HTML floating navigation menu with various customization options such as navigation links, title, tagline, colors, and button styling for hover effects.

Examples

Authored help example

EXAMPLE 1

New-HTMLNavFloat -ButtonColor 'Value'

Parameters

-ButtonColor String optionalposition: 9
Specifies the color of the floating navigation menu button.
-ButtonColorBackground String optionalposition: 10
Specifies the background color of the floating navigation menu button.
-ButtonColorBackgroundOnHover String optionalposition: 12
Specifies the background color of the floating navigation menu button on hover.
-ButtonColorOnHover String optionalposition: 11
Specifies the color of the floating navigation menu button on hover.
-ButtonLocationBottom Object optionalposition: 8
Specifies the bottom position of the floating navigation menu button.
-ButtonLocationLeft Object optionalposition: 6
Specifies the left position of the floating navigation menu button.
-ButtonLocationRight Object optionalposition: 7
Specifies the right position of the floating navigation menu button.
-ButtonLocationTop Object optionalposition: 5
Specifies the top position of the floating navigation menu button.
Specifies the script block containing navigation links to be displayed in the menu.
-Tagline String optionalposition: 2aliases: SubTitle
-TaglineColor String optionalposition: 4
Specifies the color of the tagline text.
-Title String optionalposition: 1
Specifies the title of the floating navigation menu.
-TitleColor String optionalposition: 3
Specifies the color of the title text.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.