Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-22-2011, 06:40 PM   PM User | #1
LegoTrip
New Coder

 
Join Date: Apr 2011
Posts: 25
Thanks: 4
Thanked 0 Times in 0 Posts
LegoTrip is an unknown quantity at this point
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 06:43 PM..
LegoTrip is offline   Reply With Quote
Old 09-23-2011, 04:52 PM   PM User | #2
LegoTrip
New Coder

 
Join Date: Apr 2011
Posts: 25
Thanks: 4
Thanked 0 Times in 0 Posts
LegoTrip is an unknown quantity at this point
Nobody? :'(
LegoTrip is offline   Reply With Quote
Old 09-23-2011, 06:04 PM   PM User | #3
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
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
harbingerOTV is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:51 AM.


Advertisement
Log in to turn off these ads.