carousel
Posted by Taylor Bernard on June 25, 2015
scratching my head on how to do this one.
auto width divs have not been working well for me lately.
needs to fill with how many different selections there are, so say 2-6.
cant do like you did in the footer, by using a fixed with and padding then.
using that piece of code i found a while back that works great, and found it works on like ie 6+ so should be good there.
but when i do auto width on the container it fills to the parent size. it keeps inheriting width from parent container.
found a trick to use white-space: nowrap; and that fixes it trying to pull a diff width besides 'auto' but then for some reason that kills my margin: 0 auto centering.
auto width divs have not been working well for me lately.
needs to fill with how many different selections there are, so say 2-6.
cant do like you did in the footer, by using a fixed with and padding then.
using that piece of code i found a while back that works great, and found it works on like ie 6+ so should be good there.
but when i do auto width on the container it fills to the parent size. it keeps inheriting width from parent container.
found a trick to use white-space: nowrap; and that fixes it trying to pull a diff width besides 'auto' but then for some reason that kills my margin: 0 auto centering.
Comments
Taylor Bernard on June 25, 2015:
Taylor Bernard on June 25, 2015:
Justin Bernard on June 25, 2015:
Taylor Bernard on June 25, 2015:
Justin Bernard on June 25, 2015:
Justin Bernard on June 25, 2015:
Taylor Bernard on June 25, 2015:
Justin Bernard on June 25, 2015:
Taylor Bernard on June 25, 2015:
Justin Bernard on June 25, 2015:
Taylor Bernard on June 25, 2015:
looks like i copied their formatting. but i dont have li and ul formatting in my css. just divs.
so looks like i just put divs inside list. looks like it may be wrong?
Justin Bernard on June 25, 2015:
does it work?
Taylor Bernard on June 25, 2015:
now gotta figure out how to replace the dots and biggest thing is how to position the arrows to be outside of the div.
Justin Bernard on June 25, 2015:
you can have any hours off tomorrow that you work on this thing tonight
im swamped on other aspects at moment
thx
Taylor Bernard on June 25, 2015:
they made the selected state a bigger circle, and it works ok when its auto-tiling thru them. but if you mouse hover over it 'jumps' up size and looks real bad.
leave it alone or make them the same size and just change color?
Taylor Bernard on June 25, 2015:
Justin Bernard on June 25, 2015:
See if can fake it, make both dots same size, add trans to small one, or make circles same size
Taylor Bernard on June 25, 2015:
Taylor Bernard on June 26, 2015:
up on carbon. new js, css and home.html and should be all there.
few notes.
- the next and prev buttons are in the bxslider.css file, search for 'bx-prev' 'bx-next' . their placement are in their divs. their div SIZE is in '.bx-controls-direction a'
- this did this on webb too. i dont know if its a bug or how its supposed to be. but the auto-cycle will turn off once you use either the dots or arrows with a mouse click. after you click it will stop autocycling.
- '.bx-controls-auto' is placement of nav dots in relation to bottom of viewport
- a character like a 'p' that hangs down below the line is running into the whitebutton (play trailer button). may have to bump that margin down some. all their mockup copy didnt have any hanging characters, and its where they have it in the art.
- theres a way to do a controller in another div. shown here:
http://bxslider.com/examples/custom-next-prev-selectors
i couldnt get it to work. doubtful its any better than what were using now.
looks like its populating a blank div with copy, and using that copy as a selector (prevText, nextText). couldnt get it to work with an image div.
Taylor Bernard on June 26, 2015:
https://github.com/stevenwanderski/bxslider-4/issues/626
Justin Bernard on June 26, 2015:
ill try to integrate in a bit, hopefully can tweak it easy for the 4 placements
thx again
Justin Bernard on June 26, 2015:
Taylor Bernard on June 26, 2015:
Justin Bernard on June 26, 2015:
Taylor Bernard on June 26, 2015:
Justin Bernard on June 26, 2015:
Taylor Bernard on June 26, 2015:
centering fine. so i dont think its in the css.
leaves it up to a js issue or something as a bug since the /viper is a fullwidth div, which may be messing it up?
Taylor Bernard on June 26, 2015:
??
Justin Bernard on June 26, 2015:
thx
Taylor Bernard on June 26, 2015:
Justin Bernard on June 26, 2015:
http://client.fleeangrybear.com/lego/sparrow/
Taylor Bernard on June 26, 2015:
its when you specifiy the viewport to be a fixed pixel i think it was bugging on me.
try making that viewport a fixed width and make it red bg and let me try it again. theres a small % chance i may have had a setting on my firefox enabled that was causing the glitch. easy to test now.
Justin Bernard on June 26, 2015:
cause if so we good, there are no fixed widths, client was wanting that too, full screen slide out