Quantcast

Lightbox behaviour

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Lightbox behaviour

Bernat Romagosa
Hi list,

I've noticed something a bit annoying about how lightboxes behave in Iliad, which derives from how delegators work in general.

When you open a lightbox, the whole page is re-rendered, not only the lightbox, making even a small confirmation dialog take as long to show up (and close) as rendering the whole page behind it. 

This also causes a lightboxed widget to have different loading times depending on which page are you invoking it from, which gives users a bit of an inconsistency feeling.

How would you approach this problem? I've thought on rendering only the lightbox, and appending it to the DOM via javascript, but I'm not sure how would one implement this... any pointers?

Thanks a lot!

Bernat.

--
Bernat Romagosa.

--
You received this message because you are subscribed to the Google Groups "Iliad project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Lightbox behaviour

Nicolas Petton
Hi!

What I usually do is use an empty widget called 'lighter' or something like that to the application and append a lightbox to it.

HTH,
Nico

On Mar 4, 2013, at 12:20 PM, Bernat Romagosa <[hidden email]> wrote:

Hi list,

I've noticed something a bit annoying about how lightboxes behave in Iliad, which derives from how delegators work in general.

When you open a lightbox, the whole page is re-rendered, not only the lightbox, making even a small confirmation dialog take as long to show up (and close) as rendering the whole page behind it. 

This also causes a lightboxed widget to have different loading times depending on which page are you invoking it from, which gives users a bit of an inconsistency feeling.

How would you approach this problem? I've thought on rendering only the lightbox, and appending it to the DOM via javascript, but I'm not sure how would one implement this... any pointers?

Thanks a lot!

Bernat.

--
Bernat Romagosa.

--
You received this message because you are subscribed to the Google Groups "Iliad project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
You received this message because you are subscribed to the Google Groups "Iliad project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Lightbox behaviour

Bernat Romagosa
Great idea, thanks a lot!!


2013/3/4 Nicolas Petton <[hidden email]>
Hi!

What I usually do is use an empty widget called 'lighter' or something like that to the application and append a lightbox to it.

HTH,
Nico

On Mar 4, 2013, at 12:20 PM, Bernat Romagosa <[hidden email]> wrote:

Hi list,

I've noticed something a bit annoying about how lightboxes behave in Iliad, which derives from how delegators work in general.

When you open a lightbox, the whole page is re-rendered, not only the lightbox, making even a small confirmation dialog take as long to show up (and close) as rendering the whole page behind it. 

This also causes a lightboxed widget to have different loading times depending on which page are you invoking it from, which gives users a bit of an inconsistency feeling.

How would you approach this problem? I've thought on rendering only the lightbox, and appending it to the DOM via javascript, but I'm not sure how would one implement this... any pointers?

Thanks a lot!

Bernat.

--
Bernat Romagosa.

--
You received this message because you are subscribed to the Google Groups "Iliad project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
You received this message because you are subscribed to the Google Groups "Iliad project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Bernat Romagosa.

--
You received this message because you are subscribed to the Google Groups "Iliad project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Loading...