Functionality
Overview
If you have to work with huge amounts of text, you may want to jump to a particular chapter without tedious scrolling. Webix provides API that allows getting the horizontal and vertical position of a particular line. Using the received coordinates, you can create a button that allows jumping to a specific part of the text. You can also adjust the scroll speed.
Vertical and horizontal scrolling
Webix ScrollView allows you to choose between vertical or horizontal scrolling, or use both modes simultaneously, giving you the freedom to make your data as user-friendly as you wish.
Imitation of Spenser
Now Morning from her orient chamber came,
And her first footsteps touch’d a verdant hill;
Crowning its lawny crest with amber flame,
Silv’ring the untainted gushes of its rill;
Which, pure from mossy beds, did down distill,
And after parting beds of simple flowers,
By many streams a little lake did fill,
Which round its marge reflected woven bowers,
And, in its middle space, a sky that never lowers.
There the king-fisher saw his plumage bright
Vieing with fish of brilliant dye below;
Whose silken fins, and golden scales’ light
Cast upward, through the waves, a ruby glow:
There saw the swan his neck of arched snow,
And oar’d himself along with majesty;
Sparkled his jetty eyes; his feet did show
Beneath the waves like Africa’s ebony,
And on his back a fay reclined voluptuously.
Ah! could I tell the wonders of an isle
That in that fairest lake had placed been,
I could e’en Dido of her grief beguile;
Or rob from aged Lear his bitter teen:
For sure so fair a place was never seen,
Of all that ever charm’d romantic eye:
It seem’d an emerald in the silver sheen
Of the bright waters; or as when on high,
Through clouds of fleecy white, laughs the coerulean sky.
And all around it dipp’d luxuriously
Slopings of verdure through the glossy tide,
Which, as it were in gentle amity,
Rippled delighted up the flowery side;
As if to glean the ruddy tears, it tried,
Which fell profusely from the rose-tree stem!
Haply it was the workings of its pride,
In strife to throw upon the shore a gem
Outvieing all the buds in Flora’s diadem.
The Human Seasons
Four Seasons fill the Measure of the year;
Four Seasons are there in the mind of Man.
He hath his lusty spring when fancy clear
Takes in all beauty with an easy span:
He hath his Summer, when luxuriously
He chews the honied cud of fair spring thoughts,
Till, in his Soul dissolv’d they come to be
Part of himself. He hath his Autumn ports
And Havens of repose, when his tired wings
Are folded up, and he content to look
On Mists in idleness: to let fair things
Pass by unheeded as a threshhold brook.
He hath his Winter too of pale Misfeature,
Or else he would forget his mortal nature.
Fame
Fame, like a wayward girl, will still be coy
To those who woo her with too slavish knees,
But makes surrender to some thoughtless boy,
And dotes the more upon a heart at ease;
She is a Gipsey, - will not speak to those
Who have not learnt to be content without her;
A Jilt, whose ear was never whisper’d close,
Who thinks they scandal her who talk about her;
A very Gipsey is she, Nilus-born,
Sister-in-law to jealous Potiphar;
Ye love-sick Bards! repay her scorn for scorn;
Ye Artists lovelorn! madmen that ye are!
Make your best bow to her and bid adieu,
Then, if she likes it, she will follow you.
Ode on Melancholy
NO, no, go not to Lethe, neither twist
Wolfs-bane, tight-rooted, for its poisonous wine;
Nor suffer thy pale forehead to be kiss’d
By nightshade, ruby grape of Proserpine;
Make not your rosary of yew-berries,
Nor let the beetle, nor the death-moth be
Your mournful Psyche, nor the downy owl
A partner in your sorrow’s mysteries;
For shade to shade will come too drowsily,
And drown the wakeful anguish of the soul.
But when the melancholy fit shall fall
Sudden from heaven like a weeping cloud,
That fosters the droop-headed flowers all,
And hides the green hill in an April shroud;
Then glut thy sorrow on a morning rose,
Or on the rainbow of the salt sand-wave,
Or on the wealth of globed peonies;
Or if thy mistress some rich anger shows,
Emprison her soft hand, and let her rave,
And feed deep, deep upon her peerless eyes.
She dwells with Beauty - Beauty that must die;
And Joy, whose hand is ever at his lips
Bidding adieu; and aching Pleasure nigh,
Turning to poison while the bee-mouth sips:
Ay, in the very temple of Delight 25
Veil’d Melancholy has her sovran shrine,
Though seen of none save him whose strenuous tongue
Can burst Joy’s grape against his palate fine;
His soul shall taste the sadness of her might,
And be among her cloudy trophies hung.
Scrolling to specific position
In case of big amounts of data you can bookmark Scrollview sections via special buttons that will instantly lead users to the related sections. Besides, you can make the Scrollview show any part of itself right after it is initialized.
Imitation of Spenser
Now Morning from her orient chamber came,
And her first footsteps touch’d a verdant hill;
Crowning its lawny crest with amber flame,
Silv’ring the untainted gushes of its rill;
Which, pure from mossy beds, did down distill,
And after parting beds of simple flowers,
By many streams a little lake did fill,
Which round its marge reflected woven bowers,
And, in its middle space, a sky that never lowers.
There the king-fisher saw his plumage bright
Vieing with fish of brilliant dye below;
Whose silken fins, and golden scales’ light
Cast upward, through the waves, a ruby glow:
There saw the swan his neck of arched snow,
And oar’d himself along with majesty;
Sparkled his jetty eyes; his feet did show
Beneath the waves like Africa’s ebony,
And on his back a fay reclined voluptuously.
Ah! could I tell the wonders of an isle
That in that fairest lake had placed been,
I could e’en Dido of her grief beguile;
Or rob from aged Lear his bitter teen:
For sure so fair a place was never seen,
Of all that ever charm’d romantic eye:
It seem’d an emerald in the silver sheen
Of the bright waters; or as when on high,
Through clouds of fleecy white, laughs the coerulean sky.
And all around it dipp’d luxuriously
Slopings of verdure through the glossy tide,
Which, as it were in gentle amity,
Rippled delighted up the flowery side;
As if to glean the ruddy tears, it tried,
Which fell profusely from the rose-tree stem!
Haply it was the workings of its pride,
In strife to throw upon the shore a gem
Outvieing all the buds in Flora’s diadem.
The Human Seasons
Four Seasons fill the Measure of the year;
Four Seasons are there in the mind of Man.
He hath his lusty spring when fancy clear
Takes in all beauty with an easy span:
He hath his Summer, when luxuriously
He chews the honied cud of fair spring thoughts,
Till, in his Soul dissolv’d they come to be
Part of himself. He hath his Autumn ports
And Havens of repose, when his tired wings
Are folded up, and he content to look
On Mists in idleness: to let fair things
Pass by unheeded as a threshhold brook.
He hath his Winter too of pale Misfeature,
Or else he would forget his mortal nature.
Fame
Fame, like a wayward girl, will still be coy
To those who woo her with too slavish knees,
But makes surrender to some thoughtless boy,
And dotes the more upon a heart at ease;
She is a Gipsey, - will not speak to those
Who have not learnt to be content without her;
A Jilt, whose ear was never whisper’d close,
Who thinks they scandal her who talk about her;
A very Gipsey is she, Nilus-born,
Sister-in-law to jealous Potiphar;
Ye love-sick Bards! repay her scorn for scorn;
Ye Artists lovelorn! madmen that ye are!
Make your best bow to her and bid adieu,
Then, if she likes it, she will follow you.
Ode on Melancholy
NO, no, go not to Lethe, neither twist
Wolfs-bane, tight-rooted, for its poisonous wine;
Nor suffer thy pale forehead to be kiss’d
By nightshade, ruby grape of Proserpine;
Make not your rosary of yew-berries,
Nor let the beetle, nor the death-moth be
Your mournful Psyche, nor the downy owl
A partner in your sorrow’s mysteries;
For shade to shade will come too drowsily,
And drown the wakeful anguish of the soul.
But when the melancholy fit shall fall
Sudden from heaven like a weeping cloud,
That fosters the droop-headed flowers all,
And hides the green hill in an April shroud;
Then glut thy sorrow on a morning rose,
Or on the rainbow of the salt sand-wave,
Or on the wealth of globed peonies;
Or if thy mistress some rich anger shows,
Emprison her soft hand, and let her rave,
And feed deep, deep upon her peerless eyes.
She dwells with Beauty - Beauty that must die;
And Joy, whose hand is ever at his lips
Bidding adieu; and aching Pleasure nigh,
Turning to poison while the bee-mouth sips:
Ay, in the very temple of Delight 25
Veil’d Melancholy has her sovran shrine,
Though seen of none save him whose strenuous tongue
Can burst Joy’s grape against his palate fine;
His soul shall taste the sadness of her might,
And be among her cloudy trophies hung.
Custom scroll
Webix Pro offers custom scrollbars to replace native browser ones. These scrollbars can be used with any scrollable Webix widget including Scrollview, Datatable, Template, etc.