• Resolved artildo

    (@artildo)


    Hi guys

    Any ideas why overlay lightbox plugins like “Colorbox” or “Fancybox” does not allow to show two different content?

    Let you have 2 or more links on the page which show lightbox with some HTML text in it. The content must be post-related, i.e. different. But 2nd and all other links will show in the box exactly what whas shown in the first one.

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s most likely a javascript or jQuery issue. Check there first.

    Thread Starter artildo

    (@artildo)

    Found the solution, good for Fancybox. All you need is to do set unique ID selector for every window. So if you have 10 postst with 3 Custom fields to show in the box, there will be 30 uniques ID. Just constructed the names dynamicly, basing on field type and post id.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Overlay box doesn't refresh HTML content’ is closed to new replies.