In my opinion :First I would catch the attribute "linkname" using native javascript to not create a dependency with jQuery library.Second, I would create a parametered data element. This ability is not well known but very useful to combine it with event based rule, and so centralize redundant codeTh...