CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript frameworks (http://www.codingforums.com/forumdisplay.php?f=62)
-   -   Jquery Slideshow Setting Weird Left Value? (http://www.codingforums.com/showthread.php?t=238830)

LegoTrip 09-22-2011 06:40 PM

Jquery Slideshow Setting Weird Left Value?
 
Hey guys!

I'm a bit of JavaScript n00b :confused: , 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! :)

LegoTrip 09-23-2011 04:52 PM

Nobody? :'(

harbingerOTV 09-23-2011 06:04 PM

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.


All times are GMT +1. The time now is 01:35 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.