/    Sign up×
Community /Pin to ProfileBookmark

Is this done under JavaScript?

Hello
I am wondering sites such as ‘ [url]http://www.onemanga.com/Bleach/317/[/url] ‘ and ‘ [url]http://read.mangashare.com/Bleach/chapter-317/page001.html[/url] ‘ if it uses JavaScript to allow users when such image is clicked on will direct it into the next image? If or if not, may someone explain how it is done and if there is a tutorial that would give such a similar explanation. My thinking is that it is done through arrays, and if so, may someone please give an snippet or example?

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@FangJul 13.2008 — The code can be seen in the source of the document. It uses JavaScript for navigation where a html form action would have done the same.

This is a classic example of an incorrect use of JavaScript creating an accessibility problem.

http://www.webaim.org/techniques/javascript/
Copy linkTweet thisAlerts:
@AresiusauthorJul 13.2008 — i believe in ' http://read.mangashare.com/Bleach/ch...7/page001.html ', the code is Chapter:

<select name="chapterlist" class="chapterQuickNav" onchange="javascript:window.location='/Bleach/chapter-'+this.value+'/page001.html';">

or

<a href="/Bleach/chapter-317/page002.html"><img src="http://dl01.mangashare.com/manga/Bleach/317/001.jpg" class="chapterImage" alt="Bleach Chapter 317 - Page 001" border="0" /></a>

or they're maybe both it. but how do they increment page001.html, wouldn't that mean there is lots page00X.html in the harddisk?
Copy linkTweet thisAlerts:
@FangJul 13.2008 — but how do they increment page001.html, wouldn't that mean there is lots page00X.html in the harddisk?[/QUOTE]Yes, but all in different folders.
×

Success!

Help @Aresius spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...