function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
doravmondoravmon 

sfoce.console Problem

Hello,
I have a question scroll my text in a console button. Here are the details:

sforce.console.setCustomConsoleComponentButtonText("{!ScrolledText}", scrollButtonText);
function scrollButtonText() 
        {                   
            sforce.console.scrollCustomConsoleComponentButtonText(80, 15, true);
        }

This works fine and did scroll my {!ScrolledText} , BUT!!!! The problem is : it didn't scroll all the text....for example, my text is:
abc def ghi jkl mno pqr stu vwx yz.    It will scroll to jkl, then refresh...and start from abc again..

When I check the html code behind, I have something like
<button type="button" id="ext-gen201" class=" x-btn-text" style="background: red;">
<div class="sd_widget_btn_text" style="width:470px;">
<span class="sd_widget_btn_text_positioner" id="ext-gen212" style="position: relative; left: 114px;">URGENT test</span>
</div>
</button>

any ideas?!~