ࡱ> TSnyDZ%7:4PNG  IHDRX7~gIsRGB pHYs.>l++m^:kaT~鉺'/#+CnUX@,uzi=r``~31Xkrs{2v~tۃYp`;,m#`'NTk]sP.ۖ'0A4^! “yKl{@7t Ԋ>.֝qeYtXZqCT뱅 zlHv^ݼlŽDƛ;2%Sa>2,ڬ4;J'dHkδ @?[ OVݹ*|*oyZk)X{4cWw8 ٷ9>1G k7glP/.cS{•nW^Ez#KM)yWw҄tn˅I%QQߨɜzi=&߼6v|X+`E~ rV X+` xLl).`_% 8>h$MzzK2aH-gF!`'`vټgl^mɿ> >.x S`J+`V!O{Y3VD X+"`?i6jIENDB`,( / 0DTimes New Romant| 0|DArialNew Romant| 0| DWingdingsRomant| 0| C .  @n?" dd@  @@``   HE *""   &' > 4"    /X$b$DZ%7:4 0e0e A@A5%8c8c     ?1d0u0@Ty2 NP'p<'p@A)BCD|E?`3333@80 1  7R ʚ;? G Check Box, Radio Button The input type is radio or checkbox If you  select or  check the options, the value is set to true to check if something is selected in javascript if (document.simpleForm.visa.value==true) { & . } or Simply if (document.simpleForm.visa.value) { & . }DeZ0ZfZe0f>  
VISA MASTERCARD DISCOVER
Z33P 1  Concept of this" &&33Suppose you have 10 buttons, and when you click each of the button, it performs a simple function. It will be inefficient in code-writing to write one function for each button to handle the event i.e. the onclick eg: Onclick= displayText1 . You would have to do 10 of these and each one will handle their respectively displayText1 & to displayText2. One alternative is to write ONE code, but we need to be able to identify which button is being clicked. Using the concept of this will help you achieve what you want.dPPP}33&>%'Multiple buttons using similar function"('&&33 P"  33 33' 33 33'  # 
`PO 33; 33;  P 1>>Alternative code using this33HP# e-P#H   
`PW33D33D33  1 3 3  Exercise jex8.htmlCreate a web page of 5 buttons When you click on the button, the button will show the text POP or TART alternatively If you click on a button that that is already POP or TART, it will alert you a message and try again Create one reset button to  clean up the buttons.Steps to conquer this exerciseCreate the buttons first using style sheets Write a function that just display  POP when you click on it. Do not worry about alternate POPs and TARTs. For the event handler function, make sure you use the word  this . See example Use a global variable that switches to  POP and  TART after you successfully display the text. Note that if you press an occupied cell, you should not change POP to TART or vice versa Next check that you cannot Pop a Tart cell neither can you Tart a Pop cell not can you Pop an already Pop cell nor can you Tart an already Tart cell. Once you done with these, then worry about the reset button.tt,Changing default input buttonYou can use CSS to change how a button look for example: input.myButton { background-color: navy; color: gold; font-size: 0.5in; font-family: "Courier New", "Courier"; font-weight: bold; width: 0.5in; height: 0.5in; } <9:3333:   0` 3Wo+ff3̙` 33f33̙3` ! <yxG`wglZff` yE[AQpff3k` 31m̙3f` 3333̙3` O~̙Zƺ` ffff̙` ǵfZƺ` fff3fZ̙>?" dd@*?tZd@nK `7@d` n?" dd@   @@``PR    @ ` `0p>>   ` (  T `   "`   6 ˕"  * \ }`  "}`  6ϕ"}` * B  s *DjJ"`,$D  0  6ѕ "@`  T Click to edit Master title style! !$  0ӕ "@`  RClick to edit Master text styles Second level Third level Fourth level Fifth level!     S  0ڕ #" `b@   H*0    0ߕ #" ``@   J* 0    0 "``  J* 0  `B  s *D"    s *`" 0 H  0޽h ? fff3fZ̙___PPT10i. 3l+D=' = @B + HTML   0   p (   T   "  6$˔"P  * <\   "  <Xϔ"p *   <Ҕ "0 `s * hB  s *Dp" p \ Pp  "Pp   6,ה"pPp * B   s *D"p,$ 0  6ٔ "`@  T Click to edit Master title style! !  6|ܔ " `@   W#Click to edit Master subtitle style$ $  0\ߔ #" `b?  H*0    0 #" ``Aa   J* 0    0 #" ```  J* 0  H  0޽h ? fff3fZ̙80___PPT10. 3l 0 z``(  ` ` 0t= P    R*    ` 08)     T*   d ` c $ ?   ` 0&  @  RClick to edit Master text styles Second level Third level Fourth level Fifth level!     S ` 6 `P   R*    ` 6|˘ `   T*   H ` 0޽h ? ̙3380___PPT10.{  0   (  x  c $d `@  H  0޽h ? ̙33y___PPT10Y+D=' = @B +   0   T(  Tr T S Dp@`   x T c $q@`  r T S q @  H T 0޽h ? fff3fZ̙___PPT10i.\,p4+D=' = @B +   0 t~(  t~ t s *lT@`   r t S DU@`p  r  t S V `   t s *xY 0 : t 3 A  H t 0޽h ? ___3̙3f3y___PPT10Y+D=' = @B +   0 >6` (  ~  s *w@`   ~  s *`x@`     s *{ 0 H  0޽h ? ___3̙3f3   0   (   r   S d@`   r   S (@`   r   S  @  H   0޽h ? fff3fZ̙80___PPT10.5{7   0   (  x  c $@`   x  c $ȩ@`P   x  c $ @ p  H  0޽h ? fff3fZ̙80___PPT10.5{7$   0 0 $(  r  S d|@`   r  S @`  H  0޽h ? fff3fZ̙80___PPT10.5}4$   0 @ $(  r  S @`   r  S h@`  H  0޽h ? fff3fZ̙80___PPT10.M6@Hp   0  (  r  S @`   r  S إ@`    T$??    RThis is the alternative font H  0޽h ? fff3fZ̙80___PPT10.5`!, rXKE0 ,:~MPT`@%WY\^c1Oh+'0 hp   $HTML and Web PagesTerence T. OwHTMLTerence T. Ow115Microsoft PowerPoint@@-@PHN6Gg  k  y--$xx--'--$UU--'ff--$=hh==--'--$AffAA--'ff--%UU--'̙--$m m m --'ff--% --'@Times New Roman-. f32 +& JavaScript."System7-@Times New Roman-. f3 2 +S-[.-@Times New Roman-. f32 +Z with, this.-՜.+,0    jOn-screen Show51tY   Times New RomanArial WingdingsHTMLJavaScript- with, thisShort cut using withCheck Box, Radio Button Concept of this(Multiple buttons using similar functionAlternative code using thisExercise jex8.htmlSteps to conquer this exerciseChanging default input button  Fonts UsedDesign Template Slide Titles %_]d 0Terence T. OwTerence T. Ow  !"#$%&'()*+,-./0123456789:<=>?@ABDEFGHIJLMNOPQRURoot EntrydO)PicturesCurrent UserKSummaryInformation(;PowerPoint Document(dDocumentSummaryInformation8C