WebSite X5Help Center

 
KJ S.
KJ S.
User

How to add button to go to next page and previous page  en

Auteur : KJ S.
Visité 798, Followers 1, Partagé 0  

How to add buttons at top and bottom of page to go to next page and previous page?

Posté le
19 RéPONSES - 3 UTILE
KJ S.
KJ S.
User
Auteur

I am looking some similar in the picture

Lire plus
Posté le de KJ S.
JJ. JUAG
JJ. JUAG
User

Use the three images in a text object and provide them with the links. Since there is no automatic definiton, which is the previous page and the next page. Insert the links in each page manually, going very fast, as the pages are specified in the link module of websitex5.
For upwards, select the link to the current page.
For down, place the anchor below and select the link to the anchor.
The objects can then be copied into all other pages and the links adjusted.

JJ.

Lire plus
Posté le de JJ. JUAG
Incomedia
Elisa B.
Incomedia

Hi KJ, 

please follow JJ.Juag's suggestion, if you need further help please feel free to get back here. 

Thanks! Kind regards.

Lire plus
Posté le de Elisa B.
KJ S.
KJ S.
User
Auteur

becasue my website will have more than 1000 pages and all of them run as Page 1, Page 2 and so on its very hard to make 2000 plus links. i need some suggestion to make next button in my page header 

Lire plus
Posté le de KJ S.
Myron A.
Myron A.
User

I can’t imagine anyone wanting to wade through a website consisting of more than 1000 pages!

Lire plus
Posté le de Myron A.
John S.
John S.
User

How about making the pages as a PDF?

You could then on ONE page make an iframe that shows the PDF.

People will then be able to page through the PDF. In the PDF you can have text, images and links.

For a maybe better suggestion we need to know what you intend to have on those 1000 pages. 

Lire plus
Posté le de John S.
John S.
John S.
User

One big advantage with the PDF will be, that you can have the search facility in PDF for only this document.

The search in PDF is very good.

Lire plus
Posté le de John S.
John S.
John S.
User

If you make the "pages" in Word, then you will be able to make an index for the document, and whenb the document is saved as a PDF, then the generated links for the index ( or indexes ) will be saved - as well as other links will be saved in the document.

Links can direct to certain positions in the document, but can also direct to other pages on your site, or whatever externally URL you specify.

Lire plus
Posté le de John S.
KJ S.
KJ S.
User
Auteur

pdf is not an option becasue page content will be different. do you have any html code to solve this problem which i can add? 

Lire plus
Posté le de KJ S.
John S.
John S.
User

What do you mean by : "page content will be different"?

I would never have thought that you would make 1000 pages with the same content!!!!!!

As said before : To make better suggestions could you tell something about what the pages should contain and what is the purpose with the 1000 pages.

Lire plus
Posté le de John S.
John S.
John S.
User

I don't think html code can solve this.

maybe a PHP script with buttons, that shows html-pages in an iframe.

But still - what is the purpose?

Lire plus
Posté le de John S.
KJ S.
KJ S.
User
Auteur

basically i want to put next and previous page buttons in my website header, when user click for next than it should take them from page1 to page2 and when on page 2 click it should take them from page 2 to page 3, so on. because most of other softwares have tis function built in where we can put this in master page. I am new to websiteX5 so finding it hard to figure out or may be this software don't have this capability.

Lire plus
Posté le de KJ S.
Esahc ..
Esahc ..
Moderator

KJ

In my opinion JJ offered the best solution, after all, you as the author are best placed to decide which should be the next page and it should not necessarily be dictated by the order in which pages appear on the map (step 3), it also gives you the option to jump to an anchor on a page should you wish to have a large number of "virtual pages" on a single physical page.

When creating a website with many pages for the user to trawl through I used to provide a "go back" option in the header based on the browser similar to this example https://perishablepress.com/go-back-via-javascript-and-php/

Lire plus
Posté le de Esahc ..
John S.
John S.
User

Hello KJ

I am making a little project where it can be set up for a folder which filetypes to select on, and also part of a filename. Then users should be able to browse through the selected files either via a list or via back/next buttons.

This should be for images, pdf, text-files and html-files. The result should be placed in an iframe.

So far I have a little test showing PDF from a folder - it is presented in a list, and when a document is clicked, it will be shown in the iframe. Later I hope to have also the back/next buttons.

I am thinking of a possibility to toggle between listview and back/next view.

With the back/next buttons and the possibility to select on filenames, then it should be possible to make a lot of pages ( without template ) and then give them a name containing a text like kjpage0001, kjpage0002.

Then set the script to select on filetype html and name containing kjpage. Then the pages will be shown in a list OR with  back/next buttons in top - where you quickly can page through the pages. Htmæ pages will load much quicker that the PDF.

You can see an example here : http://eksempelsite.dk/x52019test/page-1.php

If you could wait some few days or weeks, then something like this could maybe be useful for you. 

Lire plus
Posté le de John S.
John S.
John S.
User

Just to be sure : You know that you are able to make a site with lots of pages using the "normal" menu system.

The menu is like a tree-structure - ( but all the pages is in the root folder).

Normally pages are grouped. You will then have from start showing ( example ) 10 groups.

Clicking on a group will give you a menu with ( example ) 20 groups. Clicking on one of the groups will give you a menu with ( example ) 20 pages.

This way you can have a site with 10 x 20 x 20 = 4000 pages where you by just 4 clicks can navigate to a specific page. On the last group you could place a menu object to the left, and then you can easily click between the 20 pages. 

Lire plus
Posté le de John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
KJ S.
pdf is not an option becasue page content will be different. do you have any html code to solve this problem which i can add? 

(It > En) ... always avoid using the PDF format, which is not recommended; it is not a suitable format for the WEB, if you really can't do without it for printing reasons ...

... if your html pages are named sequentially with regular names, for example page1.html, page2.html, etc., then it would be very simple to create a sequential paging in JavaSript ...
[<< -] | [+>>]
... post your LINK on one of these pages, so that I can evaluate ...

ciao

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
KJ S.
KJ S.
User
Auteur

i think pagination will be my best option. i am trying to find code but no luck. if anyone can help like below format

«1  2  3  4  5  6»

Lire plus
Posté le de KJ S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
KJ S.
... ... «1  2  3  4  5  6»

( It > En) ... no! >> [ « 1  2   3   4   5   6 »] ... (*). .. ...

...  ... with my invention it would be simple ...
... ... if there are hundreds of pages, ... it would be better to create the numbered pages in a separate Project, made only of the numbered pages, to be exported in a sub-directory of the site, called for example "documentation"..
... this method would be the same as multi-site, or multi-language sites.
(*)... the pagination navigation menu could look like this:
◄◄ (-100) | ◄ (-10) | < BACK | FORWARD > | (+10) ► | (+100) ►► | goto n.page ●→ [__]
...
... for other methods or different tricks, you have to search or design other alternatives ...
... if you are interested in my invention, as I said before, post the LINK of the numbered pages, ... otherwise ignore this message of mine ...

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
John S.
John S.
User

My little project has come a little further.

It can be seen here : http://eksempelsite.dk/x52019test/evolutedsec.html

In a "standard" script I have expert help to make the back/forward ( not active yet). The script is able to upload files if allowed in setup. The Script can handle all file types if set up for that, and it will have user-settings so that there can be different folder permissions.

When the project is operational, then I intend to make a separate post on this forum in case anyone should be interested.

Lire plus
Posté le de John S.