This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Links as Event Action
#1
Is it possible to set an "link" as an Event Action?

We have two options for the user,

   

The first one is an event action if the X is clicked on, the second one is a standard link. Is it possible to modify the event action section to appear as a standard link? So when the the user clicks on it, instead of a link being called, and event script is executed?

Thanks
Reply
#2
Set link Additional classes to custom-link and add code to Custom JavaScript. Modify group address / value as needed.
Code:
$(function() {
  $('.custom-link')
    .off('vclick')
    .on('vclick', function() {
        grp.write('0/0/1', false);
    })
});
Reply
#3
Works great!!

Thanks
Reply


Forum Jump: