没有合适的资源?快使用搜索试试~ 我知道了~
YUI3 Cookbook
5星 · 超过95%的资源 需积分: 10 167 下载量 150 浏览量
2012-07-08
00:17:59
上传
评论 2
收藏 10.58MB PDF 举报
温馨提示
试读
426页
YUI3 Cookbook for Yahoo User Interface 3
资源推荐
资源详情
资源评论
YUI 3 Cookbook
Evan Goer
Beijing
•
Cambridge
•
Farnham
•
Köln
•
Sebastopol
•
Tokyo
YUI 3 Cookbook
by Evan Goer
Copyright © 2012 Yahoo! Inc. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.safaribooksonline.com). For more information, contact our
corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editor: Mary Treseler
Production Editor: Kristen Borg
Copyeditor: Rachel Monaghan
Proofreader: Kiel Van Horn
Indexer: BIM Indexing
Cover Designer: Karen Montgomery
Interior Designer: David Futato
Illustrator: Robert Romano
June 2012: First Edition.
Revision History for the First Edition:
2012-05-22 First release
See http://oreilly.com/catalog/errata.csp?isbn=9781449304195 for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc. YUI 3 Cookbook, the image of a spotted cuscus, and related trade dress are trade-
marks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-1-449-30419-5
[LSI]
1337722088
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1. Loading Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1
Loading Rollups and Modules 4
1.2 Loading SimpleYUI 6
1.3
Identifying and Loading Individual Modules 8
1.4 Loading a Different Default Skin 10
1.5
Loading Gallery Modules 11
1.6
Loading a YUI 2 Widget 13
1.7
Loading Locally Hosted Builds 14
1.8 Creating Your Own Modules 17
1.9 Creating a Module with Dependencies 19
1.10 Creating Truly Reusable Modules 22
1.11 Defining Groups of Custom Modules 24
1.12 Reusing a YUI Configuration 27
1.13 Defining Your Own Rollups 30
1.14
Loading jQuery as a YUI Module 31
1.15
Loading Modules Based on Browser Capabilities 34
1.16
Monkeypatching YUI 38
1.17
Loading Modules on Demand 39
1.18
Enabling Predictive Module Loading on User Interaction 42
1.19
Binding a YUI Instance to an iframe 45
1.20
Implementing Static Loading 48
2. DOM Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
2.1
Getting Element References 52
2.2
Manipulating CSS Classes 55
2.3
Getting and Setting DOM Properties 57
2.4
Changing an Element’s Inner Content 59
2.5
Working with Element Collections 60
2.6
Creating New Elements 62
iii
剩余425页未读,继续阅读
lcm1122
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- UE4仅k位移产生完美行走动作-UE4项目
- tensorflow-2.6.3-cp37-cp37m-manylinux2010-x86-64.whl
- tensorflow-2.6.2-cp39-cp39-win-amd64.whl
- tensorflow-2.6.2-cp39-cp39-manylinux2010-x86-64.whl
- 基于Python卷积神经网络人脸识别驾驶员疲劳检测与预警系统源码+使用说明+全部资料.zip
- BPNN-预测.rar
- 灾难分类数据集 PNG(12类 4.8K+ 张图像)
- java8和17的windows、linux版本
- MDK5.18版本,退出仿真不会有问题
- 预测-AE-1.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页