PHP Developers Network
http://forums.devnetwork.net/

Need a left<>right gallery slider - can it be done in CSS?
http://forums.devnetwork.net/viewtopic.php?f=68&t=141379
Page 3 of 3

Author:  simonmlewis [ Tue Jun 09, 2015 10:57 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS

Well I will be god damned, it works in that way.

Author:  simonmlewis [ Tue Jun 09, 2015 11:00 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS

I'm trying to work out how you can set borders and shadows, without breaking the "slider".
I just tried it, but the divs all went to two rows.

Author:  simonmlewis [ Tue Jun 09, 2015 11:04 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS

It works now. That was odd. Created a custom Class and it's fine. Just take s alot of work to make it look how you want.

How do you make the "left/Right" arrows appear?

Author:  Celauran [ Tue Jun 09, 2015 11:19 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS

http://kenwheeler.github.io/slick/#settings

arrows: true

Author:  simonmlewis [ Tue Jun 09, 2015 11:21 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS

ss.png
ss.png [ 1.86 KiB | Viewed 5272 times ]

This is how it is now. I made it grey to see the arrows.

So how do I stop it going right off the page? I Cannot see a width in CSS causing this.

Even if I put it in a separate 950w div, the left arrow is off the page, and the right edge of the right div is always missing.

Author:  simonmlewis [ Wed Jun 10, 2015 4:03 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS

I've got it to run in a page, with images.
It's still stretching out, but that's doubltless some odd CSS thing.
The problem now is the arrows and dots are not displaying, while the sliding is working fine.

Are the dot "run" by Javascript? I'm wondering if some other JS is breaking it.

I've copied all files over to the new folder on the site I am building it, and the two things that don't work are:

Width pushes the containing DIV outwards.
Left/Right arrows show up as very bizarre characters, and the dots are just the tinest of "swiggles".

I'm sure we are nearly there with it, but these final issues remain.

Author:  Celauran [ Wed Jun 10, 2015 8:39 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS


Author:  simonmlewis [ Wed Jun 10, 2015 8:46 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS

So that will stop the arrows showing, and using buttons instead?
Is there no way of stopping JS from breaking then. I guess it's a conflict of somekind.

Author:  Celauran [ Wed Jun 10, 2015 8:54 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS


Author:  simonmlewis [ Wed Jun 10, 2015 8:57 am ]
Post subject:  Re: Need a left<>right gallery slider - can it be done in CS

Cool - how do I find the conflict? This is something I've never had to do before.

Page 3 of 3 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/