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
Tạo mạng xã hội với PHP - part 26
Đang chuẩn bị liên kết để tải về tài liệu:
Tạo mạng xã hội với PHP - part 26
Trọng Nghĩa
72
10
pdf
Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG
Tải xuống
Statuses—Other Media Changes to the view Since all of the media types we are going to support require at least one additional database field in a table that extends the statuses table, we are going to need to display any additional fields on the post status form. The standard type of status doesn't require additional fields, and new media types that we haven't discussed, which we may wish to support in the future, may require more than one additional field. To support a varying number of additional fields depending on the type, we could use some JavaScript (in this case, we will. | Statuses Other Media Changes to the view Since all of the media types we are going to support require at least one additional database field in a table that extends the statuses table we are going to need to display any additional fields on the post status form. The standard type of status doesn t require additional fields and new media types that we haven t discussed which we may wish to support in the future may require more than one additional field. To support a varying number of additional fields depending on the type we could use some JavaScript in this case we will use the jQuery framework to change the form depending on the context of the status. Beneath the main status box we can add radio buttons for each of the status types and depending on the one the user selects the JavaScript can show or hide the additional fields making the form more relevant. Template Our update status template needs a few changes We need to set the enctype on the form so that we can upload files for posting images We need radio buttons for the new types of statuses We need additional fields for those statuses The changes are highlighted in the following code segment p Tell your network what you are up to p form action profile statuses profile_user_id method post enctype multipart form-data textarea id status name status textarea br input type radio name status_type id status_checker_update class status_checker value update Update input type radio name status_type id status_checker_video class status_checker value video Video input type radio name status_type id status_checker_image class status_checker value image Image input type radio name status_type id status_checker_link class status_checker value link Link br div class video_input extra_field label for video_url class YouTube URL label input type text id name video_url class br div div class image_input extra_field ---------------------------------- 232 ----------------------------- Download from www.eBookTM.com Chapter 8 .
TÀI LIỆU LIÊN QUAN
Tạo mạng xã hội với PHP - part 1
Tạo mạng xã hội với PHP - part 2
Tạo mạng xã hội với PHP - part 3
Tạo mạng xã hội với PHP - part 4
Tạo mạng xã hội với PHP - part 5
Tạo mạng xã hội với PHP - part 6
Tạo mạng xã hội với PHP - part 7
Tạo mạng xã hội với PHP - part 8
Tạo mạng xã hội với PHP - part 9
Tạo mạng xã hội với PHP - part 10
Đã 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.