Resource icon

How to retrieve your options in your JavaScript file 1.0

No permission to download

cclaerhout

Well-known member
Thanks for your help, but I've a little trouble understanding. I just need help about link my XenForo syntax located in an external JavaScript file to my style property:

Screenshot_1.webp
Screenshot_2.webp

@enabledDefaultBannerPickerImage only works if I put it in the template of my style and not if I put it in an external JavaScript file. My code works, but I can't fix this problem with my own method of coding.
 
Thanks for your help, but I've a little trouble understanding. I just need help about link my XenForo syntax located in an external JavaScript file to my style property:

View attachment 110235
View attachment 110236

@enabledDefaultBannerPickerImage only works if I put it in the template of my style and not if I put it in an external JavaScript file. My code works, but I can't fix this problem with my own method of coding.
Look at the template "demo_settings_js" ; you can use your style property in a data tag. I can only tell you to spend more time to read the code to understand it. You have all what you need here. I can't do more, sorry.
 
Back
Top Bottom