I'm trying to convert a site from flash to HTML/CSS/JS ( don't ask why, I just have to ) but I'm stuck about the animations that I need.
Please follow the link and look at the site: http://www.sultanahmetkoftesi.com
As you can see, the moving layers are accelerated when you move the mouse. That is exactly what I want to do.
I'd be glad if you can provide an example or snippet.
Pure Javascript or jQuery code is fine for me.
Maybe these two projects can somehow help you...
1. http://css-tricks.com/1660-jquery-robot/
2. http://webdev.stephband.info/parallax.html
Good luck...
You may also want to look at http://spritely.net/
Related
I wanna create a gallery full responsive and dynamic like this: https://www.pixelflakes.com/work/
Where I should start looking for some good stuff to really understand how to create this? I'm a beginner at JavaScript, but I'm pretty good at html, CSS and bootstrap.
thanks for the help!
I came across a demo that might help you understand how to create a gallery like that. Also mensonry's codebase is available on Github. Considering that you're new to javascript, it might take some time to grasp but you'll be alright after putting in some effort.
I found this website: http://www.vazco.eu/
What is used to do the animation (http://cl.ly/image/41100r2F401N)
behind "Our Latest Projects" with dots and line - is not the only place where I see this but since now no idea how to achieve something similar!
can be done with pure javascript or with any js framework? can some one point me in the right direction please!
I don't know how to ask/explain better ...
Thank you and please forgive my bad english!
In this site he is using SVG and for the drawing effect with time, you can use framework like vivus
I recall from Actionscript that was very easy to detect when two elements were touching, very useful for games for instance, just a method called hitArea
since I'm in rush and i cant write the code from scratch I wonder if there is anything easy to use, a plugin maybe that works in JS and can tell me when elemA and elemB are in the same spot on the screen
Thanks
actually JQuery Collision is the answer
I need to make a vertical javascript timeline like below link which is now created with flash.
Can someone give me a reference plugin? Or kindly advice me is it possible with plane javascript or javascript frameworks. I have little bit idea about plane javascript and jquery.
http://www.guardian.co.uk/world/interactive/2011/mar/22/middle-east-protest-interactive-timeline
I did some research on it. But did't get any good result.
Thanks in advance.
https://github.com/balancemedia/Timeline
Demo: http://builtbybalance.com/github-timeline/
there could be some more: https://github.com/search?langOverride=&language=JavaScript&q=timeline&repo=&start_value=1&type=Repositories
A good tutorial:
http://www.9lessons.info/2012/01/facebook-timeline-design-using-jquery.html
the whole thing is done in flash. you can achieve this in javascript(definitely with css), but there is not straight forward method for it. Even in flash it wasn't done in a straight forward method. It took some efforts to sync the movements of the timeline and the events path. start with developing custom scroll bar using javascript and css, and then develop the rest.
I'm considering attempting a redesign of a flash website with jquery effects and transitions in place. I just wanted to reach out to the community to maybe see how feasible this really is considering the particular transitions and effects this website has.
Here's the link:
http://antonynicoli.com/english.html
The gallery I guess can be recreated by carousel plugin, but there are so many out there so maybe could suggest a stable one that would be be best suited to this job. The other items that really caught my attention in which I wouldn't really know where to start is the navbar and the effect that looks like a book opening when you click on a link on the navbar. Any and all input would be appreciated. Thanks.
This is probably doable, but I'm wondering about the motivations behind changing to an HTML/jQuery solution when it looks pretty good right now (as Brad pointed out above, it would require a total rework). I see a couple of things going on:
Carousel: jCarousel (http://sorgalla.com/jcarousel/) (never used it but it is popular)
Animations: jQuery Animate (http://api.jquery.com/animate/)
Other widgets/interactions: jQueryUI: (http://www.jqueryui.com)
Not sure how you would go about the open-book animation, but I suspect you could accomplish it with some clever jQuery animations.
The best way to see if it could be done is: start doing it! jQuery has tons of resources and you'll get good help here on StackOverflow.
After looking at the site i do believe most of the effects can be recreated fairly well using jQuery. Of course, your end-result might not be as smooth as the flash implementation but i think it can be done.
If you look at using HTML 5 i believe a lot of animations such as page transition with the opening book can be simulated with the canvas element. Same with the navigation elements.
https://developer.mozilla.org/en/canvas_tutorial
http://diveintohtml5.ep.io/canvas.html#divingin
As you mentioned some of the effects such as the carousel can be recycled from existing plugins. The only holdback really is how much time do you want to invest in porting a design to a language not as well suited to do the job. jQuery is an excellent framework but it is far from a drop-in replacement to create effects that are trivial to create in Flash/Actionscript.
the whole site can be done with jquery. all you have to do is map out all the animation done on the site and write it on paper. then look for the jquery alternatives online and check them off one by one. some things might not be exact but it will do the job.