Welcome to MSDN Blogs Sign in | Join | Help

Adapted Page Turn Sample for my Journals

With a little work, I turned the Page Turn Sample in the Silverlight.net gallery into a viewer for my Journals.  You can get to the page turner for the journal by clicking on the journal picture from my new Journalist podcast page.  I've also added a few features.

image

  1. I changed it to use my images (this was actually the easiest step)
  2. I changed the application to uniformly scale to the size of the browser window
  3. I added a page query parameter so that you can link to a specific page using the page number:
    http://journalist.charette.com/europe1992/?page=3
  4. I added web analytics to the app so that pages views are actually recorded as events in the web analytics service I am using.  I'll be talking about this at Mix next month in my session on Silverlight and Web Analytics.

You can download the source code here for my page turner adaptation.  I've also submitted it to the Silverlight.net gallery.

Published Wednesday, February 13, 2008 10:35 PM by Michael S. Scherotter

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Adapted Page Turn Sample for my Journals

With a little work, I turned the Page Turn Sample in the Silverlight.net gallery into a viewer for my

Thursday, February 14, 2008 1:42 AM by Noticias externas

# Silverlight Cream for February 14, 2008 -- #198

Jesse Liberty takes a few shots at answering some SL2.0 questions, at least with things he's At Liberty

Thursday, February 14, 2008 6:01 PM by Community Blogs

# re: Adapted Page Turn Sample for my Journals

VERY SWEET .. you're a freak Michael and that's why we value you ;)

-

Scott

Thursday, February 14, 2008 9:14 PM by Scott Barnes

# re: Adapted Page Turn Sample for my Journals

Is it possible to use such effect for an application?

I have to implement a SW with severals screens organized like an assistant (next, previous) and it will be great if the user could change page with a such effect.

Wednesday, March 12, 2008 6:41 AM by Sblancher

# re: Adapted Page Turn Sample for my Journals

It definitely is possible to do so.  

Wednesday, March 12, 2008 9:44 AM by Michael S. Scherotter

# re: Adapted Page Turn Sample for my Journals

True?

Could you tell me more?

You can contact me via email: sblancher@serial.ch

Thanks a lot!!!!

Friday, March 14, 2008 7:51 AM by Sblancher

# re: Adapted Page Turn Sample for my Journals

Michael, thanks for this great sample...

like to know how to control on page number.. i have number of pages.. not getting from where i can increase the number o pages.

looking for your reply

rrajeshn@gmx.com

Friday, July 25, 2008 1:59 AM by artsrajesh

# re: Adapted Page Turn Sample for my Journals

In the CreateSilverlight.js file the PageTurn constructor takes the number of pages as its argument, in this case 24 pages:

function createSilverlight()

{

   scene = new PageTurn(24);

Michael

Friday, July 25, 2008 2:10 AM by Michael S. Scherotter

# re: Adapted Page Turn Sample for my Journals

one more doubt... when i m running this application through visual studio by build up process its working fine.

same, when i m trying to run this standalone .. means from folder .. its not working.

Friday, July 25, 2008 3:19 AM by artsrajesh

# re: Adapted Page Turn Sample for my Journals

Cool,

How about changing the page layout to landscape???

Friday, October 03, 2008 10:48 AM by Dale

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker