{"id":13671929,"url":"https://github.com/powy1993/fullpage","last_synced_at":"2026-03-10T22:04:41.531Z","repository":{"id":23067245,"uuid":"26420764","full_name":"powy1993/fullpage","owner":"powy1993","description":"For desktop(ie5.5+) or mobile webApp without jQuery,create full screen pages fast and simple.","archived":false,"fork":false,"pushed_at":"2016-12-02T07:56:44.000Z","size":539,"stargazers_count":749,"open_issues_count":5,"forks_count":267,"subscribers_count":43,"default_branch":"master","last_synced_at":"2025-04-27T18:38:32.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://1.fullpagechris.sinaapp.com/index.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/powy1993.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-10T04:21:42.000Z","updated_at":"2025-02-17T06:27:33.000Z","dependencies_parsed_at":"2022-07-31T06:37:58.471Z","dependency_job_id":null,"html_url":"https://github.com/powy1993/fullpage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/powy1993/fullpage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powy1993%2Ffullpage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powy1993%2Ffullpage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powy1993%2Ffullpage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powy1993%2Ffullpage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/powy1993","download_url":"https://codeload.github.com/powy1993/fullpage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/powy1993%2Ffullpage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30357616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T09:01:22.254Z","updated_at":"2026-03-10T22:04:41.168Z","avatar_url":"https://github.com/powy1993.png","language":"JavaScript","funding_links":[],"categories":["[JavaScript](#javascript)","JavaScript"],"sub_categories":[],"readme":"fullpage\n========\n\nfor desktop(ie5.5+) and mobile\n\nYou can use it for creating your personal pages and webApp.\n\nWithout jQuery.Less than 9KB.\n\n兼容桌面端(ie5.5+) 和 手机端\n\n你可以用它来构建你的个人主页或者网页应用\n\n这是一个不使用jQuery小巧的框架 不到9KB\n\n\nThis is a [Demo](http://1.fullpagechris.sinaapp.com/fullpage.html).\n\n  - Help! I want to make it AUTOPLAY! [Demo like this](http://1.fullpagechris.sinaapp.com/autoPlay.html)\n\n  - I want a SPECIFIC example! [Demo like this](http://1.fullpagechris.sinaapp.com/index.html)\n\nHere are some examples which use fullpage.\n\n[PC](http://henan.qq.com/zt/2014/loveHenan/index.htm)\n[Mobile](http://henan.qq.com/zt/2014/loveHenan/index-mob.htm)\n\nEnjoy!\n\n## Usage\nFullpage only needs to follow a simple pattern. Here is an example:\n\n``` html\n\u003cdiv id=\"pageContain\"\u003e\t\n\t\u003cdiv class=\"page page1 current\"\u003e\n\t\t\u003cdiv class=\"contain\"\u003e\n\t\t\t\u003c!-- your own code here--\u003e\n\t\t\u003c/div\u003e\n\t\u003c/div\u003e\n    \u003c!-- ect.. --\u003e\n\u003c/div\u003e\n\n\u003c!--alternative--\u003e\n\u003cul id=\"navBar\"\u003e\n\t\u003cli\u003e0\u003c/li\u003e\n\t\u003c!-- ect.. --\u003e\n\u003c/ul\u003e\n\u003c!--alternative--\u003e\n```\n\n!新功能: \n\n你可以在 page 的 div 上加上 data-step, 当含有这个属性时, 你可以创造出不切屏的逐桢动画,\nfullpage 会为你自动添上 step1,step2,step3 这些 class, 并且在step终止时切屏.(详见Demo)\n\nAbove is the initial required structure– a series of elements wrapped in two containers. Place any content you want within the items. The containing div will need to be passed to the Fullpage function like so:\n\n``` js\n\nvar runPage = new FullPage({\n\n  id : 'pageContain',                            // id of contain\n  slideTime : 800,                               // time of slide\n  continuous : false,                            // create an infinite feel with no endpoints\n  effect : {                                     // slide effect\n          transform : {\n            translate : 'Y',                      // 'X'|'Y'|'XY'|'none'\n            scale : [.1, 1],                      // [scalefrom, scaleto]\n            rotate : [0, 0]                       // [rotatefrom, rotateto]\n          },\n          opacity : [0, 1]                       // [opacityfrom, opacityto]\n      },                           \n  mode : 'wheel,touch,nav:navBar',               // mode of fullpage\n  easing : 'ease',                               // easing('ease','ease-in','ease-in-out' or use cubic-bezier like [.33, 1.81, 1, 1];\n  start : 1\t\t\t\t\t // which page will display when install\n    //  ,onSwipeStart : function(index, thisPage) {   // callback onTouchStart\n    //    return 'stop';\n    //  }\n    //  ,beforeChange : function(index, thisPage) {   // callback before pageChange\n    //    return 'stop';\n    //  }\n    //  ,callback : function(index, thisPage) {       // callback when pageChange\n    //    alert(index);\n    //  };\n});\n\n```\n\nI always place this at the bottom of the page, externally, to verify the page is ready.\n\n## 设置\n\n- **id** String - 外层包裹id\n\n- **slideTime** Integer *(default:800)* - 每页切换时间(毫秒)\n\n- **effect** Object *(default:{})* - 效果参数\n\n- **continuous** Boolean *(default:false)* - 是否循环(即能从最后页跳到第一页面)\n\n  - transform\n\n    - translate String 切换方向 'X'|'Y'|'XY'|'none'      表示 X轴|Y轴|XY轴|无\n    - scale     Array  缩放     [scalefrom, scaleto]     表示 [起始缩放比例, 结束时缩放比例]  \n    - rotate    Array  旋转     [rotatefrom, rotateto]   表示 [起始旋转角度, 结束时旋转角度]\n\n  - opacity     Array  透明度   [opacityfrom, opacityto] 表示 [起始透明度, 结束时透明度]\n\n- **mode** String *(default:'')* - 转换模式 'wheel,touch,nav:navBar' 表示 '滚轮,触摸,导航条:导航条id'\n\n- **onSwipeStart** Function - 触摸开始时的回调函数\n  - 当 return 'stop' 时,此次触摸将不会生效\n\n- **beforeChange** Function - 滑动开始时的回调函数\n  - 当 return 'stop' 时,此次滑动将还原\n\n- **callback** Function - 滑动结束后的回调函数\n- **start** Integer - 初始化时被展示的页面页码\n\n## Fullpage API\n\nFullpage exposes a few functions that can be useful for script control of your pages.\n\n`prev()` slide to prev\n\n`next()` slide to next\n\n`thisPage()` returns current page position\n\n`go(num)` slide to set page position (num:the page you want to slide to)\n\n## 接口\n\nFullpage也提供了一些接口供使用此插件的开发者调用：\n\n`prev()`  直接滑向上一页\n\n`next()`  直接滑入下一页\n\n`thisPage()` 返回当前的页码\n\n`go(num)` 直接滑到第num页\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowy1993%2Ffullpage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowy1993%2Ffullpage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowy1993%2Ffullpage/lists"}