Simple Page Peel Effect with jQuery & CSS

Blog » CSS/XHTML » Simple Page Peel Effect with jQuery & CSS

Simple Page Peel Effect with jQuery & CSS

PrintMay 10th, 2009

You have probably seen these forms of advertisings where you can peel a corner of a website and see a message underneath. It seems most are flash driven, but I decided to try it out using some simple lines of jQuery.

Page Peel Effect with jQuery and CSS

1. HTML – Page Peel Wireframe

The “pageflip” div will act as the container, mainly used to establish the relative positioning. Then nest the image and the span class of “msg_block” wrapped in an <a> tag. Note – If you don’t have any conflicting absolute/relative positioning properties, you technically don’t need the “pageflip” container at all.

<div id="pageflip">
	<a href="#">
		<img src="page_flip.png" alt="" />
		<span class="msg_block">Subscribe via RSS</span>
	</a>
</div>

2. CSS – Page Peel Styles

Set the image property to a smaller size (50px by 50px) by default and set the absolute positioning to be in the top right corner. The image will be used similar to the “masking” technique in Photoshop or Flash, where it will be placed on top of the hidden message, so only a portion of the message will be shown. Check out the image below for a visual:

Page Peel Effect with jQuery and CSS

The actual message behind the “peeling” effect, is all within the “msg_block” class. By default, it will start at 50px by 50px, positioned on the top right corner of the page. The text-indent will shoot the text off of the page for anyone with CSS enabled.

#pageflip {
	position: relative;
}
#pageflip img {
	width: 50px; height: 52px;
	z-index: 99;
	position: absolute;
	right: 0; top: 0;
	-ms-interpolation-mode: bicubic;
}
#pageflip .msg_block {
	width: 50px; height: 50px;
	position: absolute;
	z-index: 50;
	right: 0; top: 0;
	background: url(subscribe.png) no-repeat right top;
	text-indent: -9999px;
}

Note that the “msg_block” height is off by 2px compared to the image property – this is taking in consideration of the drop shadow that the image has.

3. jQuery – Animating Page Peel

All we are doing here is expanding the image and msg_block on hover, then retracting to its default size on hover out.

$("#pageflip").hover(function() { //On hover...
	$("#pageflip img , .msg_block").stop()
		.animate({ //Animate and expand the image and the msg_block (Width + height)
			width: '307px',
			height: '319px'
		}, 500);
	} , function() {
	$("#pageflip img").stop() //On hover out, go back to original size 50x52
		.animate({
			width: '50px',
			height: '52px'
		}, 220);
	$(".msg_block").stop() //On hover out, go back to original size 50x50
		.animate({
			width: '50px',
			height: '50px'
		}, 200); //Note this one retracts a bit faster (to prevent glitching in IE)
});

Conclusion

The concept is very simple and may come in handy one day. If you have any questions or know of other techniques, please don’t hesitate to let me know~

Page Peel Effect with jQuery and CSS

Did You Enjoy This Post?

subscribeSubscribe via RSS ,by email, or by twitter to get all upcoming
tutorials and articles delivered straight to you.

Bookmark or Share this Post!

  • Digg
  • del.icio.us
  • StumbleUpon
  • Technorati
  • Twitter
  • E-mail this story to a friend!

Tags:

This entry was posted on Sunday, May 10th, 2009 at 10:27 pm and is filed under CSS/XHTML. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

202 Responses to “Simple Page Peel Effect with jQuery & CSS”

  1. MAX

    Absolutely Amazing! I thought that without flash it is impossible! But I was wrong :)

  2. saurabh shah

    amazing work …

  3. Michel Morelli

    Great tutorial. Tnx. Can I translate it in italian language? M.

  4. Greg McAusland

    great effect without flash, really good job

  5. Sérgio Soares

    beautiful, u rock SOHTANAKA

  6. Forgetme

    Thanks for sharing. It is better than flash version. It works well in IE6, IE7 and Firefox 3.0.4 for me. I will use this feature in future. :)

  7. TiagoOs

    Very Cool !! and Cross!! great effect!

    gratters
    bye!

  8. Dennison Uy

    Very cool idea. Tested working in IE 6-8 and Opera as well. Kudos!

  9. Aslam A Memon

    kool stuff, keep up the gr8 work


    http://www.aslammemon.com/blog.html

  10. John

    It’s always nice to have other fish in the sea. (It’s kinda lonely out here) Just to keep the options out there though, a non-flash based plugin was already developed for this: http://www.elliottkember.com/sexy_curls.html
    I also developed a plugin that can be Flash or not at http://www.smple.com/pagePeel/ although I need to revisit some of the methods used once I have more time on my hands.

    Great tut though!

  11. Neal G

    That’s pretty cool! I’m having one of those ‘why didn’t I think of that myself’ moments right now.

  12. glnster

    Huge Thank you for making an outstanding non-Flash method!

  13. Erica McGillivray

    Really cool effect that I’m already conjuring up uses for.

  14. Juan Cherry

    I love the simplicity of the method. Thanks for the excellent post!

  15. mrLami

    Awesome stuff guy!

  16. Rafael R.P (Raff)

    Great Tutorial!

    Thx soh!

  17. alian

    Very nice “non-flash” tutorial, than you

  18. Gilbert

    Nice tut. I was actually thinking about trying something like this the other day. Never realised how simple it could be. Thanks.

  19. tomato

    EXCELENT !! thanks

  20. zaan

    awesome tutorial.thanks..

  21. Miguel

    Great work! I have no words! Thanks for it.

  22. dandyyoh

    Really great. kudos

  23. conray

    Excellente!!!

  24. Adrian.Coria

    perfect, really perfect…

  25. Ariyo

    I Love it. Thanks for sharing it with us. YOU ROCK!

  26. Derrick

    Lovely….Just lovely.

    Thanks

    MD

  27. Cristian Eslava

    Just amazing. I do not like very much this paper effect because it´s very common and pretencious, nevertheless I think you made a great of it. If I´d use it I´d use your way.

    Congrats

  28. aymen

    it’s a great effect
    thanks

  29. MorayWeb

    Fantastic! I’ll be using this for sure. Bookmarked on delicious….

  30. Sonny

    Very elegant solution. Your site is very elegant also.
    Thanks for sharing.

  31. Şukufe

    no follow=)

  32. photoshop image masking

    This is absolutely fabulous!!!!

  33. Mahbub

    JQuery jFlip is a similar plugin for photos that I yesterday blogged about in http://www.jquerymagic.com/2009/05/page-flip-with-jquery-jflip-plugin-of-the-week-may-12/. This one is nice as well.

  34. flying

    I like

  35. Jon

    That’s brilliant!

  36. art2code

    nice effect! thx

  37. Mae

    I just wanted to say thanks for your entire site. I’ve learned a lot! (and on a side note, I love your color scheme for this layout)

  38. Kawsar Ali

    Very nice Soh, Its a really cool effect and allows for functionality.

  39. mark@free wii

    Awesome! A simple solution to a problem I thought could only be done in flash too.

  40. sivas

    very good, thank you

  41. Hutek

    Exellent job, thanks

  42. Logo Bang

    That was an awesome tutorial. Thanks for the inspiration and the idea.

  43. Neka

    Good tutorial

  44. Baris

    wonderfull, very good.

  45. AndiOnline

    Thank you very much!

    I used it for the webpage http://www.gasthof-steinerwirt.at – together with prototype.js and scriptaculous, so I had to change your code like this:

    Subscribe via RSS

    and js:


    var isBig=false;
    var scaleFactor=4;
    Event.observe(window,'load',function() {

    Event.observe('pageflip','mouseover',function(event) {
    if(!isBig) {
    new Effect.Scale($('pageflip_img'), 100*scaleFactor, {scaleFromCenter:false,scaleMode: { originalHeight: 52, originalWidth: 50 },scaleContent:false, duration:0.5,delay:0.1});
    new Effect.Scale($('pageflip_msg_block'), 100*scaleFactor, {scaleFromCenter:false,scaleMode: { originalHeight: 50, originalWidth: 50 },scaleContent:false,duration:0.5,delay:0.1});
    isBig=true;
    }
    });

    Event.observe('pageflip','mouseout',function(event) {
    if(isBig) {
    new Effect.Scale($('pageflip_msg_block'), 100/scaleFactor, {scaleFromCenter:false,duration:0.5,delay:0.1});
    new Effect.Scale($('pageflip_img'), 100/scaleFactor, {scaleFromCenter:false,duration:0.5,delay:0.1});
    isBig=false;
    }
    });

    });

  46. AndiOnline
  47. Newbie

    I am having problem making this code work.

    It keeps showing up on the website has text when i test it out.

    I am using dreamweaver to design the website.

    Please let me know if i am missing a coding that a more experience person would know to make this work..

    Thank you in advance!

  48. Newbie

    Ok so i figured how to resolve the coding showing up on the screen but now i have no idea how to get the peel to work.

    please help

  49. Reino

    Rocks!

  50. Ali

    thank you for sharing…

  51. bl@nkster

    nice effect, i like it

  52. Joel

    Perfect, thanks for sharing :)

  53. A

    No words to describe. Wonderful.

  54. Akif

    Nice work. Thanks for sharing!

  55. ncj

    This is very nice, however, I don’t believe its key accessible. Someone using a screen reader would miss this totally.

  56. joyologo design shop 2.0

    Very Cool thanks for tut..

  57. Soh

    @all, thanks for the feedback, suggestions, and helpful links!

    @ncj, to degrade nicely for a text reader, all you would have to do is add some text in between <div class="msg_block"></div> :-)

  58. chris

    Hello Guys

    This tuto is fab !!

    But I have an issue with IE someone can check the website http://www.getfitlondon.com

    Work fine with FF

    Cheers

  59. Grégoire Noyelle

    Thanks a lot to share this tuto with us !

  60. Soh

    Hey Chris, can you describe your issue?

  61. chris

    The script work amazingly fine but on IE i got a grey mask on the subscribe picture.
    I edited the picts on fireworks then change the canvas color background but didn t work if you go on my website with IE you will see the issue

    Thanks so much for your help

  62. Soh

    Oh ok, that is due to IE6 not being able to handle PNG files.

    Check out this tutorial on how to get it to work on IE6: http://www.sohtanaka.com/web-design/png-transparency-in-ie6/

  63. Mjf

    Question, is there a way to make it so we can force the page peel to stay in the top right corner no matter if the browser is resized or not? I am not sure if anyone has asked this or not yet, but it is sort of an eye sore when someone resizes or minimized the window so there is a scroll bar the image moves over and then when scrolling doesn’t move back to the corner. This happens in ie7 and Firefox. I am sure there is a way to do it, but I don’t know how.

    Thanks,

    Matt

  64. Soh

    Hey Mjf, I was trying to see that issue, but perhaps I didn’t clearly understand your explanation, can you rephrase your scenario and issue?

  65. mjf

    Sure Soh.

    By the way I forgot to mention this is an awesome tutorial. Thanks so much.

    If you open the pixel design demo for the page peel effect and resize the browser window or viewport so it is small enough for a horizontal scroll bar to appear you will notice a couple things about the page peel.

    When you make the browser window smaller the page peel will stay in the corner as it should, but when you scroll to the right to see the rest of the “website” or in the demo case the background image of the sofa you will notice the page peel effect stays put thus putting it in the center of the screen or covering part of the background.

    It is a really small issue and not even really a bug, but if you were implementing this on a site like yours with the navigational bar in the top right and someone made the browser window smaller and then wanted to scroll to your navigational menu the page peel effect could be covering a portion of the menu bar.

    It would be nice if even when scrolling the page peel effect stayed in the top right hand corner no matter the size of the browser window.

  66. Soh

    Thanks for the break down, I see what your seeing now :-)

    That is actually a problem with the entire layout, not this page peel specifically.

    You can correct that simply by adding a min-width of your body tag. If you notice, that same bug was affecting the entire layout, not just the page peel~

    body {
    min-width: 920px; /*–or whatever size you want it to be–*/
    }

    Let me know if you have any questions :-)

    Thanks!

  67. Enrique

    Gracias por compartir…excelente trabajooo!
    Thanks for sharing this great work!

  68. Arif

    Nice job THanks..

  69. chris

    Thanks soh it worked !!

    Thanks so much l ami

  70. Bobz

    This is nice, but this can’t be delivered trough Ad Serving system.
    So this would be useful if you put this only on your site trough CMS.

  71. GeLZa

    nice…..

  72. Giacomo Ratta [ITA]

    Great idea! Simple code for a professional work.

    Thank you

  73. darwin

    thanks for this great tutorial

  74. Armando

    How can I do this using Tables? Or It is neccesary with Position tags?
    That´s because I prefer Table>Tr>Td method.

  75. Soh

    Armando, Although I don’t recommend it, yea you should have no problem using a table. Just make sure you adjust the css accordingly to hit the right elements.

  76. Stanley @ SEOAdsenseThemes

    Soh, this is very nice and slick jQuery script. Cool effect.

  77. Moschos

    Congratulations! The most amazing CSS code I’ve ever come up to !!! Keep up this excellent work!! I give you 20 / 10

  78. Anthony Alexander

    Wow, page curls are really the shiznit.

    Here’s a demo using Very Versatile Electronic Document V.V.E.D. 1.0

    http://novatvmedia.com/vvcurl

  79. zhangjinlon

    wow!!!non-flash,rather cool~thanks

  80. zhangjinlong

    I like jQuery,jQuery is amazed.

  81. Heri NXI

    nice and simple,
    I need to learn more about jQuery….

  82. Iresh Dilan

    I was finding a tutorial to do this effect. This is the best because no Flash.

  83. goemo

    Hi,

    first of all: Great tutorial and a big “Thank you” for sharing :-)

    My Question: Is it possible to have more than one peel on the same html-site? Thanks for you answer!!!

  84. Rajat chodhary

    oh my gosh! i never thought that before. Really! cool piece of work man.
    Great thanks to sharing this tip.
    Well -n- Done

  85. moralde

    Couldn’t aesthetically beat flash versions, but looks cool and very safe for people like me who doesn’t have a clue about flash.

  86. zac

    Wow.. your work is really beautiful and your tutorials top notch. I am really glad I found this site. Thanks for your excellent work !!

  87. yanzi

    I still don’t know how to make it work like your demo.why?

  88. yanzi

    Now I know how to use it.it’s so nice.Thanks.

  89. Sena kendali

    Damn,,,it’s totaly cool bro…

  90. Gastón Rojas

    Cool!
    nice and simple-
    Thanks!

  91. benson

    nice effect…fantastic technique
    wer could i download it

  92. InternetFluent

    Nice and simple ! Why didn’t I think of it …. animate :P ?
    @benson – dude the code is on this page! What do you want to download? Use copy – paste or is that to hard ?

  93. simo

    great! I’ll try it soon!

  94. Jeremy Denlinger

    Thanks for this awesome tutorial just put it in place here:

    http://www.pequeachurch.com

  95. Jamie Giberti

    This script is awesome and looks great! I was trying to adapt it into a design where underneath the folding corner you have an image that is an image map (so a set of links rather than just one link). I have managed to get this to work in all browsers, apart from IE6 (sigh). IE6 cannot handle the z-index of 99 on the folded corner image in the front. I have tried setting the z-index of said image to 0 during the hover event but this has no effect. Have yourself or anyone else tried anything like this and do you have any ideas?

    Cheers

    Jamie

  96. Gautham Sarang

    I visited your demo site. The peel didn’t come out. I am using Firefox 3.0.11

    Is it my browser?

  97. silviu

    hello,
    first of all congrats on this effect, is really nice. works fine for me on any browser/OS, but unfortunately the exception is called IE6. the problem is that both png files load very very slow. eventually they do appear, but it takes around 6sec to do so. and this is happening on every mouseover/mouseout.
    I have tested this on a mac/virtual machine with win xp and IE6, but also on a native win xp/also IE6.
    anyone else had this problem?
    I would include an exemple link, but unfortunately this also happens on the default demo link provided on this page by the author.

    thank you,
    silviu

  98. Troy Dean

    Great work. Any idea how to place the peel at the bottom left of a div and make it peel up and to the right? I cannot figure out the css for the life of me.

    Cheers.

  99. Behzad

    thNx :)
    i was looking for this

  100. Mel

    Where are the files? I cannot seem to make this work… I am confused what to name the psd files? Or, screen shots? PNG???
    HELP!

    Also, Why doesn’t the script have the proper tags around it??? confused…

  101. spirov92

    Thanks, very useful script! I am thinking of putting it into a plugin.

  102. ivan

    It’s so great. I want to use it. Thank you for the cool idea.

  103. marko272

    how come the background image is transparent????? its supposed to cover whats on the page and not let it show through????? i even tried it with a .jpg background image and its still transparent!!

  104. Ardhiansyam

    awesome…thank alot, it work at my blog

  105. Avery

    It is okay for my blog,thanks.

  106. yayo

    good job !!!

  107. Robert

    I really appreciate you posting your code for the pageflip feature. I cannot seem to get it working though. It’s showing up in the right place. As far as I can tell, all the code is correct, but it does not flip.

    The website is as http://www.cloverroad.ca and you can see it there. I’ll keep it up until you get back to me. I’m not sure if it’s the javascript or the CSS. You can see the css at this URL at the very bottom of the page…
    http://www.cloverroad.ca/wp-content/themes/CloverRoad-theme-3/style.css

  108. Leon Dudovich

    Is that possible to use this code when you create website on one of websiting builder like http://www.site2you.com/ ?

  109. mapb_1990

    did’t work on my site

    http://www.anime-land.org/index.php

  110. Robert

    mapb_1990 – your bug seems to be the same as mine.

  111. Luis

    Excellent! … thanks for share this

  112. lisa

    Great script! Got it to work correctly until I make my window smaller and then the page peel animates but below my navigation. I think it’s a z-index prob? Any ideas? I’d love to be able to implement this on the live site!! http://www.champsinternational.org/sponsors.html
    Thanks in advance for any help,
    -lisa

  113. Hjorth

    Ok so i got it to run and it looks great.
    But I am not very good with java and want it to work in two places at the same time.

    If I want to have 2 page peel effects on the side how would I write that?
    When I connect it to both they move ofc at the same time :D

    I know I can copy the text and rewrite it so it fits the new names, but I was hoping I could reuse the code that was allready there.

    Hope you understand what I mean :)

  114. güvercin

    it’s wonderfull example :|

  115. Swagat Sharma

    Hey SOh,
    I wantu apply it on my blogger template, I included the skin, but i have problem handling javascript, i saved it as .js and uploaded on mediafire.. can any1 explain how it works? i know t sounds so lame but..

  116. Adrian

    woow ..really good job.thanks

  117. Manmohan

    Good work

  118. hadi

    If anyone work and run this and run successfully then Give me. I cannt figure that out.

  119. Soh

    For those having trouble getting this to work on your site, please refer to the jquery tutorial page for instructions on getting jquery to work: http://docs.jquery.com/Tutorials:How_jQuery_Works most likely the jquery file/script is not being called properly~

    @Hjorth if you want to have two of them just make sure the elements you are targeting in your events have something like: $(this).find(”img”) instead of just $(”#pageflip img”)

    @lisa I was not able to make your page break where the peel goes underneath the nav?

  120. Hahnefeld

    I’m using jQuery for our website. I will use your libary to get more interaction in our page. With jQuery we also use idTabs. Great work!

  121. Anders

    This is absolutely stunning! ;) Thanks for this plugin, I simply love it! However, I have a little issue with it. On the site I’ve just integrated it on, I have sort of JavaScript showreel for some pictures running. When I hold the mouse over the peel effect, and it’s expands – the JavaScript showreel is alway on the top of the content behind the peel effect.

    Please check the website : http://www.nit-hockey.no.
    If your screen solution is so big that the peel effect doesn’t go over the “main” rotating image, please just make the browser window smaller, and you’ll see what I’m trying to explain here.

    Is there any way to fix this? It’s really bothering me :-)

    Thanks again for the plugin, and thanks for any help I can get !

  122. Andrew

    In reply to Anders. Looks nice I see the problem your having.
    With CSS you should control whats called the Z-index
    which places items on top or below other items
    the higher the number the higher the spot.
    here is tutorial on zindex
    http://www.w3schools.com/Css/pr_pos_z-index.asp

  123. Anders

    Oh yes! That was the thing. In the CSS provided from this tutorial it was only the page flip that had z-index on it – not the picutre under the page flip. Thank you so much, Andrew! :-)

    Maybe an idea to set zindex on the ad under the page flip for this tutorial, Soh?

  124. Soh

    Hey Anders, sorry for not getting to your question soon enough~

    @Andrew, thanks very much for helping Anders out :-)

    *The tut has now been updated~

  125. erhan

    Güzel Ama Ben Çözemedim…!!!!!!!!

  126. CSSJockey

    Amazing Stuff!! Keep it coming.

  127. Helen

    Would be easier to understand, if you just display the single images.

  128. Bill Gates

    Soh,

    Great fucking tutorial!!

    You have not only inspired many others but also express’d your tutorial with a pro-style attitude.

    Great job and keep up the good fucking work!!

  129. Xtence

    Great, great ! Good work man, and thanks for sharing, this is awesome !

  130. Bradford Sherrill

    Great post! You can also do this with a flash version, but why?

  131. dapas

    Perfect, without flash.. :-bd

  132. Andreas

    Searched for that – found it at smashignmagazing – great stuff!
    Andreas

  133. BN Wiersma

    Hi, great stuff. Just can’t get it to work.

    I downloaded jquery from the official website and uploaded it in the right folder (http://www.slimshirts.nl/jscripts/jquery/jquery.js). I created a new css file (”peeleffect.css”) and uploaded it. Finally I added the following in the of my page:

    $(”#pageflip”).hover(function() { //On hover…
    $(”#pageflip img, .msg_block”).stop()
    .animate({ //Animate and expand the image and the msg_block (Width + height)
    width: ‘307px’,
    height: ‘319px’
    }, 500);
    } , function() {
    $(”#pageflip img”).stop() //On hover out, go back to original size 50×52
    .animate({
    width: ‘50px’,
    height: ‘52px’
    }, 220);
    $(”.msg_block”).stop() //On hover out, go back to original size 50×50
    .animate({
    width: ‘50px’,
    height: ‘50px’
    }, 200); //Note this one retracts a bit faster (to prevent glitching in IE)
    });

    WHY WON’T THIS WORK? Anyone?

  134. Soh

    @BN Wiersma and for anyone who is having issues with getting started,
    please refer to this tut http://docs.jquery.com/Tutorials:How_jQuery_Works

  135. BN Wiersma

    @Soh:
    Yeah, thanks for the fast response but I already read it…. ;((

  136. Soh

    @BN, did you read the part about:

    $(document).ready(function(){
    // Your code here
    });

    Because it seems you don’t have that on your site :-)

  137. BN Wiersma

    @Soh:
    Thanks again for the quick response AND more so for helping me out!

    It works after adding the document.ready. Thanks a lot man! Keep it up!
    :-)

  138. Ajiu

    can it be on the left top corner?

    if response pls email me.

  139. yossarian

    merci !! excellent..

  140. gchan

    Can I combine this page peel CSS & JQuery with CMS application?

    Thanks

  141. Moksha Solutions

    simply amazing………without flash its really cool

  142. Ambili Kutty

    Awesome! Does it work in Google Chromo and IE 6.0

    Regards
    Ambili

  143. Timo

    Greatjob, but where do iget subscribe.png from?

  144. Smashing Themes

    These web 2.0 Javascripts like jQuery and Prototype actually kicked the flash out. An awesome thing done with Javascript.

    Thanks for sharing the technique with world :)

  145. Andy

    Thanks for sharing, thats an awesome technique!

    Andy

  146. Keith Davis

    Great website and well explained tutorial.

    If I ever need a page peel effect… I know where to come.

  147. Sean

    If you use an image sprite of the page peel before and after, you could create a CSS class that would reveal the peel on hover, making this degrade gracefully (which I’m thinking about doing for a bug submitting report on a site I’m working on). Then, if javascript is enabled, it can change the class to something that will not trigger the css hover state.

  148. harish

    hey you really rocks me man!

  149. luis santillan salinas

    Great website and well explained tutorial.

    If I ever need a page peel effect… I know where to come.

  150. laurent

    Bonjour,
    Vraiment très beau. Mais je suis débutant et j’ai du mal à intégrer le script. J’ai juste 2 questions à vous poser :
    dans quelle partie de la page html faut-il placer le code html ?
    Comment présenter le script jquery (structure , mode d’execution) ?

    Merci d’avance pour votre aide !
    salutations à tous !

  151. sregoryor

    Is it possible to peel back and view a live website? Can a web address be used instead of the picture for the source?

  152. Christian

    @Soh,
    under which license do you set your example?
    is it ok if I use this image: page_flip.png

    greets
    Christian

  153. Milaw

    Some troubles on explorer 8…
    Very good job!

  154. Mithilesh

    Great job. its so simple to integrate i am impressed.

  155. amine

    absolutly amazing

  156. haberler

    i hate from flash . Thank you very much guys for css + jquery combination.

  157. ziko

    Thank you! Very good script!

    Viktor from Slovakia

  158. 4hmeT

    Awesom job man , Thnk u , from Türkiye

  159. Farid Hadi

    Wow, this is just wonderful. Thanks for sharing.

  160. Santanu

    Awesome man………..

  161. Ryan Schwartz

    Awesome job! This was really easy to implement and works cross-browser without a hitch. One thing, I had to change your css for the pageflip to position absolute to get it to position correctly in IE.

    #pageflip {
    margin: 0px;
    padding: 0px;
    z-index: 99;
    position: absolute;
    right: 0; top: 0;
    -ms-interpolation-mode: bicubic;
    }

  162. Alex

    Great job man!
    I have no knowledge in javascript and I had it to work perfect…

    BUT how on earth will this script work with lightbox on the same page ??? :( ((

    Could someone give me an answer to that?:(

    Best regards!

  163. jplayer

    Great website and well explained, without flash its really cool !!!

  164. ahmed

    Thank you very much!
    j’ame je partage

    merci bc mon ami….. o_O

  165. melissa

    The script work amazingly fine but on IE i got a grey mask on the subscribe picture.

    Thanks so much for your code! Keep up the good work.

  166. Greg

    Can some one help me with instructions to use this on Ning?

  167. Bill

    Greg, I was able to get this to work on Ning. Check it out:
    http://www.pagepeeler.ning.com

  168. Luis

    Great job man.
    Please the code for ASP.NET.

  169. Godster

    Trying to implement this on my site, but having problems in IE7. Where the image overlaps one of my containers, it becomes transparent i.e. I can see the contents of the container through the peeled back image. Any suggestions?

  170. Austin

    How do I keep from covering up input fields with the page peel?
    <img src="http://i38.tinypic.com/10fyz51.jpg" border="0" />

  171. Austin

    http://i38.tinypic.com/10fyz51.jpg

    [IMG]http://i38.tinypic.com/10fyz51.jpg[/IMG]

  172. Soh

    Hey Austin, just make sure your z-index is set higher than anything on the page so it stays on the very top layer~

  173. Cory Mathews

    javascript 1 flash 0. Glad to see a non flash way of accomplishing this. Gotta love jQuery!

  174. ahmet

    wonderfull very helpful

  175. Ray

    Nice tutorial…I have put one in my blog…thanks

  176. منتديات ماي بكتشرز

    OooH Wow wonderfull very helpful

  177. techhsot

    this is very gud thx

  178. Scott

    I cannot seem to get it working. I currently have lightbox on the same page and there is a clash when I add:

    AND

    On the same page (neither will work).

    How can I get around this? Thank you :)

  179. sushil shirbhate

    Great effect without flash, really good job

  180. Uldis

    Great work. Thanks!

  181. Uldis

    But one problem..for me plugin dosnt work with IE 7.0.5730.11

  182. chandrashekharmurthy

    its realy nice,without flash it is working,whether it s working in all browsers?
    tnx

  183. wajira

    Great tip…
    I m not good in coding, how can I use this on blogger(blogspot).
    Thanks.

  184. Prateek Suhane

    amaaaaaazing idea….

  185. Cassandra Bryan

    Awesome! Thanks a bunch, I am using it for a promotion coming out soon.

  186. hosein

    thanks man

  187. ilknur

    thank you….very good..

  188. Hussain Cutpiecewala

    I will just say.. AWESOME, AMAZING, EXCELLENT, PERFACT

  189. achint

    Hi, Thanks for this script. I’m a FAN of JQuery. Your Blog is pretty. :)

  190. Burak GÜDER

    Wow wonderfull,, very helpful

  191. Anaa

    Great tutorial.thanks!

  192. Gianna

    I don’t comment much had to just say that I thought it was great that you were able to develop a “page peel” plugin using jQuery & CSS. Is there a way to code it to peel from the bottom? Never seen that. Was wondering why it has never been done.

    Thanks for the reading. Great insite! Will check back often to see any updates.

  193. London Website Designing

    Hi..
    Really I was thinking that its a flash work..and I never tried it. you did really well..Again Thanks..

  194. Matt

    Wow, perfect. Exactly what I was looking for.

  195. eSmoker

    Great work.

    Will try it on our site soon.

    Thanks.

  196. Stephen

    We will be using this effect on our website soon for free signup links, very very cool effect.

  197. shweta gusain

    hi i tried it but the mouse over effect is not working properly…can u help me out..

  198. nashekrashe

    thnks for sharing

  199. FALCONSEYE

    Great stuff! Thanks for sharing.

  200. Abhinav

    Thank you!

  201. Aion-Top

    Thank you, I will apply this website.

  202. Rave

    Thank you for a long time searching for something like this!

Speak Your Mind…

Need to post HTML code?
Use Postable for your convenience.

Don't have an Avatar?
Set up a Gravatar image now!

Blog Blog Categories

Popular Comments Popular Posts

Recent Comments Recent Comments