Tagged: x Author Posts December 3, 2016 at 10:38 am #1279872 cmdevParticipant I have a button that loads a page in a new window. I’d also like to add an onClick function to define the size of the new window. Exactly: Here is the full link I need to add on a X theme button. December 3, 2016 at 11:13 am #1279892 ThaiModerator Hi There, Please add this code to the href field of your button: javascript:x_onclick(); After that adding the following code under Settings > Custom JS: function x_onclick(){ alert(123); } Hope it helps 🙂 Author Posts