精通jQuery:JavaScript和CSS开发入门

需积分: 9 1 下载量 170 浏览量 更新于2024-07-27 收藏 9.92MB PDF 举报
"《 Beginning JavaScript and CSS Development with jQuery》是一本关于前端开发的书籍,主要聚焦于JavaScript、CSS以及jQuery的使用。书中包含了详细的代码示例和全彩插图,旨在帮助初学者和开发者深入理解这三种技术,并利用jQuery API进行高效开发。" 本书分为两大部分:jQuery API和jQuery UI。 第一部分“jQuery API”涵盖了以下核心概念和技能: 1. 第1章“Introduction to jQuery”介绍了jQuery库的基础知识,包括如何引入jQuery,以及它如何简化JavaScript编程。 2. 第2章“Selecting and Filtering”讲解了如何选择和过滤DOM元素,包括ID、类选择器、属性选择器等,并演示了如何使用jQuery选择器。 3. 第3章“Events”介绍了事件处理,如绑定事件、事件冒泡和事件委托。 4. 第4章“Manipulating Content and Attributes”阐述了修改页面内容和元素属性的方法,如文本、HTML和属性操作。 5. 第5章“Arrays and Iteration”讨论了数组操作和循环,这对于处理集合数据很有帮助。 6. 第6章“CSS”展示了如何使用jQuery来操作CSS样式和类。 7. 第7章“AJAX”涵盖了异步数据交换,包括$.ajax(),$.get()和$.post()方法。 8. 第8章“Effects”讲解了动画效果,如淡入淡出、滑动和速度控制。 9. 第9章“Plugins”介绍了如何使用和创建jQuery插件,扩展jQuery的功能。 第二部分“jQuery UI”关注用户界面组件的实现: 1. 第10章至第16章分别介绍了拖放功能、排序、框选选择、手风琴效果、日期选择器、对话框和标签页等jQuery UI组件的实现,这些组件极大地丰富了用户交互体验。 附录部分提供了练习答案和关键API的详细参考,包括选择器、筛选、事件、属性和数据缓存、内容操作以及AJAX方法等,方便读者查阅和学习。 这本书是学习JavaScript、CSS和jQuery的理想资源,无论你是前端开发的新手还是有经验的开发者,都能从中受益匪浅,提升自己的前端开发技能。通过阅读和实践书中的内容,读者将能够熟练掌握jQuery API,创建交互性强、用户体验优秀的Web应用。

Based on the following story, continue the story by writing two paragraphs, paragraph 1 beginning with "A few weeks later, I went to the farm again. " and paragraph 2 beginning with "I was just about to leave when the hummingbird appeared."respectively with 150 words. I was invited to a cookout on an old friend's farm in western Washington. I parked my car outside the farm and walked past a milking house which had apparently not been used in many years.A noise at a window caught my attention,so I entered it. It was a hummingbird,desperately trying to escape. She was covered in spider-webs and was barely able to move her wings. She ceased her struggle the instant I picked her up. With the bird in my cupped hand, I looked around to see how she had gotten in. The broken window glass was the likely answer. I stuffed a piece of cloth into the hole and took her outside,closing the door securely behind me. When I opened my hand, the bird did not fly away; she sat looking at me with her bright eyes.I removed the sticky spider-webs that covered her head and wings. Still, she made no attempt to fly.Perhaps she had been struggling against the window too long and was too tired? Or too thirsty? As I carried her up the blackberry-lined path toward my car where I kept a water bottle, she began to move. I stopped, and she soon took wing but did not immediately fly away. Hovering,she approached within six inches of my face. For a very long moment,this tiny creature looked into my eyes, turning her head from side to side. Then she flew quickly out of sight. During the cookout, I told my hosts about the hummingbird incident. They promised to fix the window. As I was departing, my friends walked me to my car. I was standing by the car when a hummingbird flew to the center of our group and began hovering. She turned from person to person until she came to me. She again looked directly into my eyes, then let out a squeaking call and was gone. For a moment, all were speechless. Then someone said, “She must have come to say good-bye.”

2023-02-12 上传
2023-06-04 上传