10-05-2021 02:11 PM
I am trying to figure out how to get a gadget to provide a vertical scroll bar when the browser windows is resized causing things to move around. I have found this information stating there is an XML feature to enable it however there is no information on how to implement it. Any information would be a great help.
Gadget Specification XML Features - Finesse - Document - Cisco DevNet
10-05-2021 06:54 PM
Is it the gadgets.window.adjustHeight?
You may find this post of interest as well if so. https://community.cisco.com/t5/contact-center/gadgets-window-adjustheight-is-not-working-on-internet-explorer/td-p/3497419
10-06-2021 09:16 AM - edited 10-06-2021 09:17 AM
Hi,
Per your link, to enable scrolling, you are supposed to add scrolling with a value of auto to the module prefs in the XML:
<ModulePrefs title="Sample Gadget" description="Sample Gadget" scrolling="auto" thumbnail="http://localhost:8082/" >
I tried this out really quick and it didn't seem to work, but I didn't do any debugging to see why. Give it a shot and let me know if it works for you.
Also, like Bill brought up, it is best to use gadgets.window.adjustHeight() instead and have the container auto adjust the height.
Thanx,
Denise
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide