TAILIEUCHUNG - Tự học HTML và CSS trong 1 giờ - part 28

Tham khảo tài liệu 'tự học html và css trong 1 giờ - part 28', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 246 lesson 9 Adding Images Color and Backgrounds The Mapedit program for Windows Linux and the Mac OS can help you create clientside imagemaps. You can find it online at http mapedit . In addition many of the latest WYSIWYG editors for HTML pages and Web graphics enable you to generate imagemaps. There s a Web-based editor for imagemaps that you can try out at http it creates both imagemaps and the CSS equivalents. If you must create your imagemaps by hand here s how. First make a sketch of the regions that will be active on your image. Figure shows the three types of shapes that you can specify in an imagemap circles rectangles and polygons. FIGURE Three types of shapes are available for creating imagemaps. A circular region A polygonal region A rectangular region You next need to determine the coordinates for the endpoints of those regions. Most image-editing programs have an option that displays the coordinates of the current mouse position. Use this feature to note the appropriate coordinates. All the mapping programs mentioned previously will create the map tag for you but for now following the steps manually will help you better understand the processes involved. Defining a Polygon Figure shows the x y coordinates of a polygon region. These values are based on their positions from the upper-left corner of the image which is coordinate 0 0. The first number in the coordinate pair indicates the x value and defines the number of pixels from the extreme left of the image. The second number in the pair indicates the y measurement and defines the number of pixels from the top of the image. Download from What Is an Imagemap 247 NOTE__ The 0 0 origin is in the upper-left corner of the image and positive y is down. FIGURE Getting the coordinates for a polygon. 276 19 0 0 229 66 332 19 263 94 333 94 Defining a Circle Figure shows how to get the coordinates for circles. Here you note the .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.