You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

1.2.2 Scrollable is a step backwards Created May 30, 2010

This thread is solved

Views: 3521     Replies: 14     Last reply Aug 1, 2010  
You must login first before you can use this feature

outre99

Posts: 6

Registered:
May 30, 2010

1.2.2 Scrollable is a step backwards

Posted: May 30, 2010

Apologies for a bombastic title. This is an invitation for a discussion, a vote for keeping some flexibility in this wonderful library, and not an incitement of flame wars.

I've been using the v1.1.2 in my sites integrating it into MODx, light boxes, and other stuff. The nice set of parameters like 'size', 'item', and page controls were great tools to take the content fetched by the CMS and present it in a very interactive way.
In the latest example my content was just a list of image links shown in a scrollable. Clicking on a link would open prettyPhoto lightbox to show a collection of images in that category.

The element structure of the links was constrained by the prettyPhoto in order for it to work (the limitation of prettyPhoto to be sure). But Scrollable was flexible enough to handle those constraints by specifying a different element for the item (item: "a"). The size parameter was a flexible way to control how many items would appear in a scrollable page.
Simple, effective, and compliant with the unobtrusive Javascript principle, which asks us to keep the html structure separate from the behavior. IMHO the size of the scrollable page has nothing to do with the content and everything to do with the behavior since it can change depending on the size of the screen.

That is why i think that the "simplifications" of scrollable in version 1.2.2 are a step backwards as the html content now is required to be set in strict nested structure of divs in order to make scrollable pagination work and there's no way that i see to use different elements as individual items. So now i'm forced to write extra code in order to organize my pretty semantic content into non-semantic divs just to get scrollable to paginate. Please let me know if there's a way and I somehow missed it.

Looking at the cost-benefit ratio I suspect that the small savings in the library size are not worth the loss of the flexibility and the resulting complexity of the overall project. I certainly understand that a single library cannot please everybody. But i'd like to point out that the audience for a Javascript library is a pretty smart bunch and that there's no need to oversimplify the library unless there's a pressing need for it. I hope that the next version will bring back a way to customize the library's behavior without touching the semantics of a page content. Until then i'll happily roll back to 1.1.2.

z211

Posts: 6

Registered:
May 31, 2010

» 1.2.2 Scrollable is a step backwards

Posted: May 31, 2010

Reply to: 1.2.2 Scrollable is a step backwards, from outre99
I agree and support the previous post. The current version is much less flexible. :(((

msie

Posts: 2

Registered:
May 31, 2010

agreed

Posted: May 31, 2010

Reply to: » 1.2.2 Scrollable is a step backwards, from z211
i also did a collateral update while doing some enhancements on a site and ran into the same problems.

having to insert "dummy"-divs for pagination to work is lame to say the least.

seeking to items is not straight forward if you have to locate its parent first - having one singe item standing on the last page looks also weird (here scrollable should recognize it and not scroll more items than available)

killebrewj

Posts: 83

Registered:
May 26, 2008

» 1.2.2 Scrollable is a step backwards

Posted: Jun 1, 2010

Reply to: 1.2.2 Scrollable is a step backwards, from outre99
I also agree. I use 1.1.2 in a very simple 2 panel setup and my attempt to switch to 1.2.2 was a failure. The new simpler way that the circular feature works appears to be flawed in the way it detects the size of the scrollable. There is apparently no longer a way to specify how many items forward to move at a time or to manually specify how large the scrollable is.

I just read about the dummy div paging method. This may provide a sort of hack or work around to get the old functionality back and prevent odd circular problems but this would require a heck of a lot more code to pull off than 1.1.2 since im creating items with content from a cms so dummy or nested divs would have to be created in a loop.

I give up.

killebrewj

Posts: 83

Registered:
May 26, 2008

» 1.2.2 Scrollable is a step backwards

Posted: Jun 1, 2010

Reply to: 1.2.2 Scrollable is a step backwards, from outre99
I also discovered OnBeforeSeek is now firing at least a couple times as soon as the scrollable loads, and onBeforeSeek does not fire on an item that was just moved/duplicated to make circular work.

PawPrint.net

Posts: 13

Registered:
Apr 8, 2010

» 1.2.2 Scrollable is a step backwards

Posted: Jun 8, 2010

Reply to: 1.2.2 Scrollable is a step backwards, from outre99
I truly do appreciate the efforts of the developers of this library - but I'm afraid I have to agree with the others, this "upgrade" has lost so much of the key function of the scrollable widget that I unfortunately needed to go back to the old version.

I wonder if perhaps this is a case where, when looking at the functionality the dev team only considered image galleries and navigation - there are simply so many more uses for the scrollable which truly rely on the paged concept from the older version. I did seriously try to get the new one to work (using the various hacks and tweaks mentioned in the forums) but in the end I was beginning to write the old one all over again.

Circular is certainly broken in some way which adds to the problem.

I'm not sure how much our voices here may carry - but I do hope the dev team will consider re-thinking the 'new scrollable' otherwise perhaps we'll have to find a different library for that and just use all the other great widgets from JQT (I hope not)

... beggers can't be choosers and we appreciate the effort! (but we can always still beg)

KeeperoftheKeys

Posts: 1

Registered:
Jun 11, 2010

seperation of instances

Posted: Jun 11, 2010

Reply to: 1.2.2 Scrollable is a step backwards, from outre99
First of: of course a big thank you.

Second: my guess the following is a bug report....

Has anyone run into the fact that the new scrollable doesn't seem to separate well between multiple instances of scrollable on the same page?

I have a page with 2 scrollables, one news-ticker (autoscroll) and one carousel, ever since the update mouseover on the carousel will pause the news-ticker and pressing next/prev in the carousel will also move the ticker.

It seems to me that that is not desired behaviour...

Also, is there a way to make circular 'refill' before there is only one picture left showing...? It's kind of ugly when your carousel is showing three and then only two and then only one and suddenly again 3.....

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» 1.2.2 Scrollable is a step backwards

Posted: Jun 12, 2010

Reply to: 1.2.2 Scrollable is a step backwards, from outre99
I'm hearing you all. feeling bad of course but at least the message is clear now.

I guess I need to do something for the scrollable for version 1.3. Unfortunately this will take some time. I'm now focusing on the bug fixes only and moving on to developing Flowplayer after that. HTML5 is coming and I need to keep my coding fingers busy on that area.

outre99

Posts: 6

Registered:
May 30, 2010

Temporary solution

Posted: Jun 12, 2010

Reply to: » 1.2.2 Scrollable is a step backwards, from tipiirai
Hi Tero,

i uderstand that project priorities change and more important things come up.
But in meantime it would be very helpful for most if the library download builder for the 1.1.2 version was restored so we could arrange and download custom libraries for 1.1.2.
Currently 1.1.2 download builder doesn't work.

Thanks.

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» Temporary solution

Posted: Jun 12, 2010

Reply to: Temporary solution, from outre99
the 1.1.2 builder works. fixed it this morning.

maliwik

Posts: 1

Registered:
Jul 30, 2010

Accessibility

Posted: Jul 30, 2010

Reply to: » 1.2.2 Scrollable is a step backwards, from tipiirai
First post - I will start out by saying fantastic plugins. As with all projects, things can always be improved in one way or another.

My biggest request for version 1.3 would be accessibility support. When people resize the text, the text always gets cut off if the objects contained get larger than the container. Perhaps this is more of a CSS change, but I wasn't able to figure out a way to do this without interfering with the plugin's functionality.

Unfortunately for myself, I'm forced to find something else for the time being because I run a site where it's absolutely crucial that people be able to resize the text on the site (obviously to a reasonable extent) without impacting its usability/readability in any way (yay old people :p).

Do you think this could be looked into maybe not just for the Scrollable plugin, but for your other plugins as well?

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» Accessibility

Posted: Jul 31, 2010

Reply to: Accessibility, from maliwik
yes. this is definitely a CSS issue. In the tools I haven't pay 100% attention to CSS since I (mistakenly) assume that people are fluent with it. I'll try to improve this in the future. Thanks for pointing out. Important feedback.

outre99

Posts: 6

Registered:
May 30, 2010

Roadmap for the Tools

Posted: Jul 31, 2010

Reply to: » 1.2.2 Scrollable is a step backwards, from tipiirai
Hi Tero,

you mentioned that your priorities have been readjusted and that you'll be moving onto other projects. What will this mean for the jQuery Tools library? Will the work continue, and by whom?
What's the scheduled date for 1.3?

Thanks

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» Roadmap for the Tools

Posted: Jul 31, 2010

Reply to: Roadmap for the Tools, from outre99
Occasionally I focus on other projects and will always come back to jQuery Tools. Just like I did with the version 1.2 (meanwhile I did the Flowplayer setup).

There is no schedule for 1.3 but the time will come for sure. I have already made the plans for that.

PawPrint.net

Posts: 13

Registered:
Apr 8, 2010

» 1.2.2 Scrollable is a step backwards

Posted: Aug 1, 2010

Reply to: 1.2.2 Scrollable is a step backwards, from outre99
This might help with several of the issues here (just bumping this for people subscribed here)

http://flowplayer.org/tools/forum/35/46918