Forum Discussion
NicoB
Lithium Alumni (Retired)
It's probably the selector which is not picking up the right element... unfortunately it's a trial and error exercise with DOM :)
Good luck!!
Nico
PerBonomi
11 years agoBoss
Got it! And I couldn't have done it without your help.
<#assign msgId = env.context.message.id /> <@delegate /> <div id="custom-${msgId}">your content here</div> <@liaAddScript> ;(function($) { LITHIUM.Loader.onLoad(function(){ $("#custom-${msgId}").prev().find(".lia-message-author-rank").append($("#custom-${msgId}")); }); })(LITHIUM.jQuery); </@liaAddScript>
Thank you thank you.
Related Content
- 2 years ago
- 2 years ago