Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Of course. Can you explain what you have done so far? Have you tried creating a link or button that calls the modal_dialog_open javascript function as indicated in the plugin FAQ section in the UI?

    Can you give me a link to the page where you are trying to open the dialog using a link so I can see it live?

    Thread Starter tcamilo

    (@tcamilo)

    Hi again!!

    Here it is:
    https://dharma5academy.com/vida-plena-lead-br

    I’ve added this script to the header:
    <script type=”text/javascript”>

    function openDialog() {

    jQuery(“a#inline”).trigger(‘click’)

    }
    </script>

    and this to the page:
    teste

    Search for ‘teste’ and you will find de link. Inside a blue row ??

    Thanks!!

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Instead of writing your own opening function, just call Modal Dialog’s function:

    <a href="#" onClick="modal_dialog_open()" rel="nofollow">teste</a>

    Or, if you absolutely want to fix your own function, the correct clock action would be:

    jQuery(“a.inline”).trigger(‘click’)

    Please considering rating Modal Dialog or donating to support its development.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘open on click link’ is closed to new replies.