I did it work from topmenu with this plugin:
In top menu, just a link with plain HTML and a bit of custom JavaScript
<script type="text/javascript">
jQuery('#puntodeventa').click(function(e) {
e.preventDefault()
modal_dialog_open();
});
</script>
Hope it helps
Hi
thanks for your help, I did not think about that option, but it’s not working
I added a HTML link in that field, it shows on header but modal window is not working, it opens as a normal link. It’s strange that in the post content is working, but not in the header.
I guess I will think a different way to add this feature.
It’s an menu element attached to the enfold Secondary Menu
It was easier than i thought… just put a Vimeo link for each slide, and it’s done. It was what i needed.
Thank you very much for your help. Working fine.