[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 17
  • Last Modified:

How to implement this what the module used in ?

Hello i need to implement something similar to that

https://www.shoesofprey.com/3d/designer?s=1tY3nE

So what the concept behind this jquery ? what module used ? any guidance ?

Thank you.
0
jaylab2
Asked:
jaylab2
  • 2
  • 2
1 Solution
 
nap0leonCommented:
I presume you are asking how they do the image rotation?

A few ways this can be done...
jQuery UI "draggable" plugin: http://jqueryui.com/draggable/
javascript: http://css-tricks.com/snippets/jquery/draggable-without-jquery-ui/

In both examples, you'll need to add handlers that update the image periodically as the user moves their mouse.  In a nutshell, when the user grabs the item with their mouse, you measure the mouse location.  As the mouse moves, you constantly track the updated location.  As the amount of the offSet reaches key intervals, you update the source of the image to the next image in the cycle.
0
 
jaylab2Author Commented:
Thanks for the reply but is there more details any plugins ?
0
 
nap0leonCommented:
Both links I provided include the code for each.
jQuryUI is a jQuery "plug in".
css-tricks is straight javascript.
0
 
jaylab2Author Commented:
I am aware of that but what i am talking is how can i make layers as you see there multi layers and each layers can be changed dynamically based on the color or textures defined !! so what is the best practice or fw to implement
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now