marcolago / flowtime.js

Flowtime.js HTML5/CSS3/JS Websites and Presentation Framework
https://marcolago.github.io/flowtime.js/
MIT License
1.34k stars 236 forks source link

Is ist possible to move the first child of a section element after the last one and vice versa #49

Open mark3rr opened 8 years ago

mark3rr commented 8 years ago

I need to modify flowtime to act like a carousel. Is it possible to get this to work?

mark3rr commented 8 years ago

I have managed it to jump to top or bottom. If i am on the last or first page. but this isn't looking very nice :)

marcolago commented 8 years ago

Hi @mark3rr. Let me see if I have understood your request.

Do you mean to loop the pages, using down or up, in a single section going from the last page to the first but “moving down” and not all to the top, and still using left or right to navigate to the previous or next section?

If yes I think this is not impossible to achieve but is a very heavy modification. The first thing to consider is the duplication of some pages, at least the next or previous one. The second thing is that I’m not sure at the moment how the internal status of Flowtime will be compatible with this.

If you are not in a hurry I’ll check if this is feasible in the next few days or at the beginning of the next week.

mark3rr commented 8 years ago

Hello & thank you for the quick response, yes, I meant to loop the pages. I tried to use the $( "this" ).siblings(":Last") last selector in your code at the Keyboard Navigation Section, the Touch and Scroll section to move the Pages to the top or bottom. But that doesn`t work. I'm not in a hurry. Would be great if you could help me, thank you.

Meierchen commented 8 years ago

Hi @marcolago.

is there since a solution for this little problem with your exciting template @mark3rr has posted? i am also interested in that function.

best wishes and thank you very much!

marcolago commented 8 years ago

Hi @Meierchen

Not yet, sorry. I was very busy in the last two weeks (and ill also).

I’ll check back this issue soon to find a solution if possible. Thanks for patience.

Meierchen commented 8 years ago

Ok, thank you -especially for the ultrafast response:-) Would be a little dream if this could work.