• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to retrieve your options in your JavaScript file 1.0

No permission to download

cclaerhout

Well-known member
#1

Dylan V

Well-known member
#3
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.png
Screenshot_2.png

@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.
 

cclaerhout

Well-known member
#4
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.