Dividing html file content into several parts on user button click using javascript and css on IE

StackOverflow https://stackoverflow.com/questions/23383513

문제

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