CSS-Tricks / MovingBoxes

Simple horizontal slider which grows up the current box when it's in focus (image, title & text) and back down when it's not in focus.
http://css-tricks.github.io/MovingBoxes/
GNU Lesser General Public License v3.0
280 stars 147 forks source link

Setting Nav arrows at an absolute location when width of box stage is at 100% #83

Closed gbucha closed 12 years ago

gbucha commented 12 years ago

I am using the script on a new website: http://thejusticeconference.com/dev2012/

My issue is that I want the navigation arrows to be at an absolute location, but they move to different locations based upon the users browser width.

How can I just stick them to the edge of the current panel?

Mottie commented 12 years ago

Hi gbucha!

Sorry for not getting back earlier... maybe I'm not understanding, but it looks like the arrows are set using a negative margin or left or right of -530px. If I change that to -510px the arrows are flush with the current panel. It works, but I'm not sure if IE would like to do what you wanted... So, is that what you needed? Or am I missing something.

Very nice site by the way... I'm glad you've also found AnythingSlider useful :)

gbucha commented 12 years ago

I figured it out.

Kindest regards,

Greg Buchanan GelFuzion,Inc. www.gelfuzion.com V: 541-317-8616

On May 13, 2012, at 8:26 AM, Rob G reply@reply.github.com wrote:

Hi gbucha!

Sorry for not getting back earlier... maybe I'm not understanding, but it looks like the arrows are set using a negative margin or left or right of -530px. If I change that to -510px the arrows are flush with the current panel. It works, but I'm not sure if IE would like to do what you wanted... So, is that what you needed? Or am I missing something.


Reply to this email directly or view it on GitHub: https://github.com/chriscoyier/MovingBoxes/issues/83#issuecomment-5676967

Mottie commented 12 years ago

Ok! :)