Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
Mr.Easybb (1587)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
Bloodbath (745)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
Rukiafan (533)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
Dom (513)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
puppycheese (446)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
pedro (330)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
Neymar (301)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
Hitsu (281)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 
Flora (275)
hide some options Vote_lcaphide some options Voting_barhide some options Vote_rcap 


hide some options

avatarGuest
Sun 30 Nov 2014, 22:22
ok so what i want to do is force bold font

and hide all the font options including the colors

if all else fails i can probably hide the option with css but i still need to know how to make bold on by default
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Thu 04 Dec 2014, 00:37
The AWC settings controller is used to control internal settings like this.
to remove a setting you'd use [ic]avacweb_chat.settings.remove('bold');[/ic]

However, since you want it to be permanently on then the setting must still exist.
So you should use: [ic]avacweb_chat.settings.value('bold', 1);[/ic] inside of an onload event.
And then hide the checkbox option with css, which you can inspect to find the ID.
avatarGuest
Thu 04 Dec 2014, 00:39
works perfect ty
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Thu 04 Dec 2014, 00:41
Good to hear! Smile
Hope that helped gain an understanding of how settings work in AWC too.
Sponsored content