Flyer53 / jsPanel3

A jQuery Plugin to create highly configurable floating panels, modals, tooltips, hints/notifiers or contextmenus for use in a backend solution and other web applications.
http://v3.jspanel.de/
Other
89 stars 21 forks source link

Minimize a panel in the same order in which multiple panels were initially created? #26

Closed Octavient closed 7 years ago

Octavient commented 8 years ago

I use multiple panels in my app, and they all minimize to the bottom left corner of the screen. When individual panels are normalized, and then minimized again, they don't minimize into the same order in which they were originally created. See here. Is there any way to always get the minimized panels in the same exact order?

Flyer53 commented 8 years ago

Well, I've got an idea for this. But I need to set up a working example and try a few things ... So give me a day or two and I'll show you something. Would be helpful to know:

There is already a working example that's similar to your idea. Maybe even better because it stacks minimized panels that belong to the same category. Take a look at http://jspanel.de/media/demos/group-minimized.html

Btw: Thanks for those excellent scrennshots. Makes it a lot easier ...

Octavient commented 8 years ago

Thanks for the reply. I have four panels, and they aren't really categorized--they're each unique, and behave quite differently from one another. See them normalized here. (The Feedback panel doesn't normalize--it launches a 3rd party trouble ticket widget). I see what you're saying with the stacking, but I don't think that really works for this purpose--I want the normalized panels to not overlap each other. But, as mentioned, I'd prefer if they minimized back in the same order in which they were originally presented...

(PS Thanks for contemplating this. You should set up a (financial) contribution link, or something--this is very useful. I manage four + large start-up apps, and I can envision using this in all of them (eventually)...)

Flyer53 commented 8 years ago

Ok, here is the example four you: http://jspanel.de/media/demos/order-minimized.html Maybe not exactly what you want because it uses a predefined order for the minimized panels. If you need the minimized panels exactly in the order they were created just tell me and I try to find a solution for this as well.

PS: Not a bad idea ... do you know an easy to implement widget that provides something like a donation button (including the needed service behind it)?

Flyer53 commented 8 years ago

Now here is the example that orders the minimized panels in the order they were created http://jspanel.de/media/demos/order-minimized-2.html

Octavient commented 8 years ago

Awesome. Works like a charm. Thanks!

I couldn't get the template component to work (see error here)--any quick thoughts on this?

Suggest you do a Donate button with Paypal

Flyer53 commented 8 years ago

Could it be that the piece of code producing the error is loaded/executed before the jsPanel script is loaded?

2016-10-31 14:28 GMT+01:00 Octavient notifications@github.com:

Awesome. Works like a charm. Thanks!

I couldn't get the template component to work (see error here http://www.screencast.com/t/nH74T1GFP2)--any quick thoughts on this?

Suggest you do a Donate button with Paypal https://www.paypal.com/webapps/mpp/get-started/donate-button

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Flyer53/jsPanel3/issues/26#issuecomment-257293321, or mute the thread https://github.com/notifications/unsubscribe-auth/AGdJfQKF98-ynTAWjlk1XiqdOGK8klkkks5q5e0EgaJpZM4KjuXo .

Stefan Sträßer flych53g@gmail.com http://stefanstraesser.eu/ http://jspanel.de/ http://stefanstraesser.com/

Octavient commented 8 years ago

Ah, sorry, that was probably it. I moved it to doc ready, and the error went away. Unfortunately, now, only one of my panels is appearing at all.

That's okay, though, I can live with the $('.jsPanel:not(.jsPanel-modal):not(.jsPanel-hint):not(.jsPanel-tooltip)') work-around for now. Thanks again!