Log in Latest topics » Forumactif Edge - Releases by Ange Tuteur Tue 03 Sep 2019, 11:49 » GIFActif - Giphy Button for the Editor by Ange Tuteur Wed 08 May 2019, 17:21 » Forum Closure by Ange Tuteur Mon 01 Jan 2018, 01:28 » Chit Chat Thread by Valoish Sun 31 Dec 2017, 19:15 » Font/Text background color. by Valoish Sun 31 Dec 2017, 19:11 » Forumactif Messenger - Instant Message Application for Forumotion by Wolfuryo Sun 31 Dec 2017, 18:24 » [GAME] Count to One Million! by brandon_g Fri 29 Dec 2017, 18:58 » Post Cards by manikbiradar Wed 20 Dec 2017, 07:50 » [GAME] Countdown from 200,000 by Valoish Wed 13 Dec 2017, 23:22 » GeekPolice Tech Support Forums - GeekPolice.net by Dr Jay Mon 11 Dec 2017, 19:12 » Asking about some plugin for Forumotion by Dr Jay Mon 11 Dec 2017, 19:10 » [GAME] What are you thinking right now? by Van-Helsing Sat 09 Dec 2017, 14:51 » Widget : Similar topics by ranbac Wed 06 Dec 2017, 18:11 » Change the Background of the Forum and put an image and how to make prefixs? by Clement Wed 06 Dec 2017, 15:19 » Hello from Western Australia by SarkZKalie Wed 06 Dec 2017, 05:34 Recent Tutorials Top posters Useful links and info Who is online? In total there are 23 users online :: 0 Registered, 0 Hidden and 23 Guests None Most users ever online was 515 on Tue 14 Sep 2021, 15:24 | Forum Font Size Selector Fri 13 May 2016, 12:55 by Ange Tuteur This plugin installs a small selector for the font size of the forum which allows you to adjust the size of the font to what you prefer.
This plugin is optimized for the following forum versions :
Note : This selector changes the global font size of the document and will not effect elements that have specified an absolute font size, such as text inside [size] tags. InstallationTo install this plugin go to Admin Panel > Modules > JavaScript codes management and create a new script with the following settings. Title : Font Size Selector Placement : In all the pages
When you're finished and have saved the script, the font size selector should be available at the top of your forum. If not, please see the modifications section to find out how to modify this plugin. ModificationsBelow is a list of modifications that can be made to this plugin. 1. Sizes At the top of the script you should see a variable named sizes. This variables contains an array of the font sizes available in the select drop down. Feel free to add more sizes or remove existing ones.
Note : Please make sure to separate each number by a COMMA : , ( e.g. 1, 2, 3, 4 ) 2. Position Below the sizes array you should see the position variable. This variable takes two(2) values ; 0 and 1, and determines the position of the selector. 0 = The selector is placed at the top of the selected element 1 = The selector is placed at the bottom of the selected element
Modify this variable to change the position of the font size selector. 3. Placement Below the position variable you should see the attachTo variable. This takes a string of CSS selectors which determine WHERE the font size selector will be placed. By default its placed inside the forum body, however if you want it to display somewhere else, such as in a widget :
all you need to do is change the string so that it matches your element's id or class :
4. Language Last but certainly not least is the lang object. You can use this object to change or translate the existing texts.
That's all the modifications ! If you have any questions, comments, or find a bug feel free to leave a reply below. Enjoy !
Comments: 36 |