Dnn5.1.4 uses soplarmenu, and uses axd and jquery, which not only has a large resource, in addition, the generated HTML code is not favored by search engines. <ul> <li> </LI> </ul>
It cannot be opened in a new window. I have mentioned switching to housemenu In the blogs of many predecessors, So I downloaded the latest housemenu2, which can be found at the official website http://www.houseofnuke.com /.
It is disappointing that such a problem occurs. For example, the second-level menu cannot appear, and the second-level menu from hover to parent menu does not appear in IE6. These problems are common. In its official forum, there are also many similar
But you have not received any official reply. No. Use reflection to decompile the housemenu. After testing, we found the problem, modified the problem, re-compiled it, and uploaded the DLL to the server.
And can be used after testing. At the same time, in light of China's national conditions, the original on this page is changed to open in the new page (_ blank). This is the site where I applied this Community version http://www.taotel.com/, you can see
Look at the effect of menu, because I am not good at CSS, some places are not satisfactory, I hope you will forgive me and improve it. Below I will list the specific deployment process and related files:
1. Upload the attachmentAvastone. housemenu. dllTo the server websiteBinDirectory, The avastone. housemenu folder is under the topics topmodules folder,
Where can I upload the CSS file housemenu.css to you? You can place a location on your own, for example, in the images folder, and add references to default. aspx.
For the sake of simplicity, place it between heads. Of course, this CSS file was modified on the official basis. You may need to modify the image path or other styles to suit your website.
Code
<Head id = "head" runat = "server">
<Meta content = "text/html; charsets = UTF-8" http-equiv = "Content-Type"/>
<Meta id = "metarefresh" runat = "server" http-equiv = "refresh" name = "refresh"/>
<Meta id = "metadegion" runat = "server" name = "Description"/>
<Meta id = "metakeywords" runat = "server" name = "keywords"/>
<Meta id = "metacopyright" runat = "server" name = "Copyright"/>
<Meta id = "metagenerator" runat = "server" name = "generator"/>
<Meta id = "metaauthor" runat = "server" name = "author"/>
<Meta id = "metarobots" runat = "server" name = "Robots"/>
<LINK rel = "stylesheet" href = "/images/housemenu.css" type = "text/CSS">
<SCRIPT src = "/resources/shared/scripts/jquery. Min. js" type = "text/JavaScript"> </SCRIPT>
</Head>
2. Open the homepage template file used by the website. I use the default skin minimalextropy. So the path is portals \ _ Default \ skins \ minimalextropy \ index. ascx. Open
Locate the menu
Code
<Div class = "menu_style">
<Dnn: nav runat = "server" id = "dnnnav" providername = "dnnmenunavigationprovider" indicatechildren = "false" controlorientation = "horizontal" csscontrol = "mainmenu"/>
</Div>
This is the default navigation bar, that is, soplarmenu mentioned above. We don't need it, replace it with housemenu, and change it to the following
<Div class = "menu_style">
<Dnn: housemenu runat = "server" id = "housemenunav" rootmenuorientation = "horizontal" maxdepth = "88" rootdepth = "0" menuclientid = "housemenuh"/>
</Div>
Add the index. ascx Header
<% @ Register tagprefix = "dnn" tagname = "housemenu" src = "~ /Export topmodules/avastone. housemenu/housemenu. ascx "%>
3. After modifying default. aspx and index. ascx, upload the file to the server to overwrite the file.
Attachment (contains a folder, a DLL, and a CSS file. The DLL in the previous compressed package is incorrect. Please download it again)
/Files/showker/avastone.housemenu-byshowker2.rar