Commit Graph

42 Commits

Author SHA1 Message Date
dd37756f24 Fixes inline-expanding.js to allow clickable pdf thumbnails 2021-01-09 16:41:05 -06:00
marktaiwan
84bc3b0f7b I forgot how to jQuery 2016-05-05 12:16:55 +02:00
marktaiwan
3e579ee1d4 Bugfix: reset multifile container width
#371
2016-05-05 12:16:17 +02:00
marktaiwan
deefe7225d Bugfix: scroll to thumbnail on multipost close
Indroduced in 7364e85
2016-05-05 12:15:51 +02:00
8chan
5176377045 Fix many features for Internet Explorer 9 and 10
Please don't use "dataset" in scripts anymore, it doesn't work in IE9 or 10. Instead use $.data
2016-05-05 12:15:26 +02:00
marktaiwan
88f6088a42 fix Relative Time and Image Throttler 2016-05-05 12:14:22 +02:00
Markerov
c3146e1794 image throttler
initial commit
2016-05-05 12:11:12 +02:00
topkek
63491b0b9a Scroll to thumbnail when shrinking an expanded image 2016-05-05 12:10:09 +02:00
Markerov
fd2b41c1f0 Fix bug with inline expansion with Unanimate Gif
Issue #273
2016-05-05 12:09:55 +02:00
Markerov
bc2257be08 scroll to thumb
scroll up to image if its top is out of view when shrunk.
Requires jQuery
2016-05-05 12:09:41 +02:00
Markerov
4767a63178 renamed 'this.childNodes[0]' to thumb 2016-05-05 12:09:10 +02:00
Markerov
a723ff8e66 Display inline image when it starts loading,
Rewrote inline-expanding.js to display full image as soon as it starts
loading.
Modified expand-all-images.js to work with the new change
Moved max-width to style.css
2016-05-05 12:05:45 +02:00
Jano Slota
d65adac580 inline-expanding.js: 98% it is 2014-08-08 21:52:48 +02:00
Jano Slota
f14922ca8b inline-expanding.js: Or is it not after all? 2014-08-08 21:52:33 +02:00
Jano Slota
8d8f66c701 inline-expanding.js: maxWidth is pointless now 2014-08-08 21:48:56 +02:00
8chan
a9765f6c4a Fix issue #61 2014-06-12 17:48:53 +00:00
8chan
dfe8ddc340 Disable-able animated GIFs in a non-shitty way (unlike wizardchan) 2014-06-10 18:18:14 +00:00
Fredrick Brennan
dedc531adc Fix inline expanding issue with new styles 2014-04-30 10:21:02 -04:00
czaks
46d527ecf6 update jquery to 1.10.2; change "bind" to "on" everywhere; fixes vichan-devel#27 2014-01-21 19:25:11 +01:00
czaks
1c6b178dc5 add copyright notices for javascripts based on commit history 2014-01-19 14:27:24 +01:00
czaks
da1b7d087e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
2013-08-18 13:16:31 -04:00
Michael Foster
fa4dec36db Don't expand non-images 2013-08-18 16:40:07 +10:00
czaks
146243c473 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
2013-08-16 10:07:24 -04:00
Michael Foster
23f23b8301 Make js/inline-expanding.js better, now that post images are marked with .post-image 2013-08-16 22:02:57 +10:00
czaks
168a4d73cc Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-01 00:47:33 -04:00
Michael Foster
5bf0e7f7e7 Better/fixed jQuery styling and slightly improved js/inline-expanding.js accuracy (when jQuery is enabled) 2013-08-01 00:27:54 -04:00
czaks
55c7146d88 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
	inc/image.php
	js/expand.js
	js/hide-threads.js
	js/local-time.js
	js/smartphone-spoiler.js
	templates/header.html
	templates/index.html
	templates/main.js
	templates/page.html
	templates/post_reply.html
	templates/post_thread.html
	templates/thread.html
2013-07-31 14:54:20 -04:00
czaks
2868dd7886 javascripts: fixed interactions (BEWARE, inline-expanding.js now requires jquery! fix your configs)
Conflicts:
	js/expand.js
	js/inline-expanding.js
2013-07-31 04:47:50 -04:00
czaks
96bcf5dd1e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/functions.php
	inc/mod/pages.php
	install.php
	js/expand.js
	mod.php
2013-07-31 02:30:44 -04:00
Michael Foster
91bb3182da ⌘+click should open image in new tab 2013-07-30 19:07:28 -04:00
czaks
793042ee6c Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/inline-expanding.js
2013-07-29 23:17:37 -04:00
czaks
54714595f7 js/inline-expanding.js: Allow to work with auto-reload.js, etc. (jQuery is still optional)
Conflicts:
	js/inline-expanding.js
2013-07-29 22:54:09 -04:00
czaks
07ea457aa5 inline-expanding.js: missed preventing default action; shouldn't open new window when unwanted anymore 2013-07-27 02:19:58 -04:00
czaks
880cf25366 fix merge 2013-07-27 01:08:26 -04:00
czaks
64a66db613 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/hide-threads.js
	js/inline-expanding.js
	stylesheets/style.css
2013-07-27 01:04:36 -04:00
Michael Foster
c0a45ba123 Allow hide-images.js, toggle-images.js and inline-expanding.js to work together 2013-07-27 00:14:43 -04:00
czaks
dd4aea5431 inline-expanding.js: internal fix for better stability 2013-07-17 22:15:26 -04:00
czaks
1d76164e29 javascripts: fixed interactions (BEWARE, inline-expanding.js now requires jquery! fix your configs) 2013-06-15 01:39:39 -04:00
czaks
ef66fd62b4 inline-expanding.js: don't set max height 2013-06-15 00:37:12 -04:00
Michael Save
21cb95af28 inline-expanding.js: don't expand larger than the window 2012-04-22 16:57:26 +10:00
Michael Save
f444fa3b6e onready() instead of onload() 2012-03-31 19:37:31 +11:00
Michael Save
d9b2b3f7a1 inline-expanding.js 2012-03-31 19:18:53 +11:00