Skip to content Skip to sidebar Skip to footer

Div Remains Visible After The Page Reloads

I have languages link on my website when I load my home page the middle content div for the main page is visible by default and some other divs for the middle portion are also load

Solution 1:

You could either use a session variable stored in as a cookie or create a hash link to open the correct div when the page refreshes.

You could try:

Solution 2:

The best solution here is to set a cookie with JavaScript. Then when rendering the page read that cookie to hide the main div.

Post a Comment for "Div Remains Visible After The Page Reloads"