Creates a depth of illusion where the background moves at a - - PowerPoint PPT Presentation

creates a depth of illusion where the
SMART_READER_LITE
LIVE PREVIEW

Creates a depth of illusion where the background moves at a - - PowerPoint PPT Presentation

Creates a depth of illusion where the background moves at a different speed as the foreground. jParallax - the layers move at different pace depending on their dimensions. Widely used in 2D games 10-20 years ago. One of the


slide-1
SLIDE 1
slide-2
SLIDE 2

 Creates a depth of illusion where the

background moves at a different speed as the foreground.

slide-3
SLIDE 3

 jParallax - the layers move at different

pace depending on their dimensions.

slide-4
SLIDE 4

 Widely used in 2D games 10-20 years

ago.

 One of the earliest parallax scrolling

website is introduced by Nike Better World.

slide-5
SLIDE 5
slide-6
SLIDE 6

 HTML5 / jQuery / Javascripting  HTML5 / CSS

slide-7
SLIDE 7

 Three js plugins are used:

  • 1. Stellar.js – for the scrolling
  • 2. Waypoints – for the navigation
  • 3. jQuery Easing – for the easing movement

Experiment on: Easing scrolling movement & navigation. Minor on the sprite.

slide-8
SLIDE 8

<ul class="navigation"> <li data-slide="1">Home</li> <li data-slide="2">About</li> <li data-slide="3">Gallery</li> <li data-slide="5">Portfolio</li> <li data-slide="4">Contact</li> </ul> <div class="slide" id="slide1" data-slide="1" data-stellar-background- ratio="0.5"> <div id="content1"> hello & welcome.this is my first time trying to edit a parallax scrolling website by understanding the tutorial and the codes. </div> </div>

slide-9
SLIDE 9

<div class="slide" id="slide2" data-slide="2" data- stellar-background-ratio="0.5"> <div class="wrapper"> <img src="images/slide2/blur-ball.png" data-stellar- ratio="3" data-stellar-vertical-offset="-55"alt=""> <img src="images/slide2/blur-ball-big.png" data- stellar-ratio="1" data-stellar-vertical-offset="- 102"alt=""> <img src="images/slide2/focus-ball.png" data-stellar- ratio="1.5" data-stellar-vertical-offset="-53"alt=""> ... ... ... ... </div> </div>

slide-10
SLIDE 10

 Using source code to set the value of the

speed of the sprite.

 Javascript for the scrolling.

Experiment on: Sprite

slide-11
SLIDE 11

<div class="photograph" data-type="sprite" data-offsetY="2000" data-Xposition="75%" data-speed="2"> </div> total scroll amount divided by the data speed and then plus the amount of the ideal position.

slide-12
SLIDE 12

 Using javascript to control the path.

Experiment on: How to make a path using javascripts.

slide-13
SLIDE 13

$.fn.scrollPath("getPath") // Move to 'start' element .moveTo(400, 50, {name: "start"}) // Line to 'description' element .lineTo(400, 800, {name: "description"}) // Arc down and line to 'syntax' .arc(200, 1200, 400, -Math.PI/2, Math.PI/2, true) .lineTo(600, 1600, { callback: function() { highlight($(".settings")); }, name: "syntax" }) // Continue line to 'scrollbar' .lineTo(1750, 1600, { callback: function() { highlight($(".sp-scroll-handle")); }, name: "scrollbar" })

slide-14
SLIDE 14

 Using CSS to create a path.

Experiment on: How to make a path using css properties.

slide-15
SLIDE 15

<div id="egg" data-0="top:0%; left:50%;" data-500="top:50%;" data-3000=display:block;" data-4700="left:-30%;"> <img src="images/egg.png" width="205" height="221"> </div>

slide-16
SLIDE 16

 jQuery navigation ; after you click, an

additional page will scroll in either up down or left right but the main page remains fixed.

Experiment on: Navigation

slide-17
SLIDE 17

<div id="frame"> <li> <a href="javascript:$.pageslide({ direction: 'right', href: '_secondary.html' })"> CLICK HERE </a> </li> </ul> </div>

slide-18
SLIDE 18

 Initial Idea To create a website for an ebook “Jack and the Beanstalk”.

slide-19
SLIDE 19

 Parody of Humpty Dumpty Kak Cang sat on the stall, Kak Cang had a great fall, All of its partners, and all of the garnishing, Joined Kak Cang to unite as a delicious cuisine.

slide-20
SLIDE 20

Storyboard

slide-21
SLIDE 21

Landing page

slide-22
SLIDE 22
slide-23
SLIDE 23

Rough Draft

slide-24
SLIDE 24
slide-25
SLIDE 25