Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
Daniel Lawson
Vertical Centering of Modal Window
December 10, 2012 11:43 AM
Answer

Daniel Lawson

Rank: Junior Member

Posts: 25

Join Date: October 19, 2010

Recent Posts

I used the following modal window demo and it is working properly, http://www.liferay.com/community/liferay-projects/alloy-ui/demo?title=community-liferay-projects-alloy-ui-demos-dialog.

My issue comes when I use a link to open the modal window further down the page, the new modal window loads in the x,y coordinates to the top of the page not the viewport.

Is there a method to allow for the modal window to always open in the viewable area?

This is for Liferay 6.1

Regards,
Dan