You need to sign in to do that
Don't have an account?

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?!~
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?!~