Not working out of the box

Home Forums Older releases 0.9.x Not working out of the box

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2559
    enchant
    Participant

    I’m having trouble getting the menu to work, and I’m really at a loss.

    If I unpack it, go to the Demo subdirectory and fire up index.html, the menus work fine. If I move that file to its parent directory, edit it and remove all instances of “../” the page looks ok, but the menus don’t drop down, nor are there arrows where there should be, like under “Sub test”. Is there some other configuration edit that I’ve missed?

    #2560
    enchant
    Participant

    Just noticed another oddity. The page I put in the parent directory is also missing the right column with the theme switcher and source code.

    #2583
    admin
    Keymaster

    It’s a path related issue and jQuery is probably not loaded. Do not link to “jquery-loader.js” (it is used to allow easy testing with different jQuery versions) but include directly jQuery on your page – i.e. replace:

    <!-- jQuery -->
    <script type="text/javascript" src="../libs/jquery-loader.js"></script>

    with:

    <!-- jQuery -->
    <script type="text/javascript" src="../libs/jquery/jquery.js"></script>

    or with something like:

    <!-- jQuery -->
    <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
    #2585
    enchant
    Participant

    Thanks – that did the trick.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?