Skip to content
Advertisement

Tag: sidebar

Load stored width position of vertical sidebar after page reload

How to set and use the local storage data of the left sidebar width after resizing the sidebar and reloading the page? I have created a local storage data and retrieve it using the codes below but after reloading the page the resized sidebar is going back to its default width. It should have an “onload” event attribute? Here is

Advertisement