If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Dec 2014
    Member #

    mirror "merge"/reflection effect on drag


    I'm trying to create a site which
    1. generates a half-opacity mirror image of a draggable picture
    2. moves the reflection in an identical trajectory, as the image is dragged toward the midpoint of the page
    3. permits overlap of the picture and its reflection when that midpoint is passed

    So, past the midpoint of the page an effect like this would be achieved:

    I'm using this drag script Dynamic Drive DHTML Script- Dragable elements Script but have not found a way to modify it to permit a mirror trajectory.

    Is this something I can accomplish with CSS? (Java?)
    I'd appreciate your suggestions.

    - KL


  3. #2
    Senior Member sasha_bolcina's Avatar
    Join Date
    Sep 2014
    Member #
    47 times
    With Java you cannot accomplish it, but you can with JavaScript and jQuery and jQuery UI.

    Or, with using "Reflection.js" and jQuery, you can set reflection on drag and remove it on drop, for what you will need jqueryUI draggable. Or on mouse down and mouse up, like :
    // if image has a class drag

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Tags for this Thread

All times are GMT -6. The time now is 04:28 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: