achieve a page by its number

obtenir ces boutons

Call a page by its number

NEW IN BLOGGER: YOU CAN ACHIEVE ANY PAGE OF THE BLOG BY ITS NUMBER.

An example is available here.

* * * * *
One other method is explained on a previous page available here : you can display the pages accessible by numbers at the bottom of the page.

However, it becomes ineffective when the number of pages increases, due to the lack of space at the bottom of the page.

* * * * *
NEW IN BLOGGER: with another method ut is possible to call a page by entering its NUMBER at the bottom of the screen.

For this, you must insert the code below, in the "home-post" of the blog.

OTHER NEW for Blogger: visitors can change (bottom of page) the number of posts per page, and decide to display summaries or not.

To create a "home-post", you must:
1) change the date of a message already published (otherwise it will appear that later) with a later date (ex 2020) to appear first at the opening of the blog;
2) ensure that this message appears alone on the page (to display a message per page, in the "dashboard", click "Layout" - in "Blog Posts", click on "Edit" - 1st line: choose the number of posts per page : 1 - Register).

By posting this message, the blog will display all messages (with number of posts per page set in the code "var numPerPage = 7").

To do this, you must insert the code below into the HTML version of the "home-post".

DO NOT ADD OTHER IN THE MESSAGE, OTHERWISE IT WILL APPEAR AT THE BOTTOM OF ALL PAGES.

<style type="text/css">#main{min-height:300px;}img.article_recent {padding:1px;width:55px;height:40px;border:0; float:left; margin:10px; margin-top:4px;margin-left:0px;margin-bottom:4px; background:#AFC6CE;} .goog-inline-block{display: none;} .footer-outer{}.date-header span{display: none;}.post-timestamp{display: none;}.post-author{display: none;}.post-comment-link{display: none;}.comments{display: none;}.blog-pager{display: none;}.home-link{display: none;}.blog-pager-newer-link{display: none;}.blog-pager-older-link{display: none;}</style><!-- place this code on a page in your blog --><script type="text/javascript">
var maxResults = 100; // 1-500 (500 maximum)
var numPerPage = 7; // nombre de messages affichés par page
var feedURIx = "/feeds/posts/default";
var theResult = null;
var longResumes = 300; // longueur résumé : nombre caractères
var lirelasuite = 1; // 0 ou 1
var ordreMess = 1; // couleur du numéro de page à encoder : de 0 (blanc) à 15 (noir)
var vignette = 1; // petite image : 0 ou 1
var dateInf = 0; // date en-dessous du message : 0 ou 1
</script><script src="https://sites.google.com/site/rvdmarcrailcatrain/home/inverser_ordre_3.js">
</script><div id="feedDiv">
<i>Loading. Please wait ...</i></div>

var maxResults = 100
must be higher than the number of messages, but should be as low as possible to speed up the display.

Other settings are explained in the above code. Do not forget to adjust the color of the page number to encode (0 = white, 15 = black) to the background color of the relevant blog.

Aucun commentaire: