Toggle Toolbar(s)

Toggle Toolbar(s)

Postby srazzano » Mon Jul 03, 2017 12:02 am

ImageToggle Toolbar(s)
Updated July 5th 2017 to include multiple toolbars.

Toggle toolbar(s) coded in script, example (for nav-bar and PersonalToolbar):

// *** nav-bar, PersonalToolbar, TabsToolbar or insert other toolbar(s) id to toggle, comma separated no spaces.
const toolbar = "nav-bar,PersonalToolbar";
// *** true for 16px toolbar button image, false for 32px toolbar button immage.
const image16px = true;
// *** true to apply css filter, false for no css filter.
const applyFilter = true;

Toggles coded toolbar(s), prevents toggling of buttons parent toolbar, retains last toggle state on startup and tooltip displays toolbar(s) id to be toggled.
Options for toolbar button image size (true = 16px, false = 32px) and apply css filter on button hover (true = apply filter, false = no filter).
Last edited by srazzano on Thu Jul 13, 2017 5:50 am, edited 6 times in total.
srazzano
 
Posts: 1479
Joined: Sat Mar 31, 2012 6:42 pm
Location: Las Vegas, Nevada

Return to Buttons made by forum users