Giter Site home page Giter Site logo

Comments (10)

ajlkn avatar ajlkn commented on August 29, 2024

Applying the skel-panels-ignore class to any anchor inside that menu should prevent panels from affecting it/being affected by it.

from skel.

mmjamal avatar mmjamal commented on August 29, 2024

thanks i was able to work but some other issue came up - the jqm inbuilt select menu is coming behind the panel.
i have tried setting panels z-index to 1 but it is still coming behind the panel. any idea to fix it

from skel.

ajlkn avatar ajlkn commented on August 29, 2024

Try disabling panels' use of CSS transforms as that may be conflicting with what you're trying to do.

http://skeljs.org/panels/docs#config-options-useTransform

from skel.

mmjamal avatar mmjamal commented on August 29, 2024

Now it is working clicking on the select menu but then when i try to click an item from list it is closing again
i have tried putting skel-panels-ignore on those items. Still its not working - the items have an href="#"
any idea whats going on ?

thanks

from skel.

ajlkn avatar ajlkn commented on August 29, 2024

If the menu you're using is generating new anchor tags that might be the
problem. Use your browser's dev tools to see if that's the case.

On 11/14/2013 7:11 PM, mmjamal wrote:

Now it is working clicking on the select menu but then when i try to click an item from list it is closing again
i have tried putting skel-panels-ignore on those items. Still its not working - the items have an href="#"
any idea whats going on ?

thanks


Reply to this email directly or view it on GitHub:
#23 (comment)

from skel.

mmjamal avatar mmjamal commented on August 29, 2024

yes it is generating anchor tags for each of the select menu item however even though i add the class skel-panels-ignore to them it is not working.

from skel.

ajlkn avatar ajlkn commented on August 29, 2024

That's because they're being dynamically generated. A workaround would
be to call this after you've initialized your menu (assuming your menu
has the id "mymenu"):

$('#mymenu a').addClass('skel-panels-ignore');

On 11/14/2013 7:29 PM, mmjamal wrote:

yes it is generating anchor tags for each of the select menu item however even though i add the class skel-panels-ignore to them it is not working.


Reply to this email directly or view it on GitHub:
#23 (comment)

from skel.

mmjamal avatar mmjamal commented on August 29, 2024

the skel-panels-ignore class is added to the anchor class because i can see it in the firebug. but for some reason the panel closes as soon as you click an item from jqm custom select menu item.

from skel.

ajlkn avatar ajlkn commented on August 29, 2024

Are they being added to every anchor tag inside that new menu?

On 11/14/2013 7:35 PM, mmjamal wrote:

the skel-panels-ignore class is added to the anchor class because i can see it in the firebug. but for some reason the panel closes as soon as you click an item from jqm custom select menu item.


Reply to this email directly or view it on GitHub:
#23 (comment)

from skel.

mmjamal avatar mmjamal commented on August 29, 2024

yes they are

from skel.

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.