'프로그래밍 > flex' 카테고리의 다른 글
| 간단한 Cairngorm 로직 예제 (0) | 2010/04/18 |
|---|---|
| Adobe Flex를 공부하는 10가지 훌륭한 방법 (1) | 2009/09/07 |
| flex builder 3 flash cannot find 오류 해결 (0) | 2009/05/28 |
| 간단한 Cairngorm 로직 예제 (0) | 2010/04/18 |
|---|---|
| Adobe Flex를 공부하는 10가지 훌륭한 방법 (1) | 2009/09/07 |
| flex builder 3 flash cannot find 오류 해결 (0) | 2009/05/28 |
This is a paragraph of text with class="goofy." It has anexternal link, some $(code), and a same-page link.
$('li:eq(0)') gets the first list item$('li:even') gets all odd-numbered list items (because, in javascript, numbering starts with 0, not 1).$('li:lt(3)') gets the first 3 list items. "lt" stands for "less than," and it starts counting at 0, not 1.$('li:not(.goofy)') gets list items 1, 2, and 4, because they're not "goofy."$('p a[href*=#]') gets any links that are inside a paragraph and have an "href" attribute $('code, li.goofy') gets all code elements and any list item with a class of "goofy."$('ol .goofy > strong') gets all strong elements that are children of any element with a class of "goofy" as long as the class somewhere inside (i.e. a descendent) of an ordered list. Notice that the word "item" is not highlighted because, even though it's inside ".goofy," it's not a direct child. Only "goofy" is a direct child of ".goofy." Maybe we should call it "goofy jr."$('li + li > a[href$=pdf]') gets all links ending in "pdf" that are children of any list item that has another list item as its previous sibling. It won't get the first list item's silly.pdf because that list item has no other list items before it.$('span:hidden') gets any span element that is hidden.Note: The selectors used for the toggle buttons are identical to the ones shown next to each button, except that they are preceded by $('#jqdt').find to target the highlighting.
jQuery's selector expressions cover the full range of CSS 1-3, along with basic XPath and a few jQuery-only expressions. For a complete list, visit jquery.com
Next time, I'll explore jQuery functions such as .filter(), prev(), and siblings() that complement the above selector expressions to give you full DOM-traversing power!
| jquery select (0) | 2009/05/16 |
|---|---|
| jQuery 를 이용한 XML 파싱 (0) | 2009/05/16 |
| INPUT TYPE 에서 숫자만 입력받기 (0) | 2009/04/10 |
| 테두리가 둥근 테이블 만들기 (0) | 2008/08/26 |
| jquery select (0) | 2009/05/16 |
|---|---|
| jQuery 를 이용한 XML 파싱 (0) | 2009/05/16 |
| INPUT TYPE 에서 숫자만 입력받기 (0) | 2009/04/10 |
| 테두리가 둥근 테이블 만들기 (0) | 2008/08/26 |
| checkbox form 에서 값 넘겨받기 (0) | 2009/06/07 |
|---|---|
| PHP로 달력만들기 (0) | 2009/05/15 |
| PHP 1부터 100 사이의 소수 구하기 (0) | 2009/05/09 |
| PHP 변수형 확인 (0) | 2009/05/09 |
| PHP로 달력만들기 (0) | 2009/05/15 |
|---|---|
| PHP 1부터 100 사이의 소수 구하기 (0) | 2009/05/09 |
| PHP 변수형 확인 (0) | 2009/05/09 |
| 실시간 주가정보 파싱하기 (0) | 2009/05/08 |
| PHP 1부터 100 사이의 소수 구하기 (0) | 2009/05/09 |
|---|---|
| PHP 변수형 확인 (0) | 2009/05/09 |
| 실시간 주가정보 파싱하기 (0) | 2009/05/08 |
| .htaccess 수정하여 index.php 파일 제거 (0) | 2009/05/04 |
| PHP 변수형 확인 (0) | 2009/05/09 |
|---|---|
| 실시간 주가정보 파싱하기 (0) | 2009/05/08 |
| .htaccess 수정하여 index.php 파일 제거 (0) | 2009/05/04 |
| DB 내용 배열에 저장하기 (0) | 2009/04/26 |
By default, the index.php file will be included in your URLs:
example.com/index.php/news/article/my_article
You can easily remove this file by using a .htaccess file with some simple rules. Here is an example of such a file, using the "negative" method in which everything is redirected except the specified items:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
In the above example, any HTTP request other than those for index.php, images, and robots.txt is treated as a request for your index.php
| 실시간 주가정보 파싱하기 (0) | 2009/05/08 |
|---|---|
| .htaccess 수정하여 index.php 파일 제거 (0) | 2009/05/04 |
| DB 내용 배열에 저장하기 (0) | 2009/04/26 |
| mysql 보안 (0) | 2009/04/22 |