Dynamic page button to lightbox

Does anyone have any working Velo code that allows you to dynamically link a button to a lightbox I input into the content manager database?

yes

Please see:

https://www.wix.com/velo/reference/wix-window/openlightbox

This helps you to pass and receive data from/to lightbox.

I don,t no

Check this post out https://www.wix.com/velo/forum/tips-tutorials-examples/connecting-your-database-to-lightboxes