Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

how can I just show the hamburger button

$
0
0

here is what I ended up with to add icons and/or text to the empty space beside the hamburger button. It is dependent on jquery and  jquery.resize.js

Marty

functionpageLoad() {
    $ = $telerik.$;
    functionupdateMenu() {
        $(".navCTitle").remove();
        if($(".rnvRootGroup ").children().length == 0) {
            if($(".navCTitle").length == 0) {
                varstr = '';
                str += '<div class="navCTitle">';
                str += '<a href="/"><span class="fa fa-home fa-2x"></span></a>';
                str += '<a href="/contact"><span class="fa fa-envelope-o fa-2x"></span></a>';
                str += '</div>';
                $(".rnvRootGroupWrapper").append(str);
            }
        }
    }
    $(".rnvRootGroupWrapper").resize(function(e) {
        setTimeout(updateMenu, 100);
    });
    if(typeofcontentPageLoad == 'function')
        contentPageLoad();
};

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>