Pages

Subscribe:

Ads 468x60px

Labels

顯示具有 dreamweaver 標籤的文章。 顯示所有文章
顯示具有 dreamweaver 標籤的文章。 顯示所有文章

2015年5月21日 星期四

Adobe Dreamweaver CS3 Forms: Working with Check Boxes

Check boxes are a useful tool for allowing a user to select one or more options from a list. Instead of having a user select the most appropriate option, check boxes allow the user to select all options that apply. In order to use a check box form field, two processes must be completed: inserting the check box form field into a form and assigning the form field a name-value pair.
NOTE: For more information about working with form fields, please refer to Inserting the First Form FieldOpening the Form Field Properties Dialog Box, and Terminology.

return to topInserting Check Boxes

  1. Place the insertion point within the form boundary where you would like to insert the form field
    NOTE: For information on inserting a form boundary, refer to Creating Forms.
  1. From the Insert menu, select Form » CheckboxOR
    On the Forms bar, click CHECKBOXCheckbox buttonThe Input Tag Accessibility Attributes dialog box appears.
    For a description of the options in this dialog box, refer to Forms: Input Tag Accessibility Options.
    Input Tag Accessibility Attributes dialog box
  2. In the Label text box, type an appropriate label
    HINT: The Label is the text that identifies a check box option to users.
  3. Make any appropriate selection(s) under StylePositionAccess key, and Tab Index
  4. Click OK A check box appears.

return to topAssigning the Name-Value Pair

The name should identify what option the check box represented for the user (e.g., the location check box below is an option to answer "location" in response to the question and is named "location"). In a group of check boxes, users can select more than one.
The value of a check box is not visible to the user. The value should indicate whether the option was selected (e.g., a group of check boxes that are all answers to the same question about liking UW-Eau Claire may all have the value "like").
Example of check box use with name/value pair
When a user submits the form, the name of the check box will be matched with the value of the check box. The information the form developer receives may look like this:
name: value
EXAMPLE: Location: like
EXAMPLE: Majors: like
The name identifies the option, and the value indicates whether it was selected.

To assign the name-value pair

  1. After inserting the check box, select it
    The CheckBox Properties pane appears.

  1. In the Checkbox Properties pane, in the Checkbox name text box, type the name for the check box
    Checkbox properties
  2. In the Checked value text box, type the value for the check box
  3. For Initial state, select Checked or UncheckedIf Unchecked is selected, the check box will appear unchecked when the page loads.

2015年5月20日 星期三

[教學]網頁版型切圖與輸出(Fireworks+Dreamweaver版)

今天來分享一篇教學,說明網頁設計相當重要的基本功-版型切圖的原則與流程,由於網頁的版型變化相當多元且能夠進行版型設計與切圖的軟體也很多,日後設計嵐會一一分別做說明,今天先以設計嵐自己最常使用的『Fireworks+Dreamweaver』搭配來說明。

2014年10月26日 星期日

[Dreamweaver教學] 網站PHP檔案UTF-8編碼或不明的空格問題(解決:設定BOM)

一般我們在寫網頁程時,網站PHP檔案普遍會採用UTF-8編碼,但常常遇到編碼為UTF-8後還是會因不明原因出現「????亂碼」。或是將檔案丟到伺服器後,畫面會出現不明的「空格」。如果你是Dreamweaver使用者,只要依下列設定將BOM檔頭去除,即可解決這個問題。
1. 到Dreamweaver > 修改> 頁面屬性
dreamweaver

2.在「標題/編碼方式」(快速鍵:Ctrl+J),去除「包含Unicode簽名(BOM)」選項勾選即可。
3. 完成。

至於為什麼要去除「包含Unicode簽名(BOM)」,網路上的網友對這部份有清楚的說明,就請大家自行參考囉。

參考網頁:
关于bom以及utf-8的问题Dreamweaver中除去BOM的方法
http://hi.baidu.com/383215209/item/f4e95d76ae15fd2cd7a89cf5


Read more: http://www.cadiis.com.tw/lessons-learned/291-dreamweaver-utf8-code#ixzz3HGXjO7QL