tailieunhanh - The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP phần 4
Nhấn OK. Nhập mật khẩu máy Mac của bạn khi được nhắc. MAMP nên khởi động lại cả hai Apache và MySQL với các thiết lập tiêu chuẩn cho Apache và đầu tiên được cài đặt, Apache có khả năng lưu trữ chỉ có một trang web, được xác định trong một môi trường thử nghiệm địa phương http://localhost/ URL. để có được | USING SPRY DYNAMIC EFFECTS AND COMPONENTS 7. Press Enter Return or Tab to ensure that the link is created. This is important because you can t apply the Spry effect until the trigger element exists. Values entered in the Property inspector and other panels are not added to the underlying code until the focus moves to another part of the UI. Pressing Enter Return registers the new value in the underlying code. Pressing the Tab key or clicking elsewhere in the Document window has the same effect. 8. Open the Tag Inspector panel in Behaviors mode click the plus button to activate the Behaviors menu as shown in Figure 7-5 and select Effects Appear Fade. 9. The dialog box that opens sets the options for the effect. The Target Element dropdown menu lists all elements that can be used as targets usually elements that have an ID . The other options are self-explanatory. The Toggle effect checkbox at the bottom of the dialog box lets you run the effect in reverse when the trigger event is repeated. So in the case of this effect it makes the target element fade back into view when the event is triggered again. Choose the image as the target element and select the option to toggle the effect. Check your settings with the following screenshot and click OK 7 10. The effect is now listed in the Tag Inspector panel as shown here The event that will be used to trigger the effect is displayed on the left. You can change this value by clicking it to open a menu of the available events. However the default value onClick is fine in this case although Dreamweaver displays the event with an uppercase C the underlying code inserts onclick all in lowercase if you have selected an XHTML document type . 265 THE ESSENTIAL GUIDE TO DREAMWEAVER CS4 WITH CSS AJAX AND PHP To change any of the effect s settings make sure the trigger element is selected in the Document window and double-click the listing shown in the preceding screenshot or right-click and select Edit Behavior from the context .
đang nạp các trang xem trước