Forum Discussion
Decision box design using js
- Feb 27, 2023
Take a look at Advanced Customizations here: https://community.f5.com/t5/technical-articles/apm-advanced-customization-examples-with-modern-template-v15-1/ta-p/288979
You'll need to modify the CSS in order to add an image to the decision box.
- Feb 28, 2023
I have inserted div in JS file like below and added CSS to the div
thank you for your time and support
var divLogo = document.createElement("div");
divLogo.id = "logo";
document.body.appendChild(divLogo);
var img = document.createElement("img");
img.setAttribute("src", "logo.png");
divLogo.appendChild(img);
Hi G-Rob
I saw the example of decision box in the link, but it is not fulfilling my requirements,
I am trying to insert a div with an image in decision box, could you please help me with the code to insert it
Edited by Leslie_Hubertus to ensure G-Rob sees the reply by tagging him in this post
Unfortunately, the example code is for inserting additional options, not general images. I'm not sure how this could be accomplished; perhaps support can help via a support request.
- krazzy522Feb 26, 2023Altocumulus
Dear G-Rob
I need the example code for inserting an additional option in the decision box.
- G-RobFeb 27, 2023Employee
I apologize that I'm unable to help. Hopefully someone else in the community can help out.
- G-RobFeb 27, 2023Employee
Take a look at Advanced Customizations here: https://community.f5.com/t5/technical-articles/apm-advanced-customization-examples-with-modern-template-v15-1/ta-p/288979
You'll need to modify the CSS in order to add an image to the decision box.
- krazzy522Feb 28, 2023Altocumulus
I have inserted div in JS file like below and added CSS to the div
thank you for your time and support
var divLogo = document.createElement("div");
divLogo.id = "logo";
document.body.appendChild(divLogo);
var img = document.createElement("img");
img.setAttribute("src", "logo.png");
divLogo.appendChild(img);
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com