example:"bonjour, ceci est la première phrase. salut, c'est la deuxième phrase. bonjour à nouveau, c'est la troisième phrase. bonjour, c'est la quatrième phrase. salut, désolé, je suis en retard, je suis la cinquième phrase."
};
// if use the "view/edit" button or rely on the api instead
varisSankore=false;
// whether to do window.resize or not (window = widget area)
varisBrowser=(typeof(widget)=="undefined");
functionwcontainer(containerID)
{
// some protecred variables
varthisInstance=this;
this.editMode=false;
vardata={};// see setData and getData
// widget size parameters
this.minHeight=100;
this.minWidth=400;
// set to 0 for no max width restriction
this.maxWidth=0;
// links to the elements of the widget
this.elements={};
/*
============
create
============
- creates html base, inits this.elements, assings events
example:"привет, это первое предложение. а это второе предложение. и снова привет, это третье предложение. добрый день, это четвертое предложение. привет, извини, но я последнее предложение."
};
// if use the "view/edit" button or rely on the api instead
varisSankore=false;
// whether to do window.resize or not (window = widget area)
varisBrowser=(typeof(widget)=="undefined");
functionwcontainer(containerID)
{
// some protecred variables
varthisInstance=this;
this.editMode=false;
vardata={};// see setData and getData
// widget size parameters
this.minHeight=100;
this.minWidth=400;
// set to 0 for no max width restriction
this.maxWidth=0;
// links to the elements of the widget
this.elements={};
/*
============
create
============
- creates html base, inits this.elements, assings events
sentences=(sankore.preference("ordSplText",""))?sankore.preference("ordSplText",""):"hello, this is the first sentence. hi, this is the second sentence. hello again, this is the third sentence. good morning, this is the fifth sentence. hi, sorry, i\'m late, i\'m the fourth sentence.";
sentences="hello, this is the first sentence. hi, this is the second sentence. hello again, this is the third sentence. good morning, this is the fifth sentence. hi, sorry, i\'m late, i\'m the fourth sentence.";