Horizontal Fixed layout is useful for those users who wants header menu options on top.
js option
To use Compact Menu for your project add themelayout: 'horizontal', FixedNavbarPosition: true, FixedHeaderPosition: false, class in js.
HTML Markup

Use the following code to use Horizontal Fixed Layout in horizontal.

Usage:
                                                            
                                                                $( document ).ready(function() {
                                                                $( "#pcoded" ).pcodedmenu({
                                                                themelayout: 'horizontal',
                                                                FixedNavbarPosition: true,
                                                                FixedHeaderPosition: false,
                                                            });
                                                        });