Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2011
    Posts
    25
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Jquery Slideshow Setting Weird Left Value?

    Hey guys!

    I'm a bit of JavaScript n00b , so I hope this isn't too stupid but...

    I have a cool Jquery gallery on my website which contains a DIV that slides onto the page. However, I have noticed that the left style set to the element doesn't slide to 0, but rather depends on the content.

    Notice how the two examples stop at different places?
    http://www.juicenothing.com/freelance/WeAreLucky/ (ends on 157.5px)
    http://www.juicenothing.com/freelanc...Lucky/dirtest/ (ends on -57.5px)

    Is there anyway to make sure it always ends on left: 0px? Or is this all wrong?

    Also: I have noticed it is different on my friends PC, I am using a Mac, could this make a difference?

    Thanks in advance!
    Last edited by LegoTrip; 09-22-2011 at 07:43 PM.

  • #2
    New Coder
    Join Date
    Apr 2011
    Posts
    25
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Nobody? :'(

  • #3
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,801
    Thanks
    8
    Thanked 131 Times in 129 Posts
    I would start with fixing the HTMl errors in your:
    http://www.juicenothing.com/freelanc...eLucky/dirtest

    page. The page that is working fine doesn't have the same errors.
    Not sure if it has anything to do with it but, you are trying to figure out why one does it right and another does it wrong, you need to make them as similar as possible to debug.
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •