Tyler Kendle Posted June 23, 2023 Share Posted June 23, 2023 Thanks for sharing Jose. I'm having trouble with template 2 JavaScript code. Template 1 worked just fine but having difficulty with template 2. Watching the Dr. Spotfire video it appears to be a little different code but that might be intended. Is that something you could update the article with if possible? Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted June 27, 2023 Share Posted June 27, 2023 Hello Tyler,FYI: Jose is currently out of office so please expect some delays in communication.Best RegardsFredrik Link to comment Share on other sites More sharing options...
Jose Leviaguirre Posted July 7, 2023 Share Posted July 7, 2023 Hello @Tyler Kendle There was a typo on the code. Please try again. The typo was on the landingPageImage variable from the template 2 script:landingPageImage = "https://preview.ibb.co/bMi5Y6/banner_img.png"";Please remove las character -the double quote "- it or replace with the new published codelandingPageImage = "https://preview.ibb.co/bMi5Y6/banner_img.png"; Link to comment Share on other sites More sharing options...
Tyler Kendle Posted July 11, 2023 Author Share Posted July 11, 2023 Thanks @Jose Leviaguirre , I'm having difficulty getting the banner to show up. I've tried a couple of troubleshooting ideas without any luck. I have my Use whitelist for allowed URLs set to false. I've even gone to the TextArea Preferences and put the Perform HTML Sanitation to False as well but no luck with the banner. I get the cards and everything else to show up, I'm only having trouble with that banner image. Any suggestions? I attached a screenshot of what it looks like in Spotfire Analyst on my side.Thank you! Link to comment Share on other sites More sharing options...
Jose Leviaguirre Posted July 14, 2023 Share Posted July 14, 2023 Hello Tyler Thanks for pointing that out. There was a typo on the CSS. I updated the code, so that the image shows different depending on the screen size. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now