Báo cáo tài liệu vi phạm
Giới thiệu
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
THỊ TRƯỜNG NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
Thông tin
Tài liệu Xanh là gì
Điều khoản sử dụng
Chính sách bảo mật
0
Trang chủ
Công Nghệ Thông Tin
Đồ họa - Thiết kế - Flash
JQuery: Novice to Ninja- P13
Đang chuẩn bị liên kết để tải về tài liệu:
JQuery: Novice to Ninja- P13
Giáng Ngọc
53
15
pdf
Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG
Tải xuống
JQuery: Novice to Ninja- P13:No matter what kind of ninja you are—a cooking ninja, a corporate lawyer ninja, or an actual ninja ninja—virtuosity lies in first mastering the basic tools of the trade. Once conquered, it’s then up to the full-fledged ninja to apply that knowledge in creative and inventive ways. | Menus Tabs Tooltips and Panels 157 p id about StarTrackr was founded in early 2009 when a young . p p id disclaimer Disclaimer This service is not intended for the those . p div Next we need to create our tab navigation bar. As with so many controls and effects it s the overall illusion that s important. An unordered list of links will do nicely but we ll style them to look tab-like chapter_05 11_simple_tabs index.html excerpt ul id info-nav li a href intro Intro a li li a href about About Us a li li a href disclaimer Disclaimer a li ul We ve styled the links with CSS to have a tab-like appearance but there are dozens of different ways of accomplishing this so use whatever you re familiar with or what seems most sensible. We ve opted for extremely basic styles since what we want to focus on is the functionality. The first task we ll do after our document s ready is hide all of the tabs except the first one this will be our default tab. We could do this by hiding all the panes and then showing the first one like this info p .hide .eq 0 .show But this makes jQuery do more work than is necessary we want to avoid hiding a tab only to show it again straight away. Instead we can be more specific with our selector we can combine filters to select everything except the first element chapter_05 11_simple_tabs script.js excerpt info p not first .hide 158 jQuery Novice to Ninja The important point is that once the page loads only one tab content pane is displayed to the user. The code to switch tabs is straightforward and quite similar to the other hide show controls we ve built so far chapter_05 11_simple_tabs script.js excerpt info-nav li .click function e info p .hide info-nav .current .removeClass current this .addClass current var clicked this .find a first .attr href info clicked .fadeIn fast e.preventDefault .eq 0 .addClass current There s one peculiar aspect worth pointing out to select the content pane corresponding to the clicked link we re joining the href .
TÀI LIỆU LIÊN QUAN
jQuery: Novice to Ninja
JQuery: Novice to Ninja by Earle Castledine and Craig Sharkie
jQuery: Novice to Ninja full
JQuery: Novice to Ninja- P1
JQuery: Novice to Ninja- P2
JQuery: Novice to Ninja- P3
JQuery: Novice to Ninja- P4
JQuery: Novice to Ninja- P5
JQuery: Novice to Ninja- P6
JQuery: Novice to Ninja- P7
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.