Answer the question
In order to leave comments, you need to log in
How to make page flipping without reloading the page (and without preloading) in a modal window?
Site on Drupal 7. There are several pages: node/1, node/2, etc.
Main content:
<?php print render($page['content']); ?>
)
- inside a modal window written with bootstrap code (on clicking on the "learn more" button).
If you open the modal window of the first page and click on the link of the material on the second page, the modal window will close and the page will reload.
1. It is necessary to make sure that without reloading the page, and without closing the modal window, the contents of another page are loaded.
2. Plus, you need to make sure that instead of prev and next - Headings of the previous and next material are shown.
There will be 43 pages in total (each - title, picture, content).
Please help me to implement this idea.
Answer the question
In order to leave comments, you need to log in
On fl.ru they sent me a video to clarify whether I meant it - this is what I need!
link to video example
Which module implements this? Or is there no such thing on Drupal.org?
Load information about potential pages. In the form: title, text, image_url. That is, not the entire page, but only textual information.
Next, when you click, refresh the current page by updating the title, text, and image URLs.
In general, you need to look at the project itself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question