|
6 | 6 | // @description Powerful picture viewing tool online, which can popup/scale/rotate/batch save pictures or find the HD original picture automatically |
7 | 7 | // @description:zh-CN NLF 的围观图修改版,增加高清原图查找显示(在线看图工具,支持图片翻转、旋转、缩放、弹出大图、批量保存、查找原图) |
8 | 8 | // @description:zh-TW NLF 的圍觀圖修改版,增加高清原圖查詢顯示(線上看圖工具,支援圖片翻轉、旋轉、縮放、彈出大圖、批量儲存、查詢原圖) |
9 | | -// @version 2017.4.9.2 |
| 9 | +// @version 2017.4.9.3 |
10 | 10 | // @created 2011-6-15 |
11 | 11 | // @namespace http://userscripts.org/users/NLF |
12 | 12 | // @homepage http://hoothin.com |
@@ -3376,6 +3376,8 @@ padding-left:24px;">'+shareItem.name+'</span>'); |
3376 | 3376 | var curPage=this.curPage; |
3377 | 3377 | let pre=curPage.querySelector("a.prev"); |
3378 | 3378 | let next=curPage.querySelector("a.next"); |
| 3379 | + if(!pre)pre=curPage.querySelector("a#prev"); |
| 3380 | + if(!next)next=curPage.querySelector("a#next"); |
3379 | 3381 | if(!pre)pre=curPage.querySelector(".prev>a"); |
3380 | 3382 | if(!next)next=curPage.querySelector(".next>a"); |
3381 | 3383 | if(!pre && !next){ |
@@ -3714,11 +3716,14 @@ display:none !important;\ |
3714 | 3716 | .grid>div>img { max-height: 180px; max-width: 320px; }\ |
3715 | 3717 | .list>div {text-align:center;}\ |
3716 | 3718 | .list>div>img { max-width: 100%; }\ |
| 3719 | +.gridBig{margin: 0px;}\ |
| 3720 | +.gridBig>div { float: left;}\ |
| 3721 | +.gridBig>div>img { max-width: 100%; }\ |
3717 | 3722 | </style>\ |
3718 | 3723 | </head>\ |
3719 | 3724 | <body class="grid">\ |
3720 | 3725 | <p>【图片标题】:' + title + '</p>\ |
3721 | | -<p>【图片数量】:' + nodes.length + ' <input type="checkbox" checked="checked" onclick="document.body.className=(document.body.className==\'grid\'?\'list\':\'grid\')">平铺对齐</p>\ |
| 3726 | +<p>【图片数量】:' + nodes.length + ' <select onchange="document.body.className=this.options[this.options.selectedIndex].value"><option value="grid">平铺排序</option><option value="gridBig">原图平铺</option><option value="list">列表排序</option></select></p>\ |
3722 | 3727 | '; |
3723 | 3728 |
|
3724 | 3729 | html += arr.join('\n') + '</body>' |
|
0 commit comments