Good day
I will like to add a feature that will give users ability to increase and decrease the font size of my app
The size should be from 1-5 or small, medium and big
How can i implement this
Reply soon and thank you in advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Guest UserPosted Jul 31, 2014, 9:32 AM
i'm giving you algorithm below:
void page_load()
{
font1.add("small",1);
font1.add("medium",3);
font1.add("big",4);
}
now you have, dropdown_change event and where you want to apply this. Generally it's applied at RTE (rich text editor), e.g,
void font1_change()
{
rte1.selection.fontsize=font1.selectedIndex();
}