例子 1 、品牌列表 需要一张小图片,还有 jqurey1.3.1 的 js 包
下载地址: jqurey鼠标经过例子 http://xiazai.jb51.net/200907/yuanma/jquery_mouse">
Home > Web Front-end > JS Tutorial > body text

jqurey study notes Chuanzhi Blog Teacher Tong with detailed notes_jquery

WBOY
Release: 2016-05-16 18:50:08
Original
1205 people have browsed it

1. Use aptana (IDE) when writing js, and there are jquery code prompts.

Just select jqurey1.3 in code assist.

2. When adding an event to an element, do not add it in html, add it in js.
Don’t write
Write it as: document.getElementById(“id”).onclick = function(){}

3. Strip out js and separate html and js.
In addition to introducing js, no other js code is required in Html.

4. Jqurey selector: basic selector, hierarchical selector, basic filter selector, content filter selector, visibility filter selector, attribute filter selector, child element filter selector, form selector , form object attribute selector
http://xiazai.jb51.net/200907/yuanma/jQuery_xuanzeqi.rar

5. Space problem in the selector

The one with spaces is the sub-selector, the one without spaces is the visibility filter selector

Example 1, the brand list requires a small picture, and the js package of jqurey1.3.1
Download address: jqurey mouse over example http://xiazai. jb51.net/200907/yuanma/jquery_mouse.rar
Code:
Copy code The code is as follows:















例子 2 、超链接和图片提示效果 需要几张图片 jqurey1.3.1 的 js 包
代码
复制代码 代码如下:





Untitled Document





有效果:



  •  苹果 iPod

  •  苹果 iPod nano

  •  苹果 iPhone

  •  苹果 Mac












无效果:



  •  苹果 iPod

  •  苹果 iPod nano

  •  苹果 iPhone

  •  苹果 Mac




Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!