We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5063
    • 5 Posts
    Hi,
    On my new site, which is still under construction I have problem with drop down menu. When I’m logged as a Administrator ( quickedit is active ) everything works fine on front end. You can see this situation on picture no. 1



    But when I logged out, open my site and hover the "Prehled sluzeb" again with mouse cursor - hover menu is out of order. Just you can see on picture no 2.


    Note: On second picture is mouse cursor on "Prehled sluzeb" but my screen shot program has not catch him.

    Could you help me please? I have no idea how to repair it..

    Thank you for you kind and time
      • 26016
      • 561 Posts
      Hi Chicken Vindalu,
      That’s a nice, spicy dish!!

      I have run into similar problems when working with certain items. What I had was that the Javascript used in the editor seemed to clobber some of the other Javascript that was operating with menus and so on.

      I don’t have an easy answer, because the editor "takes over". Maybe if you have another browser, you can have it open in another window to see what’s "really happening". I develop in Firefox and sometimes have the dreaded IE6 open in another window, for instance.

      Maybe somebody will have a better idea.

      Namaste,
      S
        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4
        • 5063
        • 5 Posts
        Hi samba,

        Thank you for answer. Im using Firefox too, but in IE I tested every page before publishing. My problem is in both browsers. I compare HTMLsource code of page when Im logged as a admin, and page when I logget out. They are very similar, but source code of page when Im loged as a admin has part
        <script type="text/javascript">
        
        var menu = new DropDownMenu($('myajaxmenu'));
        
        Event.observe(document, "keypress", function(e){ if(e.keyCode==27) {closeSearch();} });
        
        
        </script>
        integrated to source of my front end pages and when I logged out this code has in commentary. So in template source I deleted commentary tags but my problem is still same as before.

        Any idea?