Hi. I appreciate your work on this module. I have a ink that opens a dialog fine. However, I am trying to get that to trigger on page load. I can put the link in my tpl file, but I am not good enough with JS to make it it trigger automatically. Can you please give me an example of one that triggers on page load?

Comments

drclaw’s picture

Status: Active » Closed (works as designed)

Hi,

In a custom javascript file that is added to the page (for example in your theme) do something like this:

$( document ).ready(function() {
    $('.link-class').click();
});