Click here to view the post from real source
About
This technique was made with some couple of CSS, and Javascript codes which functions to call the list of articles on a blog and group it in an alphabetical order as shown in the thumbnail above.
Navigation is added in form of letters which on a click will scroll to the articles sorted under the prefix of same letters. This codes was modified from Igniel's frameworks.
NOTE: This sitemap doesn't functions as an XML sitemap to be submitted to search engine!
How to install the sitemap on your blog
1. Go to the Edit HTML in your Blogger dashboard and look for the code
Code:
</style> or ]]></b:skin>.
Add the CSS codes below just ABOVE any of the tags given
Quote:
/* Sitemap on Blogger's Blog Static Pages Sorted Alphabetically by longtechy.com */
#sitemap5{font-size:14px;font-weight:400}#sitemap5 .judul{font-size:150%;background-color:#008c5f;color:#fff;font-weight:600;text-align:center;margin-bottom:20px;padding:15px}#sitemap5 a{color:#666;text-decoration:none;transition:all .3s ease}#sitemap5 a:hover{color:#000}#sitemap5 .isi .abjad{background-color:#2196f3;color:#fff;padding:10px 15px;font-size:110%;font-weight:600;text-transform:uppercase;position:relative}#sitemap5 .isi .abjad #top:before{content:'';width:12px;height:calc(100% - 20px);position:absolute;right:0;top:0;padding:10px;cursor: pointer;background:rgba(0,0,0,.2) url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15,20H9V12H4.16L12,4.16L19.84,12H15V20Z' fill='%23fff'/%3E%3C/svg%3E") center/20px no-repeat}#sitemap5 ol,#sitemap5 ol li{list-style-type:none}#sitemap5 .nav ol{margin:0 0 15px;padding:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}#sitemap5 .nav ol li{background-color:#444;color:#fff;padding:7px 0;cursor: pointer;margin:0 5px 5px 0;text-align:center;text-transform:uppercase;width:40px}#sitemap5 .nav ol li:last-child{margin-right:0}#sitemap5 .isi ol{margin:0 0 20px;padding:0;border:1px solid #ccc;border-top:0}#sitemap5 .isi ol li{color:#666;margin:0;padding:10px 15px;line-height:1.5em;-webkit-margin-start:0!important}#sitemap5 .isi ol li:nth-of-type(even){background-color:#e9e9e9}#sitemap5 .isi ol li:nth-of-type(odd){background-color:#fff}@media screen and (max-width:480px){#sitemap5{font-size:13px}#sitemap5 .judul{padding:10px}#sitemap5 .isi .abjad{padding:7px 15px}}@media screen and (max-width:360px){#sitemap5{font-size:12px}#sitemap5 .judul{padding:10px}#sitemap5 .isi .abjad{padding:7px 12px}#sitemap5 .isi ol li{padding:7px 12px}}
2. Create a new page on your blog and name sitemap(or as you wish). Make sure you are in the HTML edit mode, not the compose mode! Then copy and paste all the Javascript codes below into the newly created page.
Quote:
<div id="sitemap5">Loading....</div>
[removed] //<![CDATA[
/* Sitemap on Blogger's Blog Static Pages Sorted Alphabetically by longtechy.com */
var scroll = 'smooth'; /* 'smooth' OR 'instant' */
/*
'smooth' for smooth scroll
OR
'instant' for quick scroll
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('q a=["","\\f\\s\\i\\g\\o\\d","\\s\\i\\c\\b\\d\\c\\W\\e\\c\\x\\c\\k\\d","\\f\\i\\s","\\u\\J\\c\\c\\h\\f\\u\\o\\j\\f\\d\\f\\u\\f\\r\\x\\x\\b\\i\\G\\1V\\b\\e\\d\\v\\z\\f\\j\\k\\1n\\s\\b\\e\\e\\N\\b\\s\\1b\\v\\f\\g\\d\\c\\x\\b\\o\\K\\1n\\f\\d\\b\\i\\d\\Z\\g\\k\\h\\c\\1o\\v","\\1n\\x\\b\\1o\\Z\\i\\c\\f\\r\\e\\d\\f\\v","\\b\\o\\o\\c\\k\\h\\1J\\E\\g\\e\\h","\\N\\j\\h\\G","\\f\\g\\d\\c\\x\\b\\o\\K","\\1H\\c\\d\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]][a[12]]>=V){1f+=V;1g()}1I{I(q t=1a,A=0;A<t[a[12]];A++){q R=t[A][a[23]][a[22]](0)[a[21]]();F(1j[a[24]](R)==-1){1j+=R;Q[R]=[{2l:t[A][a[25]],2m:t[A][a[23]]}]}1I{Q[R][a[20]]({"\\r\\i\\e":t[A][a[25]],"\\z\\r\\h\\r\\e":t[A][a[23]]})}};I(q y 1O Q){1p[a[20]](y)};q t=1p[a[26]]();I(q C=0;C<t[a[12]];C++){T+=a[27]+t[C]+a[28]+t[C]+a[29];I(q L=0,1m=Q[t[C]];L<1m[a[12]];L++){q X=1m[a[26]](B(y,t){1L y[a[23]]>t[a[23]]?1:-1});T+=a[1W]+X[L][a[25]]+a[1U]+X[L][a[23]]+a[28]+X[L][a[23]]+a[2u]};T+=a[2o];1q+=a[2n]+t[C]+a[2r]};Y[a[10]]=a[2g]+1a[a[12]]+a[2p]+1q+a[1Z]+T+a[1R];1A()}}}B 1A(){D[a[1D]](a[1P])[a[1y]](B(y){y[a[1s]](a[1u],B(){q t=a[1S]+1N[a[10]]+a[2b];D[a[1r]](t)[a[1T]][a[1z]]({1C:1v,1G:a[1M]})})});D[a[1D]](a[2a])[a[1y]](B(y){y[a[1s]](a[1u],B(){D[a[1r]](a[2q])[a[1z]]({1C:1v,1G:a[1M]})})})}1g()',62,155,'||||||||||_0x764c|x61|x65|x74|x6C|x73|x69|x64|x72|x6F|x6E|x20|x3C|x3E|x70|x22|var|x75|x63|_0xd28cx14|x2F|x3D|x76|x6D|_0xd28cx17|x6A|_0xd28cx15|function|_0xd28cx18|document|x68|if|x79|x2E|for|x66|x35|_0xd28cx19|_0xd28cx12|x62|x23|_0xd28cx10|grup|_0xd28cx16|_0xd28cxe|print|_0xd28cxf|max|x45|_0xd28cx1b|_0xd28cxd|x2D|||||||||||sitemap5Arr|x6B|_0xd28cx13|_0xd28cx11|_0xd28cxa|start|runSitemap5|Array|x54|abjad|x4C|new|_0xd28cx1a|x26|x78|key|nav|46|47|x53|40|scroll|x71|x41|48|44|scrollSitemap5|_0xd28cxc|behavior|50|x77|x49|block|x67|else|x43|x42|return|43|this|in|49|x24S E N S O R9|41|45S E N S O R1|x3FS E N S O R0|x48|x4DS E N S O R8|||||||||||52|42|150|x4F|x5D|sitemap5S E N S O R6|x50|x3A|x5B|break|url|judulS E N S O R4S E N S O R3S E N S O R7|51S E N S O R5|x56|x4ES E N S O R2'.split('|'),0,{}));
//]]> [removed]
Note: var scroll is a scroll option. Use 'smooth' for smooth scroll while 'instant' for a direct scroll
You can see the preview of the page, save it and add the page created to the list of visible pages in youur blog pagesVV
V on your blog, also you may add as a link.
After a successfull installation as taught above you should have a perfect Sitemap sorted alphabetically on your blog. This will make it easier for your blog users to locate any article easily