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

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

Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top