update function menuActive to examples in the documentation
Merge pull request #1191 from deividmarques/doc-menu-active

update function menuActive to examples in the documentation