GithubHelp home page GithubHelp logo

Focus on button about lobibox HOT 11 CLOSED

thecodeholic avatar thecodeholic commented on August 31, 2024
Focus on button

from lobibox.

Comments (11)

thecodeholic avatar thecodeholic commented on August 31, 2024

Yes I noticed. this will be fixed soon. I will focus on Yes button. Thank you

from lobibox.

thecodeholic avatar thecodeholic commented on August 31, 2024

I have updated the plugin. You can see and download new version.

from lobibox.

shethadit avatar shethadit commented on August 31, 2024

Instead of Yes button , i thing , Create the parameter for default button. If not then focus on first button.

from lobibox.

thecodeholic avatar thecodeholic commented on August 31, 2024

It is focused on first button. In the next update I will put the option for
focus button and I will also add navigation by keys.

On Mon, Nov 16, 2015 at 10:16 AM, Adit Sheth [email protected]
wrote:

Instead of Yes button , i thing , Create the parameter for default button.
If not then focus on first button.

β€”
Reply to this email directly or view it on GitHub
https://github.com/arboshiki/lobibox/issues/8#issuecomment-156927547.

from lobibox.

doradora avatar doradora commented on August 31, 2024

because default progress didn't have any button,so first button will become "undefined"

from lobibox.

thecodeholic avatar thecodeholic commented on August 31, 2024

That's right. I will fix this ASAP.

from lobibox.

thecodeholic avatar thecodeholic commented on August 31, 2024

I have fixed the problem. Write If its ok

from lobibox.

doradora avatar doradora commented on August 31, 2024

you use jquery to select class ".lobibox-btn" and then find the firstBtn
It doesn't work with Custom buttons
i think

if (me.$options.buttons){
var firstBtn = me.$el.find('.lobibox-footer').children();
firstBtn[0].focus();
}

from lobibox.

doradora avatar doradora commented on August 31, 2024

because my english ability is very poor.
so I reply very slow

from lobibox.

thecodeholic avatar thecodeholic commented on August 31, 2024

Once again you are right. I think your code will work. I will replace it.

from lobibox.

thecodeholic avatar thecodeholic commented on August 31, 2024

When messagebox is shown first button takes focus

from lobibox.

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.