Giter Club home page Giter Club logo

Comments (4)

keithamus avatar keithamus commented on August 11, 2024

I wouldn't be able to tell you without more information about the code that you're using. Could you please provide more information. Browser? OS? Other libs?

from jwerty.

heta avatar heta commented on August 11, 2024

using Firefox 12. Windows 2007 OS. the code is as follows inside the script tag...

        // functions for menu short-cuts
        function CloseMenu() {
            menu = $("#menu").data("tMenu");
            menu.close($($("#menu").data("tMenu").element).find('span.t-link', '> li').parent());
        }

        jwerty.key('alt+[a-z],[a-z]', function (e2) {
            //var menu = $("#menu").data("tMenu");
            var a = $('ul#menu > li[accesskey]', 'body')
                .filter(function (t) {
                    return $(this).data("opened") === 1;
                })
                .find('li')
                .filter(function (i) {
                    return jwerty.is($(this).attr('accesskey'), e2.originalEvent, 1);
                });



            var lnk = a.find('> a.t-link')[0];
            window.location = lnk.pathname; //lnk.attr('href');
            return false;
        }, false);


        jwerty.key('alt+[a-z]', function (e) {

            CloseMenu();
            var menu = $("#menu").data("tMenu");
            var a = $('ul#menu > li[accesskey]', 'body').filter(function (i) {
                if ($(this).attr('accesskey').split(',').length === 1) {
                    return jwerty.is($(this).attr('accesskey'), e.originalEvent, 0);
                }
                return false;
            });
            $(a).data("opened", 1);
            //alert(a.attr('accesskey'));
            menu.open($(a));
            return false;
        }, false);

        jwerty.key('Esc', function (e) {
            CloseMenu();
            return false;
        }, false);

....also have included jwerty.js in head tag. using jquery-1.7.1.min.js

from jwerty.

keithamus avatar keithamus commented on August 11, 2024

@heta are you still seing this issue?

from jwerty.

keithamus avatar keithamus commented on August 11, 2024

I'm closing this issue because there isn't enough information, and it's quite old. If you have some more information you can provide, then I'll re-open it

from jwerty.

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.