Viewing 1 replies (of 1 total)
  • Plugin Author Eero Hermlin

    (@eero-hermlin)

    Hi

    Plugin takes into account only those elements, what exist on initialization moment. It’s so because plugin adds triggering action to clickable element, but if element does not exist (yet), this obviously fails. Therefore I’m sorry, but adding click action to later added elements does not happen automatically.

    In principle you must add onclick parameter to your dynamically added element (if WP-PostRatings plugin allows adding your own parameters):

    <img scr="your_dyn_added_image.jpg" onClick=$DGD.showBox($DGD.getBoxById('dgd_scrollbox-NNN', false));" />

    Where “dgd_scrollbox-NNN” is your scrollbox div id. However, I’m not 100% sure does it fully work, especially, will Lightbox functionality work.

Viewing 1 replies (of 1 total)
  • The topic ‘Triggering action – click on element’ is closed to new replies.