Quick question.
Is it possible to make content that is pined to browser and treated like a lighbox scrollable?
Heres the setup.
Have long content page.
Have overlay with content that fills more then the browser height, that is hidden, and pined to browser.
click button to show overlay, and treat it as a lightbox.
The problem is, that if i dont set the “pin to browser” option, the overlay content is at the top of the page, so i have to scroll up to see it if im at the bottom of the page. If i set the"pin to browser option it shows like a normal lightbox would, but im unable to scroll the overlay content, witch fills more then the browser height.
Is there any way to make content that is pined to browser scrollable?
From what you are describing, you shouldn’t be using the pin feature at all. Instead, move the lightbox to where you want it before you show it. In the attached example I’ve added a Move action to the OnShow event of the lightbox panel. The formulas in the Move action moves the panel to the center of the window on x, and to Window.scrollY + 100 on y. There is a button part way down on the page that will show the panel using the lightbox option.
The beauty of putting the positioning in the OnShow event is that anything can show that panel and it will just appear where you need it.