05-05-2016 09:01 AM - edited 03-14-2019 04:03 PM
Hi,
I have a UCCX 11 system where I created a new tab in Finesse (agent) that displays some historical data. I am using the CUIC demo gadget (CUIC.xml, CUIC.js, CUIC.css) for this and in CUIC.js I put the permalink from the dashboard.
In Finesse agent I want to increase the window size, so agent doesn't have to use the slider. I did check the css, js, and xml file, but where do I change the windows size? I tried some values, but this did not change the size.
Any help?
Thanks
JH
Solved! Go to Solution.
05-06-2016 06:54 AM
It's in CUIC.css, but looks to be broken like some of the other samples on DevNet.
/**
* Default attributes for gadget body.
*/
body {
background: none transparent;
padding: 0px;
}
#frame1 {
width:100%;
height:650;
}
#agentout {
margin:4x;
}
Under frame1, height should have a number of pixels. Add "px" to the end of whatever value fits best for your content.
#frame1 {
width:100%;
height:650px;
}
05-06-2016 06:54 AM
It's in CUIC.css, but looks to be broken like some of the other samples on DevNet.
/**
* Default attributes for gadget body.
*/
body {
background: none transparent;
padding: 0px;
}
#frame1 {
width:100%;
height:650;
}
#agentout {
margin:4x;
}
Under frame1, height should have a number of pixels. Add "px" to the end of whatever value fits best for your content.
#frame1 {
width:100%;
height:650px;
}
05-08-2016 05:43 AM
Yes, that did the trick
One question, if you know:
In the css file I can set these frame value, but also the CUIC.js file there is this statement:
html += '<iframe src="' + permalink + ' " id="frame1" width="900" height="300"></iframe>';
How do these interact? Sorry, not so familiar with web programming
Jan
05-09-2016 08:20 AM
I'm not much of a web programmer, either, but it looks like the contents of CUIC.css will override whatever is set in CUIC.js.
If nothing is set for the iFrame height/width in the CSS file, it'll use whatever is in the JS file.
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