- 1
- 0
- 约 18页
- 2017-08-31 发布于河南
- 举报
html5实现iphone开机界面示例代码(HTML5 achieve iPhone boot interface sample code)
html5实现iphone开机界面示例代码(HTML5 achieve iPhone boot interface sample code)
HTML5 and XHTML2
HTML5 semantic, structured and standardized
? improve the design of the website and provide some suggestions
Semantic B and I tags in HTML5
? reduce memory and CPU usage by optimizing Web pages
Key words: Html5 implementation iPhone boot interface sample code
Think of using Html5 to copy Apples operating system and make a IOS that runs on the Web platform.
Of course, to develop an operating system, so I will you work one hundred years. Today first entertainment, first make a boot interface.
Pictures after completion:
Worried that the picture was taken by my PS, the student could go directly to the following address test:
Http:///yorhom/articles/3163078.html
Because the lufylegend package is really good, this development is still done with the engine. Code is not much, interested friends can look directly at.
The code in index.html:
Copy code
The code reads as follows:
DOCTYPE html!
html
head
meta charset= UTF-8 /
titleiphone/title
script src=, ./lufylegend-1.7.7.min.js, /script
script src=, ./js/Main.js, /script
/head
body
div id=, mylegend, loading... /div
/body
/html
The code in Main.js:
Copy code
The code reads as follows:
Init (50, mylegend, 450640, main);
LGlobal.setDebug (true);
Var loadData = [
{path: ./js/Shape.js, type:, JS},
{path: ./js/BootPage.js, type:, JS},
{name: wallpaper, path:, ./images/wall_paper.jpg}
];
Var datalist = {};
VaR, backLayer, iphoneLayer, screenLayer, buttonLayer;
Var iosShape;
Var bootPage;
Function, main () {
LLoadManage.load (loadData, null, gameInit);
}
Function gameInit (result) {
Datalist = result;
/ / initialization layer
InitLayer ();
Add / / iPhone shell
AddShape ();
/ / add boot interface
AddBack ();
}
Function, initLayer () {
Background / layer
BackLayer = new, LSprite ();
AddChild (backLayer);
}
Function, addShape () {
IosShape = new, Shape (IPHONE, 400600);
IosShape.x = 15;
IosShape.y = 5;
BackLayer.addChild (iosShape);
}
Function, a
您可能关注的文档
- 2014年3月1日后工商注册有限公司章程(In March 1, 2014 after the business registration articles of association of the Company Limited).doc
- 2014年专技人员公需科目培训(初级)考试(In 2014, the technical personnel required subjects training (Junior) examination).doc
- 2014年健康漆十大品牌(2014 health paint ten brands).doc
- 2014年全国法律硕士(法学)联考真题专业基础课(The master of law (Law) 2014 entrance exam Zhenti professional basic courses).doc
- 2014年度中小学教师中高级职称网络考试(2014, primary and secondary school teachers, senior title examination).doc
- 2014年度职业卫生复习题(Review of occupational health in 2014).doc
- 2014年中级统计师考试真题答案(2014 intermediate statistician exam answer).doc
- 2014年度职业生涯规划(2014 career planning).doc
- 2014年最新亚马逊卖家运营测试-试题及答案-开店考试-满分(2014's latest Amazon seller operational test - questions and answers - open shop exams - full marks).doc
- 2014年生态板十大品牌_板材质量区别(In 2014 ten major brands _ ecological quality difference).doc
- 小区绿化施工协议书.docx
- 墙面施工协议书.docx
- 1 古诗二首(课件)--2025-2026学年统编版语文二年级下册.pptx
- (2026春新版)部编版八年级道德与法治下册《3.1《公民基本权利》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《4.3《依法履行义务》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.2《按劳分配为主体、多种分配方式并存》PPT课件.pptx
- (2026春新版)部编版八年级道德与法治下册《6.1《公有制为主体、多种所有制经济共同发展》PPT课件.pptx
- 初三教学管理交流发言稿.docx
- 小学生课外阅读总结.docx
- 餐饮门店夜经济运营的社会责任报告(夜间贡献)撰写流程试题库及答案.doc
最近下载
- 部编版六年级语文下册全册一课一练同步练习题配知识点归纳(含答案).pdf VIP
- 预制空心内夯载体桩技术.pdf VIP
- 2025版《全基础题型》高考数学-基础题(721例题型).docx VIP
- (正式版)DB21∕T 4190-2025 《既有住宅适老化改造建筑设计规程》.pdf VIP
- T_NBSC 001-2026(可口革囊星虫养殖技术规范).pdf
- 餐饮业食品安全管理八项制度.pptx VIP
- 法医学中的法医现场勘查学 .pdf VIP
- 中风的中医诊疗方案.pdf VIP
- 2025年自来水供应专属承包合同样本版.docx VIP
- (2025春新教材)人教版PEP版三年级英语下册全册教案件 .pdf
原创力文档

文档评论(0)