Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: Left Nav in v9

  1. #1
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default Left Nav in v9

    Hello, hoping someone can help me got this to work in v8 but on v9 I can not find where I can edit the structure of the leftNav Menu
    I need to remove the Divs

    for example the code produced
    looks like this
    HTML Code:
    <div id="Categories" class="leftNav">
    <ul class="tame">
    i want it to look like this
    HTML Code:
    <ul class="tame">
    Thanks
    MSX

  2. #2
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default

    Why do you want to do this?
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM

  3. #3
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default

    Because I have a the categories wrapped in a list for a js accordion
    See the following code

    HTML Code:
     <ul id="menu1" class="menu">
                         <li><a class="ac1" href="#">Product Categories</a>
         <aspdnsf:EntityControl ID="ctrlEntityCategory" runat="server" Header="<%$ Tokens:StringResource, AppConfig.CategoryPromptPlural %>"
                                EntityType="Category" MaxMenuSize="<%$ Tokens:AppConfigUSInt, MaxMenuSize %>" />
                        </li>
                        <li><a class="ac2" href="#">Design Options</a>
                            <ul>
                                <asp:Literal ID="Literal3" runat="server" Text='<%$ Tokens:Topic,designoptionsbox %>' /></ul>
                        </li>
                        <li><a class="ac3" href="#">Private Labeling</a>
                            <ul>
                                <asp:Literal ID="Literal4" runat="server" Text='<%$ Tokens:Topic,privatelabelingbox %>' /></ul>
                        </li>
                        <li><a class="ac4" href="#">Resources</a>
                            <ul>
                                <asp:Literal ID="Literal5" runat="server" Text='<%$ Tokens:Topic,resourcebox %>' /></ul>
                        </li>
                        <li><a class="ac5" href="#">Company</a>
                            <ul>
                                <asp:Literal ID="Literal6" runat="server" Text='<%$ Tokens:Topic,helpbox %>' /></ul>
                        </li>
                        <li><a class="ac6" href="#">Blogs</a>
                            <ul>
                                <asp:Literal ID="Literal7" runat="server" Text='<%$ Tokens:Topic,blogbox %>' />
                            </ul>
                        </li>
                    </ul>
    MSX

  4. #4
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default

    So you're not using the ASP.Net menu control then?
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM

  5. #5
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default

    I don't really need too, it looks like it would work how I want if I could just remove the div's
    MSX

  6. #6
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default

    In that case I would just run some regex against the code returned from the routine that builds the menu and remove the lines you want.
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM