Bootstrap 3 - dnnUserAndLogin
Last Post 11/11/2013 10:52 AM by Joseph Craig. 1 Replies.
Author Messages Not Resolved
Michael Steffen
Posts:


--
11/11/2013 9:20 AM
    Hi,

    I've tried to convert the javascript from article 82 concerning the proper layout of the dnnUserAndLogin Control with in the menu.

    <script type="text/javascript"> <br /> $(document).ready(function () { <br /> $('.navbar .userProperties').each(function () { <br /> $(this).children('ul').addClass('nav') <br /> .children('.userName').addClass('dropdown') <br /> .children('#dnn_dnnUser_userNameLink').addClass('dropdown-toggle').attr("data-toggle", "dropdown").append('<b class="caret"></b>') <br /> .siblings('.userMenu').addClass('dropdown-menu'); <br /> }); <br /> }); <br /> </script> <br /> <br /> I tried to change the .addClass('nav') to .addClass('navbar-nav'), but it does not fit. <br /> <br /> How is this transferred to work with Bootstrap 3? <br /> <br /> Thank you, <br /> <br /> Michael
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    11/11/2013 10:52 AM
    Take a look at the new Bootstrap3 tutorial: http://www.dnncreative.com/Training...fault.aspx

    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---