Lm th? no ? t?o hi?u ?ng di chu?t cho cc nt h?nh th?c s? d?ng DHTML v CSS trong FrontPage

D?ch tiu ? D?ch tiu ?
ID c?a bi: 222949 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TM T?T

FrontPage 2000, FrontPage 2002 ch?a m?t t?p phong ph c?a Cascading Style Sheet (CSS) v nng ?ng HTML (DHTML) authoring kh? nng cho php b?n t?o m?t lo?t cc hi?u ?ng di chu?t. Bi vi?t ny m t? cc b?n c th? t?o di chu?t button hi?u ?ng cho th?ng xuyn t?o thnh tr?ng nt b?ng cch s? d?ng tnh nng CSS v DHTML ?nh d?ng.

THNG TIN THM

? t?o ra di chu?t hi?u ?ng nt cho tr?ng m?u nt, lm theo cc b?c sau:
  1. T?o m?t trang m?i, tr?ng.
  2. Trn cc Chn tr?nh n, i?m ?n H?nh th?c, v nh?p vo H?nh th?c.
  3. ? p d?ng m?c ?nh"Gi"nt mu s?c, h?y lm theo cc b?c sau:

    1. Nh?p chu?t ph?i vo cc Gi nt, v nh?p chu?t Thu?c tnh tr?ng m?u.
    2. Nh?p vo Phong cch.
    3. Nh?p vo inh dang, v sau Bin gi?i.
    4. B?m vo cc Bng tab.
    5. Nh?n vo y ? ch?n m?t mu trong cc Mu s?c c?a foreground v Mu n?n danh sch.
    6. Nh?p vo Ok ba l?n ? tr? v? ti li?u.
  4. ? chn mu s?c di chu?t DHTML, h?y lm theo cc b?c sau:

    1. B?m vo cc Gi nt.
    2. Trn cc inh dang tr?nh n, nh?p vo HTML ?ng hi?u ?ng.
    3. Trong cc Ngy danh sch, nh?n vo y ? ch?n Chu?t ln.
    4. Trong cc p d?ng danh sch, nh?n vo y ? ch?n ?nh d?ng.
    5. Nh?n vo y ? ch?n Ch?n bin gi?i trong danh sch ? bn ph?i c?a cc p d?ng danh sch.
    6. B?m vo cc Bng tab.
    7. Nh?n vo y ? ch?n m?t mu trong cc Mu s?c c?a foreground v Mu n?n danh sch.
    8. Nh?p vo Ok, v ng cc Tc d?ng DHTML thanh cng c?.
  5. ? di chuy?n nh?ng mu s?c di chu?t vo nt g?i, lm theo cc b?c sau:

    1. Chuy?n sang xem HTML.
    2. Trong ch? ? xem HTML, di chuy?n m? sau y t? cc <p></p> t? kha ? cc ?n c?a b?n <input> t? kha:
         dynamicanimation="fpAnimformatRolloverFP1"
         fprolloverstyle="background-color: #000000; color: #FFFFFF"
         onmouseover="rollIn(this)"
         onmouseout="rollOut(this)"
         language="Javascript1.2"
      								
      Chu y: Cc gi tr? cho "mu n?n" v "mu s?c" c th? khc nhau t? nh?ng ng?i ?c hi?n th? trong cc m? tr?c .
  6. N?u b?n mu?n, l?p l?i vi b?c cu?i cng cho cc Thi?t l?p l?i nt.
  7. Khi b?n ? hon t?t cc b?c tr?c , m? HTML c?a b?n c th? trng gi?ng nh v d? m? HTML sau:
       <input type="submit" value="Submit"
          style="background-color: #008000; color: #000000"
          dynamicanimation="fpAnimformatRolloverFP1"
          fprolloverstyle="background-color: #000080; color: #FFFFFF"
          onmouseover="rollIn(this)"
          onmouseout="rollOut(this)"
          language="Javascript1.2">
    
       <input type="reset" value="Reset"
          style="background-color: #800000; color: #FFFFFF"
          dynamicanimation="fpAnimformatRolloverFP1"
          fprolloverstyle="background-color: #000080; color: #FFFFFF"
          onmouseover="rollIn(this)"
          onmouseout="rollOut(this)"
          language="Javascript1.2">
    						
  8. Lu Trang ny vo my tnh c?a b?n nh"HoverTest.htm"v gi?m thi?u FrontPage.
  9. B?n s? nh?n th?y r?ng FrontPage lu sau hai t?p tin vo my tnh ? bn c?a b?n:

    • HoverTest.htm.
    • Animate.js.
    Cc t?p tin ?u tin l trang b?n t?o ra trong cc trang tr?c b?c, t?p tin th? hai l m?t t?p h?p cc ch?c nng DHTML trang s? s? d?ng.
  10. M?"HoverTest.htm"Internet Explorer 4.0 ho?c sau . Nh?n th?y r?ng khi b?n di chuy?n c?a b?n chu?t trn m?i nt, b?n s? th?y mu s?c thay ?i

Thu?c tnh

ID c?a bi: 222949 - L?n xem xt sau cng: 21 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft FrontPage 2000 Standard Edition
  • Microsoft FrontPage 2002 Standard Edition
T? kha:
kbbutton kbprogramming kbscript kbforms kbnewfile kbhowto kbmt KB222949 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:222949

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com