menuDrop command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnboy54
    New Member
    • Feb 2009
    • 17

    menuDrop command

    Hi there,

    I'm not sure if this is the right forum for this, but I am using the Rational Media Content Management system and I am unable to see any of the pages I wish to edit on my PC.

    However I notice that when I click on the 'Pages' option, it tries to invoke the following Java command:

    javscript: menuDrop('Pages ')

    and then everything just 'hangs' instead of the pages appearing. Has anyone got any ideas? I am using IE7 with sp2 by the way.

    John
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Are you sure you don't want to ask this question in a Javascript forum? This is a Java forum and both languages are quite different. Let me know and I'll move your question for you.

    kind regards,

    Jos (moderator)

    Comment

    • johnboy54
      New Member
      • Feb 2009
      • 17

      #3
      Yes if you could move it for me I would be grateful.

      Many thanks

      John

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Two quick things:
        1. Have you enabled JavaScript?
        2. It should be "javascript :", though depending on what it is, that may not be required.

        Post some of the code on the page.

        Comment

        • johnboy54
          New Member
          • Feb 2009
          • 17

          #5
          Thanks for the reply acoder.

          Coming from an background as an IT analyst, you'll forgive me if I am not very techie about this.

          There is a radio button in IE:

          tool/options/advanced

          Use JRE 1.6.0.07

          which I have ticked. I presume this is referring to the Java runtime environment. Is there anything else I should have ticked?

          Regards

          John

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            That's for Java (very different from JavaScript). To enable JavaScript, see this link.

            Comment

            • johnboy54
              New Member
              • Feb 2009
              • 17

              #7
              Many thanks for this acoder.

              I have tweaked the security settings, as you suggeted, but to no avail, even after a restart.

              I have dug out some code using the 'view source' link in ie.

              Would it be useful if I pasted this into the forum? I thought it looked quite dense.

              Regards

              John

              Comment

              • johnboy54
                New Member
                • Feb 2009
                • 17

                #8
                JS code

                Hello again acoder.

                I will attempt to send the code as an attachment.

                Hope this helps.

                John
                Attached Files

                Comment

                • acoder
                  Recognized Expert MVP
                  • Nov 2006
                  • 16032

                  #9
                  It seems as though the code for the menuDrop function is in the admin_common.js file which is in the "javascript " folder. If you could post that, it may help pinpoint the problem.

                  One other thing: do you see any errors when you click the link?

                  Comment

                  • johnboy54
                    New Member
                    • Feb 2009
                    • 17

                    #10
                    Many thanks again for this acoder. I presume the file you mention is a local file on my PC? If so I will dig it out.

                    There are no error messages that I can see.

                    Regards

                    John

                    Comment

                    • johnboy54
                      New Member
                      • Feb 2009
                      • 17

                      #11
                      menuDrop command

                      Hello again Acoder

                      The only Javascripts I can see on my PC is in the Adode folder for the Acrobat reader, which I don't think has anything to do with the application I am trying to run.

                      Regards

                      John

                      Comment

                      • acoder
                        Recognized Expert MVP
                        • Nov 2006
                        • 16032

                        #12
                        It depends on whether you're running this locally or not. Is this CMS online?

                        Wherever it is, just look in that folder and look for a folder named "javascript " which should have the JavaScript file.

                        Comment

                        • johnboy54
                          New Member
                          • Feb 2009
                          • 17

                          #13
                          Hello again acoder.

                          It is an onlne version of the CMS I am running, so I don't have access to this file. I will get in touch with 'Torchbox' who maintain the CMS on behalf of the MS Society. I will be in touch, however.

                          John

                          Comment

                          • acoder
                            Recognized Expert MVP
                            • Nov 2006
                            • 16032

                            #14
                            If it's online, perhaps you could post the link. If not, you can get to the file by using the path, e.g. if the page you're on is located at say http://www.rm.com/main/index.php, then the JavaScript file would be at http://www.rm.com/main/javascript/admin_common.js

                            This is because the only JavaScript file that I can see is via this line:
                            Code:
                            <script type="text/javascript" src="/javascript/admin_common.js"></script>

                            Comment

                            • johnboy54
                              New Member
                              • Feb 2009
                              • 17

                              #15
                              Many thanks acoder, I will give this a try.

                              Comment

                              Working...