Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • jowns 7 posts 20 karma points
    Jan 21, 2009 @ 13:52
    jowns
    0

    Navigation from Umbraco 3 to 4RC2

    I have made this site in Umbraco 3: http://aluline.dk.web15.123test.dk/

    Now I'm building a new site in Umbraco 4RC2 and wants to use the same navigation structure. I've copied all templates, css, macros and made the necessery changes - but nothing happens. I am a Umbraco-newbie so bare with me :)

    I guess the problem lies in the XSLT-file:

    [code]
    ]>

    version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxml="urn:schemas-microsoft-com:xslt"
    xmlns:umbraco.library="urn:umbraco.library"
    exclude-result-prefixes="msxml umbraco.library">









    <script type="text/javascript"><br />
    <br />
    <xsl:text disable-output-escaping="yes">&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--<br />
    <br />
    startList = function() {<br />
        if (document.all&amp;&amp;document.getElementById) {<br />
            navRoot = document.getElementById(&quot;listMenuRoot&quot;)<br />
            for (i=0; i&lt;navRoot.childNodes.length; i++) {<br />
                node = navRoot.childNodes[i];<br />
                if (node.nodeName==&quot;LI&quot;) {<br />
                    node.onmouseover=function() {<br />
                        this.className+=&quot; over&quot;;<br />
                    }<br />
                    node.onmouseout=function() {<br />
                        this.className=this.className.replace(&quot; over&quot;, &quot;&quot;);<br />
                    }<br />
                }<br />
            }<br />
        }<br />
    }<br />
    window.onload=startList;<br />
    <br />
    //--&gt;&lt;!]]&gt;</xsl:text><br />
    </script>





    [/code]

    Anybody?

  • jowns 7 posts 20 karma points
    Jan 21, 2009 @ 13:54
    jowns
    0

    By "nothing happens" I mean that the menu doesn't appear: http://havnsoehotel.dk.web15.123test.dk (should be just below the top image)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies