Slider width problem not showing the last item.

592 views
Skip to first unread message

rmsdes...@gmail.com

unread,
Feb 18, 2014, 6:58:09 AM2/18/14
to sly...@googlegroups.com
Hi! I am having some issues with the slider not getting the correct width thus not displaying the last item of the list in horizontal slider. instead puts the last item under the slider because of not enough width. any way to fix this issue?

Sly.js

unread,
Feb 18, 2014, 10:34:36 AM2/18/14
to sly...@googlegroups.com

ray...@nerdattack.com.my

unread,
Aug 27, 2014, 4:16:32 AM8/27/14
to sly...@googlegroups.com, rmsdes...@gmail.com
On Tuesday, 18 February 2014 19:58:09 UTC+8, rmsdes...@gmail.com wrote:
> Hi! I am having some issues with the slider not getting the correct width thus not displaying the last item of the list in horizontal slider. instead puts the last item under the slider because of not enough width. any way to fix this issue?

Did you manage to solve this? I'm having the same issue but it only happens on Firefox.

Message has been deleted

diac...@gmail.com

unread,
Sep 23, 2014, 4:39:00 AM9/23/14
to sly...@googlegroups.com, rmsdes...@gmail.com
Hi.

Same for me. Last slide isn't showing up. Sometimes i see another problem, on load the slider not showing all images, just the first one.

fizik...@gmail.com

unread,
Oct 13, 2014, 11:39:14 PM10/13/14
to sly...@googlegroups.com, rmsdes...@gmail.com
I added first slide <li> custom , so it didnt show last item.. then i added fixed width for first slider..and all is working... only Resize dont calculate right size of <li> elements..and that sux
Message has been deleted

vinay...@javelintools.com

unread,
Nov 12, 2014, 8:27:30 PM11/12/14
to sly...@googlegroups.com, rmsdes...@gmail.com, fizik...@gmail.com
On Tuesday, October 14, 2014 9:09:14 AM UTC+5:30, fizik...@gmail.com wrote:
> I added first slide <li> custom , so it didnt show last item.. then i added fixed width for first slider..and all is working... only Resize dont calculate right size of <li> elements..and that sux

I faced this issue too. The width was less by one pixel (always). The issue was reproducible only in Firefox and Safari. Worked fine on Chrome. I made the following jQuery call immediately after I called .sly()

$('section-slidee ul').css('width', function(i){
return $(this).width() + 1;
});

That did the trick.
Reply all
Reply to author
Forward
0 new messages