gallery crawler
Sunday, March 1, 2009 2:31:04 AM
This time I have a really simple script, which I did long time ago. But, it's very useful nonetheless.
How many times did you go image galleries, and had to flip through links, ads and poor page design to browse the gallery?
Unfortunately that's quite common. But, it's also quite common for pictures to be numbered sequentially.
For these cases I have the following solution:

The script adds that small menu, only visible if hovered (so it won't cover the image), and the keyboard also works. n goes to the next, p to the previous.
So, if you like the idea, download the script from
xerath-gallery-next.js
Have fun !
EDIT (03-June-2009): I did a small update because images were dissapearing sometimes in imageshack. You may re-fetch the script
EDIT (02-Jan-2010): Fixed reference to helper function that was not included in the script, hence it broke for many other users.
How many times did you go image galleries, and had to flip through links, ads and poor page design to browse the gallery?
Unfortunately that's quite common. But, it's also quite common for pictures to be numbered sequentially.
For these cases I have the following solution:

The script adds that small menu, only visible if hovered (so it won't cover the image), and the keyboard also works. n goes to the next, p to the previous.
So, if you like the idea, download the script from
xerath-gallery-next.js
Have fun !

EDIT (03-June-2009): I did a small update because images were dissapearing sometimes in imageshack. You may re-fetch the script
EDIT (02-Jan-2010): Fixed reference to helper function that was not included in the script, hence it broke for many other users.


dapxin # Sunday, March 1, 2009 3:50:12 AM
KarenNerak # Sunday, March 1, 2009 5:01:03 AM
Charles SchlossChas4 # Sunday, March 1, 2009 5:09:44 AM
serious # Sunday, March 1, 2009 8:25:31 AM
Tamil # Sunday, March 1, 2009 9:23:39 AM
It is not working here.
João EirasxErath # Sunday, March 1, 2009 1:42:21 PM
Originally posted by Tamil:
Thanks Tamil, it's fixed
Tamil # Sunday, March 1, 2009 2:56:06 PM
Cyro # Monday, March 2, 2009 6:19:56 PM
HenryAOTEAROAnz # Sunday, March 15, 2009 6:09:26 PM
João EirasxErath # Tuesday, June 2, 2009 10:48:28 PM
CycyXcycyx # Monday, August 24, 2009 3:37:24 PM
When it pops, it's like no CSS is read, and it justs puts two "regular" links above images with "<Prev" and "Next>", but not it the upper left corner...
See here.
João EirasxErath # Monday, August 24, 2009 8:08:01 PM
CycyXcycyx # Wednesday, August 26, 2009 9:40:02 AM
I've just tried to remove all but your UserJS to no avail: same thing as in previous screenshot (and same thing for the Blender gallery for example).
Using 9.64/(Windows|Linux) with different skins on each setup.
otromba # Saturday, January 2, 2010 10:21:37 AM
double click?
or what?
João EirasxErath # Saturday, January 2, 2010 9:02:13 PM
CycyXcycyx # Wednesday, January 6, 2010 8:46:36 PM
On the Blender (http://www.blender.org) gallery (or others), I get the message "Parameter Error: Wrong parameters sent." when I click "Next"...
Charles SchlossChas4 # Wednesday, January 6, 2010 8:54:46 PM
next goes to: http://www.blender.org/index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2FOldGuy.jpg&width=800m&height=600m&bodyTag=%3Cbody%20style%3D%22margin%3A0%3B%20background%3A%23fff%3B%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=f4fbb81cce0f0d7d04b79279186435d8 the error Parameter Error: Wrong parameters sent. shows up
Hope that helps
João EirasxErath # Wednesday, January 6, 2010 9:43:55 PM
Originally posted by Charles Schloss:
is incremented to
Originally posted by Charles Schloss:
so, not much to do about it.
Thanks for the debug
Artur „Jurgi” JurgawkaJurgi # Monday, February 22, 2010 11:41:47 PM
There are also some features in conflict… The best solution would be to merge them, currently I have to choose one of them…
Charles SchlossChas4 # Tuesday, February 23, 2010 1:36:54 AM
skualninja # Wednesday, March 17, 2010 5:19:42 PM
gmpri # Wednesday, October 6, 2010 3:54:46 PM
var num = parseInt (snum, 10), instead of parseInt (snum)
João EirasxErath # Wednesday, October 6, 2010 7:58:25 PM
Originally posted by gmpri:
10 is implied, so that code is equivalent.