Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 859313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:39:53+00:00 2026-05-15T08:39:53+00:00

I made an example , I copied it straight from the jQuery website yet,

  • 0

I made an example, I copied it straight from the jQuery website yet, it doesn’t transfer..

HTML:

   <div class="addToCart">
     BLAHHHH
     </div>
     <br>
     <br>
     <br>
     <br>
     <div class="handelv">
     MORE BLAAAHH
     </div>​

jQuery:

 $(document).ready(function() {

$(".addToCart").click(function () {
      var i = 1 - $(".addToCart").index(this);
      $(this).effect("transfer", { to: $(".handelv").eq(i) }, 1000);
});

  });​

What have I gotten wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T08:39:54+00:00Added an answer on May 15, 2026 at 8:39 am

    http://jsfiddle.net/TuMsc/7/

    1. You weren’t including the UI library in the example
    2. $(".handelv").eq(i) where i = 1. Your selector only matches one element; so you need to set i to 0.
    3. You need to define a style for .ui-effects-transfer, so that a visible-something happens.

    All your code can be changed to just:

    $(".addToCart").click(function () {
          $(this).effect("transfer", { to: $(".handelv") }, 1000);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 505k
  • Answers 505k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I put meta keywords in application description in Play Console.… May 16, 2026 at 3:22 pm
  • Editorial Team
    Editorial Team added an answer They're not radian values but radius values. See e.g. here… May 16, 2026 at 3:22 pm
  • Editorial Team
    Editorial Team added an answer Do you really need it to be a message box?… May 16, 2026 at 3:22 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Live example here: http://timkjaerlange.com/foobar/stack-stuff/august-18-2010/test.html I want to animate addClass and removeClass on this interface
I made a custom button by inheriting the Button class. When I double click
I made a website using the famous symfony framework. I wanted to add rich
I need to send simple html-message with JavaMail. And when I tried to find
i had made a program for text to speech convertion in python..and now want
I'm working with the XtraGrid Suite made by DevExpress. I can't find any sort
My understanding is, that .NET doesn't really 'do' config files for DLLs - only
I recently migrated my magento website to a different server, and here's the process
I have a String made up of several Strings seperated by commas. Using StringTemplate,
Can someone provide an example of drawing an iPhone-like turning wheel using Core Graphics

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.