Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript show/hide Reply To: show/hide

#241585
Beverleyh
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