Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Dialogue plugin

#356

people want a dialogue plugin. and I want it too.

Reported by MadRabbit · September 21st, 2010 @ 07:02 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. kevin
    kevin

    any ETA on this? would love to have this.

    September 26th, 2010 @ 12:37 AM

  2. MadRabbit
    MadRabbit

    Hi Kevin,

    No, not really, I'm working on those things in my spare time so it's hard to estimate. I'll try to pull something out the next weekend, but won't promise.

    September 26th, 2010 @ 03:34 PM

  3. MadRabbit
    MadRabbit

    btw you could use the Lightbox, it's not exactly the same but it allows you to show any sort of HTML content in it in a dialog mode.

    September 26th, 2010 @ 03:36 PM

  4. kevin
    kevin

    checked out lightbox, it looks more like for images /slideshow. ill wait for dialog ui from rightjs

    September 28th, 2010 @ 03:36 AM

  5. MadRabbit
    MadRabbit
    • State changed from new to resolved

    October 19th, 2010 @ 06:47 PM

  6. kevin
    kevin

    this is great! thanks a lot!
    is it possible to customize the color of title and buttons? if so how?

    October 19th, 2010 @ 06:52 PM

  7. kevin
  8. MadRabbit
    MadRabbit

    no problem! everything in rightjs is customizable, that the point :)

    October 19th, 2010 @ 06:59 PM

  9. kevin
    kevin

    if i want to change some css properties do i edit this http://rightjs.org/builds/ui/right-dialog-src.js?
    what is the recommended way?thanks

    October 19th, 2010 @ 07:47 PM

  10. MadRabbit
    MadRabbit

    No, you supposed to include your customizations into your application.css or something like that

    just keep in mind that you should include your stylesheets on your page after the dialog.js file, otherwise they won't have any effect

    October 19th, 2010 @ 08:04 PM

  11. Roman S.
    Roman S.
    • Assigned user set to RightJS Admin

    It would be nice to be able to add custom buttons to dialogs (such as 'reload' etc) and control existing. Is there any hope to get this functionality?

    Anyway thanks for the great tool!

    October 22nd, 2010 @ 09:51 PM

  12. MadRabbit
    MadRabbit

    Hey Roman,

    The wonder of RightJS UI is that all our widgets are inherited from the Element class, so if you need to add a new button, you can easily do that by yourself

    var dialog = new Dialog();
    
    var button = new Element('div', {
      'class': 'rui-button', 'html': 'Reload'
    }).insertTo(dialog.foot);
    
    button.onClick(function() {
      // trololo
    });
    

    October 22nd, 2010 @ 10:00 PM

  13. Roman S.
    Roman S.
    • Assigned user cleared.

    Wow, that's really great! Thanks :)

    October 22nd, 2010 @ 11:39 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.