| 99 |
font-size: 16px; |
font-size: 16px; |
| 100 |
text-decoration: line-through; |
text-decoration: line-through; |
| 101 |
} |
} |
| 102 |
|
IMG.auto_adjust |
| 103 |
|
{ |
| 104 |
|
display: none; |
| 105 |
|
} |
| 106 |
</style> |
</style> |
|
<script type="text/javascript" src="../js/img_adjust.js"></script> |
|
| 107 |
<script src="../js/polyfill.min.js"></script> |
<script src="../js/polyfill.min.js"></script> |
| 108 |
<script src="../js/axios.min.js"></script> |
<script src="../js/axios.min.js"></script> |
| 109 |
|
<script src="../js/jquery.min.js"></script> |
| 110 |
<script type="text/javascript"> |
<script type="text/javascript"> |
| 111 |
function ch_page(page) |
function ch_page(page) |
| 112 |
{ |
{ |
| 325 |
{ |
{ |
| 326 |
f.addEventListener("submit", (e) => { |
f.addEventListener("submit", (e) => { |
| 327 |
e.preventDefault(); |
e.preventDefault(); |
| 328 |
move_article(f.sid.value); |
if (f.sid.value > 0) |
| 329 |
|
{ |
| 330 |
|
move_article(f.sid.value); |
| 331 |
|
} |
| 332 |
}); |
}); |
| 333 |
} |
} |
| 334 |
}); |
}); |
| 335 |
|
|
| 336 |
</script> |
$(document).ready(function() { |
| 337 |
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3013347141025996" crossorigin="anonymous"> |
$("img[class=auto_adjust]").on("load", function() { |
| 338 |
|
if ($(this).width() > {$BBS_img_max_width}) |
| 339 |
|
{ |
| 340 |
|
$(this).width({$BBS_img_max_width}); |
| 341 |
|
} |
| 342 |
|
$(this).show(); |
| 343 |
|
}) |
| 344 |
|
.on("mousewheel", function(e) { |
| 345 |
|
var zoom = parseFloat($(this).css("zoom")); |
| 346 |
|
zoom *= (1 + e.originalEvent.wheelDelta / 1000); |
| 347 |
|
if (zoom > 0) |
| 348 |
|
{ |
| 349 |
|
$(this).css("zoom", zoom); |
| 350 |
|
} |
| 351 |
|
}); |
| 352 |
|
}); |
| 353 |
</script> |
</script> |
| 354 |
</head> |
</head> |
| 355 |
<body> |
<body> |
| 527 |
case "tiff": |
case "tiff": |
| 528 |
$atta_list .= <<<HTML |
$atta_list .= <<<HTML |
| 529 |
<br /> |
<br /> |
| 530 |
<img onmousewheel="return bbs_img_zoom(event, this)" src="dl_file.php?aid={$attachment['aid']}"> |
<img class="auto_adjust" src="dl_file.php?aid={$attachment['aid']}"> |
| 531 |
HTML; |
HTML; |
| 532 |
break; |
break; |
| 533 |
} |
} |