We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10487 MODX Staff
    • 1,535 Posts
    Hi jwtyler,

    Your menu isn’t working ’cos the wrong element ID is being passed into the menu JS function. Your menu wrapper has an ID of ’ajaxmenu’ but the javascript is being called as follows:
    var menu = new DropDownMenu($('myajaxmenu'));

    Change the JS so it uses ’ajaxmenu’ and the menu should work fine.

    Hope that helps,
    Garry
      Garry Nutting
      Senior Developer
      MODX, LLC

      Email: [email protected]
      Twitter: @garryn
      Web: modx.com
      • 15159
      • 93 Posts
      Thanks Gary. I didnt change anything from default install. THanks...
        • 12873
        • 2 Posts
        Quote from: Auz at May 10, 2007, 11:50 PM


        http://d0wn.net/


        Hi Auz. Your skyline template rocks my socks off and I can’t wait to finish off the site I’m building on it. One thing that is confounding me though (and I notice the same behaviour on your demo site above) is...

        ...subsequent page loads place the browser window mid way down the banner in FF, and about a third in IE. I’ve fiddled with the CSS, but I’m pretty confused by the different containers.

        Is this a functionality that you built in?
        I wonder if it’s to do with my laptops small res 1024x768 ?

        Any way I can force the browser to load at the top of the page?

        thanks in advance
        IF.
          • 4041
          • 788 Posts
          I would be willing to bet its the login box you have on the side panel.... it uses javascript to put the cursor into the form and thats what causes the page to load crazy.

          Comment out the weblogin sidebar and see if that helps, if so I think I have a copy of the code I had to modify to alleviate that laying around I can dig up and show how to disable it.... smiley
            xforum
            http://frsbuilders.net (under construction) forum for evolution
            • 4041
            • 788 Posts
            Here is the area I had to modify to stop that from happening....

            Look in your assets/snippets/weblogin/weblogin.inc.php

            line 87 - 89 looks like this:
            <script type="text/javascript">
                    if (document.loginfrm) <?php echo !empty($uid) ? "document.loginfrm.password.focus()" : "document.loginfrm.username.focus()" ?>;
                </script>


            remove that and see if it solves the issue, only thing then is that the user will have to manually click the username box to put the focus there...
              xforum
              http://frsbuilders.net (under construction) forum for evolution
              • 12873
              • 2 Posts
              Quote from: breezer at May 26, 2007, 09:24 AM

              remove that and see if it solves the issue, only thing then is that the user will have to manually click the username box to put the focus there...

              Hi breezer - that did the trick. I’m so happy! Thanks very much!!! my lesson: think laterally.

              cheers
              IF. grin
                • 34162
                • 1 Posts
                hi again - awesome template thanks.

                i seem to have the opposite trouble to some others, the site looks amazing in Internet Explorer but in Firefox my menus don’t drop down, you float over and nothing happens, in IE the drop downs are there... can anyone help thanks.
                  • 34162
                  • 1 Posts
                  also i wanted to widened up the things a bit. so i changed all the 801px to 1001 and the 799 to 999 etc in the layout .css file. i then made the header files 1000pxs also and the footer etc.

                  but now everything is cool, but i get a few errors in IE 7 - also a strange black box under the search box and just above the News title. the pages look ok though but not in IE6. everything looks how it should in firefox though...
                    • 34162
                    • 1 Posts
                    also i’ve noticed my post a blog entry thing is really messed up with boxes covering each other up...
                      • 34162
                      • 1 Posts
                      i also noticed that tags don’t seem to be there. they’re not in the manager and i can’t access them from the quickeditor, how do i get tags on for my pages?