You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to fill up the contents dynamically with ajax so I changed it a little bit like below. Actually this is a chart which I want to auto scroll. ScrollingChart_Marquee.pdf
And start working when the content is loaded fully.
Next I am facing that inner divs get a width setting as style="width:100000px" which disturbs the whole inner content. Then I used the following code which gets my chart divs proper.
var myElements = document.querySelectorAll(".scroll-x");
for (var i = 0; i < myElements.length; i++) {
myElements[i].children[0].style.removeProperty('width');
}
But the problem comes when the scroll is reaching to end, it does not rotate the content but stretch the content and right portion gets stucked to right side only.
The text was updated successfully, but these errors were encountered:
I have to fill up the contents dynamically with ajax so I changed it a little bit like below. Actually this is a chart which I want to auto scroll.
ScrollingChart_Marquee.pdf
$('.scroll-x').bind('finished', function () {
$(this).marquee('destroy');
}).marquee({
duration: 30000,
gap: 10,
delayBeforeStart: 1000,
//duplicated: true,
startVisible: true,
direction: "left",
And start working when the content is loaded fully.
Next I am facing that inner divs get a width setting as style="width:100000px" which disturbs the whole inner content. Then I used the following code which gets my chart divs proper.
var myElements = document.querySelectorAll(".scroll-x");
for (var i = 0; i < myElements.length; i++) {
myElements[i].children[0].style.removeProperty('width');
}
But the problem comes when the scroll is reaching to end, it does not rotate the content but stretch the content and right portion gets stucked to right side only.
The text was updated successfully, but these errors were encountered: