Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Scriptaculous Sortable with Google's Carousel
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lun.ashis  
View profile  
 More options Nov 3, 12:53 am
From: "lun.ashis" <ashis....@gmail.com>
Date: Mon, 2 Nov 2009 21:53:41 -0800 (PST)
Local: Tues, Nov 3 2009 12:53 am
Subject: Scriptaculous Sortable with Google's Carousel
I tried using carousel for the same list that i made sortable. It
working fine but if any element is hidden on left side of "my-
carousel" while clicking next button of carousel to scroll the
sortable list  than problem comes but without clicking next button it
works fine( i.e fresh load of sortable list)

Problem is:
After clicking carousel next button to scroll the sortable list when
first indexed element of the sortable list is hidden on left side as
mention above and if i try to move second indexed element to the third
index than i should hover over the fourth indexed element to see the
empty space on third index.

This is the html code that i am working on.

<div style="bottom: 0px;" id="mybar">
  <div style="display: block;" class="carousel" id="my-carousel">
    <a href="javascript:" class="carousel-control next listbar"
rel="next" ></a>
    <a href="javascript:" class="prev listbar" rel="prev"> </a>
    <div class="my-middle-part" id="my-middle">
      <ul id="my-items">
        // this list elements should be quite more to see the problem
        <li id="drop_367" class="item" style="">
          <div class="item"><div class="ref">First</div><div
title="delete" class="delete">x</div></div>
          <a title="click to see details" ><div
class="notes">Wonderful</div></a>
        </li>
      </ul>
    </div>
  </div>
</div>

carousel:
new Carousel($('my-middle'), $('my-items').childElements(), $('my-
carousel').select('a.listbar'), {
                        duration: 0.5,
                        transition: 'spring',
                        visibleSlides: parseInt($('my-middle').getWidth()/$$('li.item')
[0].getWidth()),
                        circular: false});

sortable:
Sortable.create('my-items', {
                tag:'li',
                containment:['my-items''],
                constraint:false,
                overlap:'horizontal',
                dropOnEmpty:true,
                ghosting:false
        });

Need some suggestions..

Thanks in advance


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google