I have an html file that I want to display part of it according to some height value and then when user clicks on button next it will show the rest of the html file and so on. Same behavior as when a user flips pages of a book. How can I do that on IE browser using javascript and css over html file? Is there any available example?

有帮助吗?

解决方案

I belive you are looking for this:

https://jqueryui.com/tabs/

Those 'parts' of html are tab content, and 'button' to flip are tab controls.

But if you want use same button to flip, you'll need to manually call tab switch when button clicked.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top