-
1. Re: Page flipping in Edge
resdesign Apr 23, 2013 4:11 PM (in response to Zsengeller)An alternative is using a pluggin and load it with yep-nope.
Here is a link for jquery page flips:
http://splashmagazine.com/2013/04/jquery-page-flip-plugins/
and some free ones:
http://jquerybyexample.blogspot.com/2012/10/6-best-and-free-jquery-page-flip-plugins.html
-
2. Re: Page flipping in Edge
Zsengeller Apr 26, 2013 2:22 AM (in response to resdesign)Thanks, but I don't know how can I load it with yep-nope? Do you have any template?
-
3. Re: Page flipping in Edge
resdesign Apr 26, 2013 4:52 AM (in response to Zsengeller)Here is an example loading 2 jquery file with yepnope. you can load there any js and css file.
yepnope(
{
nope:[
'js/jquery-ui-1.9.1.custom.min.js',
'js/jquery.ui.touch-punch.min.js',
],
complete: init
}
);
// this was allowing drag/touch in this example. Just use any of the flip examples here.
function init() {
var mySlider = sym.$("mySlider");
mySlider.draggable({ disabled: false });
mySlider.draggable({ axis: "x" });
}
-
4. Re: Page flipping in Edge
carta mundi Apr 26, 2013 6:31 AM (in response to resdesign)Hello...i'm also interesting in this future...
yep-nope is a plugin? is see some on the internet, but it is nog very clear..
must the code copied in the trigger of the stage? of somewhere else...
and how do i put the images in edge, so that the code is linked to the images?
maybe to must questions...but yepnope is new for me..
grt
-
5. Re: Page flipping in Edge
resdesign Apr 26, 2013 7:11 AM (in response to carta mundi)Yepnope or getScript() can be used to laod pluggions (see doc here: http://api.jquery.com/jQuery.getScript/) and the doc for yepnope here: http://yepnopejs.com/).
In the init function you can do what needs to be done.
Every pluggin works a little differently. Which one will you be using? I will look at it and see how you need to use it. In the example above, draggable from jqueryUI was used andtouch to allow touch on touch devices. Of course this can be done directly in Edge without the pluggin but sometimes it is faster to use a pluggin.
Here is the sample file to give you an idea: