Code Monkey home page Code Monkey logo

Comments (12)

banesto avatar banesto commented on May 22, 2024

Hi! When clicking the link I'm redirected to homepage.

from jquery-menu-aim.

jamierussell-50 avatar jamierussell-50 commented on May 22, 2024

Hi banesto, what country are you viewing the site in? It might be directing you to a site other than the UK. If you click this link:
http://uk.monsoon.co.uk/?countrycheck=true&languageCode=en_gb

and then go to http://uk.monsoon.co.uk/view/content/ip-test

that should hopefully solve it. Thanks,

from jquery-menu-aim.

banesto avatar banesto commented on May 22, 2024

Now I can see it. Maybe you could stip the code more gruesome - especially javascript? Because there are too many libraries involved - many of them could interfere.

from jquery-menu-aim.

banesto avatar banesto commented on May 22, 2024

But my first guess would be that there's is some other javascript that handles hover actions.

from jquery-menu-aim.

jamierussell-50 avatar jamierussell-50 commented on May 22, 2024

Ok thanks for the feedback, I can't strip out any of the other javascript libraries unfortunately as they are not under our access rights. It doesn't throw back any JS errors and it is technically working just not in the way I want it to at the moment so I assume there is something we can do with menu-aim to get it working right.

Thanks,

from jquery-menu-aim.

banesto avatar banesto commented on May 22, 2024

In the original site there is a dropdown menu as well - you should find out how it get's handled - it should be the one to trigger mouseleave action.

from jquery-menu-aim.

banesto avatar banesto commented on May 22, 2024

As to "no JS errors" - if there's no errors then whether something is overriden or is not called at all. My best advise is to put a real sample page with bare stuff in it - basic html, menu css and jquery with menu aim plugin javascript.

from jquery-menu-aim.

jamierussell-50 avatar jamierussell-50 commented on May 22, 2024

Hi Banesto, what do you mean by in the original site? If you mean our current live one then yes we do have one but we have to change the structure of it due to the new menu being 100% width amongst other things. I tried putting alerts in on some of the options such as exit and exitMenu and they were firing but it doesn't allow you to navigate down to the submenu if you do that. I've created the page as basic as I can get it on my side (without the site header and footer)....there are some JS includes but I've tested it in a static page when it doesn't have those and it's still getting exactly the same behaviour:

http://uk.monsoon.co.uk/view/content/nav-test

Many thanks,

from jquery-menu-aim.

jamierussell-50 avatar jamierussell-50 commented on May 22, 2024

Are there any examples you know of that have a drop down menu working on mouse over that use menu-aim I could use as a reference? The only ones I have found so far are left to right and onclick behaviour. Thanks,

from jquery-menu-aim.

banesto avatar banesto commented on May 22, 2024

Oh, I see it now. The markup is not correct, you have to put submenu block (<div id="submenu-women"></div> for instance) inside corresponding li element.

from jquery-menu-aim.

jamierussell-50 avatar jamierussell-50 commented on May 22, 2024

Hmm ok that's going to be a pain as I'm struggling to get the submenu to be 100% width with the top nav remaining centered with several items, part of the reason I was looking at using this over our current one (See example below so you can see what I mean):
http://uk.monsoon.co.uk/view/content/ip-test

I'll have a play around with it but if you have any other suggestions they'd be most welcome. Kind regards,
Jamie

from jquery-menu-aim.

jamierussell-50 avatar jamierussell-50 commented on May 22, 2024

I managed to solve the issue I was having....I had a relative position on the top level 'li' items...so when the sub menu was shown it was restricting the width to the same as the top nav item. Once I removed the relative position it went to 100% of the width. Kind regards,

from jquery-menu-aim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.