Home › Forums › JavaScript › How to turn a few photos into a slider by click
- This topic is empty.
-
AuthorPosts
-
November 25, 2017 at 10:42 am #262935FunkaholikParticipant
i’m thinkin’ maybe there is a jquery plugin for this so it’ll be easier to use it insted of goin’
because i don’t know how to turn by click a pack of images into a slider with nav button next/previous
what you’d say?November 25, 2017 at 11:31 am #262937ShikkedielParticipantI think you’re pretty much there already, using the script that’s commented out:
Edit – I messed up the script, making it jQuery and thereby apparently losing the original JS version…
November 25, 2017 at 1:49 pm #262944FunkaholikParticipanthaha .. the one that was commented was all good for me but your script is more clear (less is more)
you see the only thing is how to kick photos into a slider when click on any image so all photos
will get together and start having a good time)) And then somehow by clickin X-close button they’ll get the intial position 0_0November 25, 2017 at 2:03 pm #262945ShikkedielParticipantEasy peasy.
November 26, 2017 at 1:02 am #262951FunkaholikParticipanttremendous work .. thanx again.,)
P.S. what’s up with that Tamiaweb.com?
November 26, 2017 at 9:55 am #262964ShikkedielParticipantNo problemos. Radio controlled cars are a long time hobby of mine. Tamiya’s one of the biggest and earliest brands. A friend had a huge amount of pretty rare documentation so I put it online for people to be able to rebuild their vintage stuff…
November 26, 2017 at 3:25 pm #262977ShikkedielParticipantIt’s actually the reason I started coding in the first place by the way.
November 27, 2017 at 10:07 am #262993FunkaholikParticipantGood reason to start and it’s that simple)
Whatcha think about quadrocopters?November 27, 2017 at 1:56 pm #263017ShikkedielParticipantDrones are neat but I’m more with the old skool road vehicles…
December 3, 2017 at 4:03 am #263267FunkaholikParticipanteahh but how i can customise the slider image proportions, because right they inherit it from .pic class
and if i change it then it effects the grid view also.December 3, 2017 at 8:55 am #263276ShikkedielParticipantFar as I can tell, you probably want to use a class for that to be added or removed inside the JS…
December 3, 2017 at 10:51 am #263288FunkaholikParticipantSomething like that
But it still caome back in a different view after you hit XDecember 3, 2017 at 11:05 am #263289ShikkedielParticipantYou can use the existing event listeners…
December 3, 2017 at 12:07 pm #263290FunkaholikParticipantCool .. and what about free space to be involved?
just to exlude all other inquieries and mark it as solved))P.S. your last script adds a class only for one slide not the others.
December 3, 2017 at 12:13 pm #263291ShikkedielParticipantI noticed about the single class, it worked nonetheless though. Must be the flex properties. But I’ve made a minor adaptation.
Edit – actually, it didn’t work well before.
Dunno what you mean about the free space.
-
AuthorPosts
- The forum ‘JavaScript’ is closed to new topics and replies.