Home › Forums › JavaScript › show/hide › Reply To: show/hide
May 13, 2016 at 4:30 am
#241585
Participant
OK – I’ve revised the scripts to include an option to initially hide widgets with a ‘.widget-hide-init’ class on the side dock list item.
Look for the extra code block in the widgetShow loop (in both demos)
Cookie demo, no drag+drop:
http://fofwebdesign.co.uk/template/_testing/widgets-show-hide-dock-cookie.htm
And a change to the showWidget() function in the drag+drop demo – Local Storage with drag+drop:
http://fofwebdesign.co.uk/template/_testing/widgets-show-hide-dock-drag-local-storage.htm