質問

I'm working on a website that has a mobile version based on jquery. I want the user to be able to go to the orginal version from the mobile version, but when i use a link to the orginal version the div tags are invisible until i refresh the page. How can i fix this?

役に立ちましたか?

解決

You should use CSS media queries to hide content at smaller screens. Otherwise, you need javascript resize event listeners to check if the screen size changes and then show your content. That's more work and performance drain than you want.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top