/    Sign up×
Community /Pin to ProfileBookmark

Slideshow class feedback

Hello again,

My slideshow class is now functioning correctly on the Mac and on the PC, even on Internet Explorer for a single instance, so for the purposes of what I wrote it for it works okay.

However, I wanted to see if it was possible to instantiate two separate slideshows on the same page and at this point it gets confused and seems to start a slideshow of the player buttons, which leads me to believe that I’ve probably done something spectacularly wrong in the structuring of my class. This is my first stab at an object-oriented approach in JavaScript so if anybody can give me some tips on structuring it properly then it will be.

If anybody wants to play with it, then the HTML structure for a slideshow is

[code=html]<div class=”slideshow”>
<ul>
<li><img src=”[firstimage]”</li>
<li><img src=”[secondimage]”</li>
<li><img src=”[etc]”</li>
</ul>

</div>[/code]

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@adampennyauthorNov 20.2010 — Sorry, here's the javascript as an attachment

[upl-file uuid=fdb43eb8-e28c-414c-a49d-186967a12492 size=11kB]slideshow.js.bak.txt[/upl-file]
Copy linkTweet thisAlerts:
@adampennyauthorNov 22.2010 — Anybody?
×

Success!

Help @adampenny 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 6.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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...