SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
Storytelling
using Javascript, HTML5, CSS3



              with

        Storify
       @xdamman - March 2011
http://storify.com/nzherald/reaction-to-japanese-tsunami




                                                           http://dl.dropbox.com/u/1702667/sites/kenburns/index.html
JSON/CSS3/JavaScript
   is the new Model/View/Controller
Model: JSON
Story url + ‘.json’ - e.g. http://storify.com/nzherald/reaction-to-japanese-tsunami.json




            ...
http://storify.com/nzherald/reaction-to-japanese-tsunami.json

                   position index
           of the story element (string)



 Details of the
   editor who
    added this
element to the
         story




image attached
to the element
        (if any)


  Normalized
 details of the
story element
          (title,
    thumbnail,
   description,
       author)



  Timestamps                                                      Number of seconds since January 1st 1970
(epoch time in                                                    To convert to Javascript date:
     seconds)                                                     new Date(parseInt(story.elements[“3”].created_at,10)*1000);
http://storify.com/nzherald/reaction-to-japanese-tsunami

                Story header
           title, author,
published_at, description




               Story element
             source: ‘twitter’
         elementClass: ‘tweet’




               Story element
            source: ‘facebook’
        elementClass: ‘fbpost’




               Story element
             source: ‘twitter’
         elementClass: ‘tweet’
image: src: ‘http://(...).jpg’
http://storify.com/nzherald/reaction-to-japanese-tsunami

               Story element
             source: ‘twitter’
         elementClass: ‘tweet’
image: src: ‘http://(...).jpg’




               Story element
            source: ‘storify’
         elementClass: ‘text’




               Story element
            source: ‘twitter’
        elementClass: ‘tweet’
View: HTML5+CSS3
CSS3
Controller: JavaScript

1. Fetch the model
  jQuery> $.getJSON(storyurl+’.json?
  callback=?’,function(storyurl) { });

2. Fill the HTML template with the story
  jQuery> $(‘#story h1’).html(story.title);

3. Add extra behaviors, animations, ...
We fetch the model
                       $.getJSON




            We render the story
            $(domElement).html();




    We walkthrough each story
    element to gather all images
          story.elements[i].image
    and all twitter users ‘ avatars
  story.elements[i].author.avatar




      We render the images in a
     slideshow with a Ken Burns
                          effect
              jQuery library from
http://willmcgugan.com/2011/2/26/
ken-burns-effect-with-javascript-
                       and-canvas
Sources available on
http://github.com/storify/templates



             Storify
             Social media stories


            @xdamman - March 2011

Mais conteúdo relacionado

Destaque

ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...Mario Heiderich
 
Enforcing Your Code of Conduct: effective incident response
Enforcing Your Code of Conduct: effective incident responseEnforcing Your Code of Conduct: effective incident response
Enforcing Your Code of Conduct: effective incident responseAudrey Eschright
 
Aristotle's Storytelling Framework for the Web
Aristotle's Storytelling Framework for the WebAristotle's Storytelling Framework for the Web
Aristotle's Storytelling Framework for the WebJeroen van Geel
 
Stuff I've said to FOIA officers to get them to give me ... well, stuff
Stuff I've said to FOIA officers to get them to give me ... well, stuffStuff I've said to FOIA officers to get them to give me ... well, stuff
Stuff I've said to FOIA officers to get them to give me ... well, stuffCezary Podkul
 
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Mario Heiderich
 
The Image that called me - Active Content Injection with SVG Files
The Image that called me - Active Content Injection with SVG FilesThe Image that called me - Active Content Injection with SVG Files
The Image that called me - Active Content Injection with SVG FilesMario Heiderich
 
Towards License Interoperability: Patterns of Sustainable Sharing Policy
Towards License Interoperability: Patterns of Sustainable Sharing PolicyTowards License Interoperability: Patterns of Sustainable Sharing Policy
Towards License Interoperability: Patterns of Sustainable Sharing PolicyMike Linksvayer
 
Functional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis AtencioFunctional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis AtencioLuis Atencio
 
An Abusive Relationship with AngularJS
An Abusive Relationship with AngularJSAn Abusive Relationship with AngularJS
An Abusive Relationship with AngularJSMario Heiderich
 
Domain Modeling in a Functional World
Domain Modeling in a Functional WorldDomain Modeling in a Functional World
Domain Modeling in a Functional WorldDebasish Ghosh
 
Green Building Final Presentation
Green Building Final PresentationGreen Building Final Presentation
Green Building Final PresentationQatar LEEDers
 
Монады для барабанщиков. Антон Холомьёв
Монады для барабанщиков. Антон ХоломьёвМонады для барабанщиков. Антон Холомьёв
Монады для барабанщиков. Антон ХоломьёвЮрий Сыровецкий
 
Intro to Functional Programming
Intro to Functional ProgrammingIntro to Functional Programming
Intro to Functional ProgrammingHugo Firth
 
Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017NVIDIA
 
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015) Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015) Interbrand Madrid
 
What the F**K is Social Media: One Year Later
What the F**K is Social Media: One Year LaterWhat the F**K is Social Media: One Year Later
What the F**K is Social Media: One Year LaterMartafy!
 
ng-owasp: OWASP Top 10 for AngularJS Applications
ng-owasp: OWASP Top 10 for AngularJS Applicationsng-owasp: OWASP Top 10 for AngularJS Applications
ng-owasp: OWASP Top 10 for AngularJS ApplicationsKevin Hakanson
 
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...IABmembership
 
Fostering a Startup and Innovation Ecosystem
Fostering a Startup and Innovation EcosystemFostering a Startup and Innovation Ecosystem
Fostering a Startup and Innovation EcosystemTechstars
 

Destaque (20)

ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
 
Enforcing Your Code of Conduct: effective incident response
Enforcing Your Code of Conduct: effective incident responseEnforcing Your Code of Conduct: effective incident response
Enforcing Your Code of Conduct: effective incident response
 
Danger Of Free
Danger Of FreeDanger Of Free
Danger Of Free
 
Aristotle's Storytelling Framework for the Web
Aristotle's Storytelling Framework for the WebAristotle's Storytelling Framework for the Web
Aristotle's Storytelling Framework for the Web
 
Stuff I've said to FOIA officers to get them to give me ... well, stuff
Stuff I've said to FOIA officers to get them to give me ... well, stuffStuff I've said to FOIA officers to get them to give me ... well, stuff
Stuff I've said to FOIA officers to get them to give me ... well, stuff
 
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
 
The Image that called me - Active Content Injection with SVG Files
The Image that called me - Active Content Injection with SVG FilesThe Image that called me - Active Content Injection with SVG Files
The Image that called me - Active Content Injection with SVG Files
 
Towards License Interoperability: Patterns of Sustainable Sharing Policy
Towards License Interoperability: Patterns of Sustainable Sharing PolicyTowards License Interoperability: Patterns of Sustainable Sharing Policy
Towards License Interoperability: Patterns of Sustainable Sharing Policy
 
Functional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis AtencioFunctional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis Atencio
 
An Abusive Relationship with AngularJS
An Abusive Relationship with AngularJSAn Abusive Relationship with AngularJS
An Abusive Relationship with AngularJS
 
Domain Modeling in a Functional World
Domain Modeling in a Functional WorldDomain Modeling in a Functional World
Domain Modeling in a Functional World
 
Green Building Final Presentation
Green Building Final PresentationGreen Building Final Presentation
Green Building Final Presentation
 
Монады для барабанщиков. Антон Холомьёв
Монады для барабанщиков. Антон ХоломьёвМонады для барабанщиков. Антон Холомьёв
Монады для барабанщиков. Антон Холомьёв
 
Intro to Functional Programming
Intro to Functional ProgrammingIntro to Functional Programming
Intro to Functional Programming
 
Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017
 
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015) Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
 
What the F**K is Social Media: One Year Later
What the F**K is Social Media: One Year LaterWhat the F**K is Social Media: One Year Later
What the F**K is Social Media: One Year Later
 
ng-owasp: OWASP Top 10 for AngularJS Applications
ng-owasp: OWASP Top 10 for AngularJS Applicationsng-owasp: OWASP Top 10 for AngularJS Applications
ng-owasp: OWASP Top 10 for AngularJS Applications
 
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
 
Fostering a Startup and Innovation Ecosystem
Fostering a Startup and Innovation EcosystemFostering a Startup and Innovation Ecosystem
Fostering a Startup and Innovation Ecosystem
 

Mais de Xavier Damman

#BrusselsTogether at Crowdsourcing Week
#BrusselsTogether at Crowdsourcing Week#BrusselsTogether at Crowdsourcing Week
#BrusselsTogether at Crowdsourcing WeekXavier Damman
 
Embracing the digital revolution at a regional level: Wallonia
Embracing the digital revolution at a regional level: WalloniaEmbracing the digital revolution at a regional level: Wallonia
Embracing the digital revolution at a regional level: WalloniaXavier Damman
 
#BEStartupManifesto presentation v1.0
#BEStartupManifesto presentation v1.0#BEStartupManifesto presentation v1.0
#BEStartupManifesto presentation v1.0Xavier Damman
 
The Digital Marketer Is The New Curator
The Digital Marketer Is The New CuratorThe Digital Marketer Is The New Curator
The Digital Marketer Is The New CuratorXavier Damman
 
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...Xavier Damman
 
Storify - amplify the voices that matter
Storify - amplify the voices that matterStorify - amplify the voices that matter
Storify - amplify the voices that matterXavier Damman
 
IBBT iMinds 2011 - Story of Storify, a story of collaboration
IBBT iMinds 2011 - Story of Storify, a story of collaborationIBBT iMinds 2011 - Story of Storify, a story of collaboration
IBBT iMinds 2011 - Story of Storify, a story of collaborationXavier Damman
 
Storify news:rewired
Storify news:rewiredStorify news:rewired
Storify news:rewiredXavier Damman
 
ReadWriteWeb 2way summit: Future of Storytelling
ReadWriteWeb 2way summit: Future of StorytellingReadWriteWeb 2way summit: Future of Storytelling
ReadWriteWeb 2way summit: Future of StorytellingXavier Damman
 
Présentation de Storify au séminaire de TV5 monde
Présentation de Storify au séminaire de TV5 mondePrésentation de Storify au séminaire de TV5 monde
Présentation de Storify au séminaire de TV5 mondeXavier Damman
 
Publitweet presentation
Publitweet presentationPublitweet presentation
Publitweet presentationXavier Damman
 
From Twitter App idea to Mashable.com in 24h
From Twitter App idea to Mashable.com in 24hFrom Twitter App idea to Mashable.com in 24h
From Twitter App idea to Mashable.com in 24hXavier Damman
 
Tweetag Plug And Play
Tweetag Plug And PlayTweetag Plug And Play
Tweetag Plug And PlayXavier Damman
 
Tweetag Browse The Twittosphere
Tweetag Browse The TwittosphereTweetag Browse The Twittosphere
Tweetag Browse The TwittosphereXavier Damman
 
How to make people commenting on your blog?
How to make people commenting on your blog?How to make people commenting on your blog?
How to make people commenting on your blog?Xavier Damman
 
Yucam - Presentation at QEC2007
Yucam - Presentation at QEC2007Yucam - Presentation at QEC2007
Yucam - Presentation at QEC2007Xavier Damman
 
CommenTag presentation at London Minibar / Feb08
CommenTag presentation at London Minibar / Feb08CommenTag presentation at London Minibar / Feb08
CommenTag presentation at London Minibar / Feb08Xavier Damman
 

Mais de Xavier Damman (20)

#BrusselsTogether at Crowdsourcing Week
#BrusselsTogether at Crowdsourcing Week#BrusselsTogether at Crowdsourcing Week
#BrusselsTogether at Crowdsourcing Week
 
Embracing the digital revolution at a regional level: Wallonia
Embracing the digital revolution at a regional level: WalloniaEmbracing the digital revolution at a regional level: Wallonia
Embracing the digital revolution at a regional level: Wallonia
 
#BEStartupManifesto presentation v1.0
#BEStartupManifesto presentation v1.0#BEStartupManifesto presentation v1.0
#BEStartupManifesto presentation v1.0
 
The Digital Marketer Is The New Curator
The Digital Marketer Is The New CuratorThe Digital Marketer Is The New Curator
The Digital Marketer Is The New Curator
 
Feweb
FewebFeweb
Feweb
 
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
 
Storify - amplify the voices that matter
Storify - amplify the voices that matterStorify - amplify the voices that matter
Storify - amplify the voices that matter
 
IBBT iMinds 2011 - Story of Storify, a story of collaboration
IBBT iMinds 2011 - Story of Storify, a story of collaborationIBBT iMinds 2011 - Story of Storify, a story of collaboration
IBBT iMinds 2011 - Story of Storify, a story of collaboration
 
Storify news:rewired
Storify news:rewiredStorify news:rewired
Storify news:rewired
 
Storify #iOSDevCamp
Storify #iOSDevCampStorify #iOSDevCamp
Storify #iOSDevCamp
 
ReadWriteWeb 2way summit: Future of Storytelling
ReadWriteWeb 2way summit: Future of StorytellingReadWriteWeb 2way summit: Future of Storytelling
ReadWriteWeb 2way summit: Future of Storytelling
 
Présentation de Storify au séminaire de TV5 monde
Présentation de Storify au séminaire de TV5 mondePrésentation de Storify au séminaire de TV5 monde
Présentation de Storify au séminaire de TV5 monde
 
Publitweet presentation
Publitweet presentationPublitweet presentation
Publitweet presentation
 
From Twitter App idea to Mashable.com in 24h
From Twitter App idea to Mashable.com in 24hFrom Twitter App idea to Mashable.com in 24h
From Twitter App idea to Mashable.com in 24h
 
Tweetag Plug And Play
Tweetag Plug And PlayTweetag Plug And Play
Tweetag Plug And Play
 
Tweetag Browse The Twittosphere
Tweetag Browse The TwittosphereTweetag Browse The Twittosphere
Tweetag Browse The Twittosphere
 
How to make people commenting on your blog?
How to make people commenting on your blog?How to make people commenting on your blog?
How to make people commenting on your blog?
 
Yucam - Presentation at QEC2007
Yucam - Presentation at QEC2007Yucam - Presentation at QEC2007
Yucam - Presentation at QEC2007
 
CommenTag presentation at London Minibar / Feb08
CommenTag presentation at London Minibar / Feb08CommenTag presentation at London Minibar / Feb08
CommenTag presentation at London Minibar / Feb08
 
Make Or Fund Mockup
Make Or Fund MockupMake Or Fund Mockup
Make Or Fund Mockup
 

Último

Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
办理(麻省罗威尔毕业证书)美国麻省大学罗威尔校区毕业证成绩单原版一比一
办理(麻省罗威尔毕业证书)美国麻省大学罗威尔校区毕业证成绩单原版一比一办理(麻省罗威尔毕业证书)美国麻省大学罗威尔校区毕业证成绩单原版一比一
办理(麻省罗威尔毕业证书)美国麻省大学罗威尔校区毕业证成绩单原版一比一diploma 1
 
1比1办理美国北卡罗莱纳州立大学毕业证成绩单pdf电子版制作修改
1比1办理美国北卡罗莱纳州立大学毕业证成绩单pdf电子版制作修改1比1办理美国北卡罗莱纳州立大学毕业证成绩单pdf电子版制作修改
1比1办理美国北卡罗莱纳州立大学毕业证成绩单pdf电子版制作修改yuu sss
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一Fi sss
 
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,Aginakm1
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case StudySophia Viganò
 
306MTAMount UCLA University Bachelor's Diploma in Social Media
306MTAMount UCLA University Bachelor's Diploma in Social Media306MTAMount UCLA University Bachelor's Diploma in Social Media
306MTAMount UCLA University Bachelor's Diploma in Social MediaD SSS
 
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degreeyuu sss
 
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree ttt fff
 
办理学位证加州州立大学洛杉矶分校毕业证成绩单原版一比一
办理学位证加州州立大学洛杉矶分校毕业证成绩单原版一比一办理学位证加州州立大学洛杉矶分校毕业证成绩单原版一比一
办理学位证加州州立大学洛杉矶分校毕业证成绩单原版一比一Fi L
 
韩国SKKU学位证,成均馆大学毕业证书1:1制作
韩国SKKU学位证,成均馆大学毕业证书1:1制作韩国SKKU学位证,成均馆大学毕业证书1:1制作
韩国SKKU学位证,成均馆大学毕业证书1:1制作7tz4rjpd
 
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services DubaiDubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubaikojalkojal131
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一F dds
 
定制(CQU文凭证书)中央昆士兰大学毕业证成绩单原版一比一
定制(CQU文凭证书)中央昆士兰大学毕业证成绩单原版一比一定制(CQU文凭证书)中央昆士兰大学毕业证成绩单原版一比一
定制(CQU文凭证书)中央昆士兰大学毕业证成绩单原版一比一Fi ss
 
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一z xss
 
Business research proposal mcdo.pptxBusiness research proposal mcdo.pptxBusin...
Business research proposal mcdo.pptxBusiness research proposal mcdo.pptxBusin...Business research proposal mcdo.pptxBusiness research proposal mcdo.pptxBusin...
Business research proposal mcdo.pptxBusiness research proposal mcdo.pptxBusin...mrchrns005
 
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
(办理学位证)约克圣约翰大学毕业证,KCL成绩单原版一比一
(办理学位证)约克圣约翰大学毕业证,KCL成绩单原版一比一(办理学位证)约克圣约翰大学毕业证,KCL成绩单原版一比一
(办理学位证)约克圣约翰大学毕业证,KCL成绩单原版一比一D SSS
 

Último (20)

Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
办理(麻省罗威尔毕业证书)美国麻省大学罗威尔校区毕业证成绩单原版一比一
办理(麻省罗威尔毕业证书)美国麻省大学罗威尔校区毕业证成绩单原版一比一办理(麻省罗威尔毕业证书)美国麻省大学罗威尔校区毕业证成绩单原版一比一
办理(麻省罗威尔毕业证书)美国麻省大学罗威尔校区毕业证成绩单原版一比一
 
1比1办理美国北卡罗莱纳州立大学毕业证成绩单pdf电子版制作修改
1比1办理美国北卡罗莱纳州立大学毕业证成绩单pdf电子版制作修改1比1办理美国北卡罗莱纳州立大学毕业证成绩单pdf电子版制作修改
1比1办理美国北卡罗莱纳州立大学毕业证成绩单pdf电子版制作修改
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
 
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
'CASE STUDY OF INDIRA PARYAVARAN BHAVAN DELHI ,
 
ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case Study
 
306MTAMount UCLA University Bachelor's Diploma in Social Media
306MTAMount UCLA University Bachelor's Diploma in Social Media306MTAMount UCLA University Bachelor's Diploma in Social Media
306MTAMount UCLA University Bachelor's Diploma in Social Media
 
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国亚利桑那大学毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
 
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲弗林德斯大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
办理学位证加州州立大学洛杉矶分校毕业证成绩单原版一比一
办理学位证加州州立大学洛杉矶分校毕业证成绩单原版一比一办理学位证加州州立大学洛杉矶分校毕业证成绩单原版一比一
办理学位证加州州立大学洛杉矶分校毕业证成绩单原版一比一
 
韩国SKKU学位证,成均馆大学毕业证书1:1制作
韩国SKKU学位证,成均馆大学毕业证书1:1制作韩国SKKU学位证,成均馆大学毕业证书1:1制作
韩国SKKU学位证,成均馆大学毕业证书1:1制作
 
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services DubaiDubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
Dubai Calls Girl Tapes O525547819 Real Tapes Escort Services Dubai
 
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
办理学位证(SFU证书)西蒙菲莎大学毕业证成绩单原版一比一
 
定制(CQU文凭证书)中央昆士兰大学毕业证成绩单原版一比一
定制(CQU文凭证书)中央昆士兰大学毕业证成绩单原版一比一定制(CQU文凭证书)中央昆士兰大学毕业证成绩单原版一比一
定制(CQU文凭证书)中央昆士兰大学毕业证成绩单原版一比一
 
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
原版美国亚利桑那州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
 
Business research proposal mcdo.pptxBusiness research proposal mcdo.pptxBusin...
Business research proposal mcdo.pptxBusiness research proposal mcdo.pptxBusin...Business research proposal mcdo.pptxBusiness research proposal mcdo.pptxBusin...
Business research proposal mcdo.pptxBusiness research proposal mcdo.pptxBusin...
 
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
 
(办理学位证)约克圣约翰大学毕业证,KCL成绩单原版一比一
(办理学位证)约克圣约翰大学毕业证,KCL成绩单原版一比一(办理学位证)约克圣约翰大学毕业证,KCL成绩单原版一比一
(办理学位证)约克圣约翰大学毕业证,KCL成绩单原版一比一
 

Storytelling with Javascript, HTML5 and CSS3

  • 1. Storytelling using Javascript, HTML5, CSS3 with Storify @xdamman - March 2011
  • 2. http://storify.com/nzherald/reaction-to-japanese-tsunami http://dl.dropbox.com/u/1702667/sites/kenburns/index.html
  • 3. JSON/CSS3/JavaScript is the new Model/View/Controller
  • 4. Model: JSON Story url + ‘.json’ - e.g. http://storify.com/nzherald/reaction-to-japanese-tsunami.json ...
  • 5. http://storify.com/nzherald/reaction-to-japanese-tsunami.json position index of the story element (string) Details of the editor who added this element to the story image attached to the element (if any) Normalized details of the story element (title, thumbnail, description, author) Timestamps Number of seconds since January 1st 1970 (epoch time in To convert to Javascript date: seconds) new Date(parseInt(story.elements[“3”].created_at,10)*1000);
  • 6. http://storify.com/nzherald/reaction-to-japanese-tsunami Story header title, author, published_at, description Story element source: ‘twitter’ elementClass: ‘tweet’ Story element source: ‘facebook’ elementClass: ‘fbpost’ Story element source: ‘twitter’ elementClass: ‘tweet’ image: src: ‘http://(...).jpg’
  • 7. http://storify.com/nzherald/reaction-to-japanese-tsunami Story element source: ‘twitter’ elementClass: ‘tweet’ image: src: ‘http://(...).jpg’ Story element source: ‘storify’ elementClass: ‘text’ Story element source: ‘twitter’ elementClass: ‘tweet’
  • 10. Controller: JavaScript 1. Fetch the model jQuery> $.getJSON(storyurl+’.json? callback=?’,function(storyurl) { }); 2. Fill the HTML template with the story jQuery> $(‘#story h1’).html(story.title); 3. Add extra behaviors, animations, ...
  • 11. We fetch the model $.getJSON We render the story $(domElement).html(); We walkthrough each story element to gather all images story.elements[i].image and all twitter users ‘ avatars story.elements[i].author.avatar We render the images in a slideshow with a Ken Burns effect jQuery library from http://willmcgugan.com/2011/2/26/ ken-burns-effect-with-javascript- and-canvas
  • 12. Sources available on http://github.com/storify/templates Storify Social media stories @xdamman - March 2011