Professional Documents
Culture Documents
V. Practical outcomes(PrOs)
Develop javascript to manage gi\ en problem.
VI. Relevant affective domain related O u t comc(s)
I. Folio\\- prec au 11·011 measures.
1
-- Fo llow naming conventio ns.
3 - Follow ethical . , ·
VII. Minimum Theoretical Ba I pt act1ccs.
c <ground
The window . object ' wh·,c11 .is a top-level 0 t · .
represents a wmdow or a frame(wh' . . )J~ct 111 Client Side JavaScript.
. . ithtn lramcsct).
Smee, wmdow object is a to -l .
. other objects like
'docu men t' ,'h. ry, etc.within it.P eve! Object' ·tt conta111s
1st0
Opening windows :
-
>
tiM Language {22519}
. tSidt scrIP
~
,,,t,, -::-:::;d~~~~:-;::::~--:----
en method of ~vindow
------------
object is used to open a new window and loads the
rn ent specified by given URL.
docu
var r = window.open(url , name , features );
WiodoW Position
A new window always disp layed on the screen at the location which is specified br
user and location is specified by setting the left and top prope11ies of the nev. wmdow
var obg - windO\,\ .open("google com","wi ndowNane","top 200 ", left = 100,
width = 250 , height = 100 , status");
Closing a Windo" :
To close the \\ indow we can use that win dow object with the close method that :,. ou
want to close.
~~ov-rBHDD- 1 -
X. Program Code : Teacher must assign a separate program statement to group of
3-4 students.
I. Write a program to create a ,, indov,
lh1 rill)
cheiacp
<i;i)e) "Nf {)duwdefll(} </iil/e)
(~r,pf)
t futlc1iofl wir;do~)
i
-
Loain Form
·· · ··· .. . ········ · ... ·· ···· .. .... ·· ··· · ·········· ········ ·················· ········•·" ... .
... .. . ... .. ... ··-· ····· ......... ' ........ '•
' .... '······ ······ ................. .
,
. t ·ng Language {22519}
eS~c"P_ , _ _ _ _ _ _ _ _ _ __
Cfient Sid- _ _ __ _ __ _
---T/f iv_& ..·.· da() •..·Ch.i-s'.1'3~ ••••ili.i •••••c;; h. fe 0.1 •qf. ••... 'W licde
....rw,.odJ;w ·LlJ dAc.urr?e.o.i .,.rwr/.teC.) ... fut?t1io.r?.
IY ··~ ·: · ·· ,119i ....
. · ·· ···· ··~,~ .....io ... ... CJ.Y.€.Y.7/d.ez. 1:he
.. fl .6.fbo:(] .Ll~h
.......40~.... ~f
CoYJ1if.······ .t. . ...:i .e .. ... (Wevfff!Je.3 ~
····.·.... ..R . ···· ·o-''Yie .... .~_(}_ ...f· ~ .ai2 . the . .dorr!erzt
o.f . feqi1,;c .JLeteme,1 aR. cx 'YY'.;adaw we ned
... 4:0. ...·~ ·"'· ;.~e.. . .'.1/t:,,.....U.(l_i·t;,{1.e. .td. . .to. if1lk1 ~eme/Jf
... 0f.Je ..... rieer- . -- 1+.o . .()Se . . .7.r;....(le-:r . ti~J0.i &11,r; buie
.....4v......JSe.'t.. . . oh& ... o/.le w. ... c.0.0 .{erd -tJ o. 1'1At ..
.....f) lY'fl,e .fl.1.': · · ····· ...... . ..
. . . .. . . . . . . . . . . . . . . . .. . . . ... . . . . .. ... .. . . . . . . . ... ... ... .. ... ····· ............... .
XIII• Exercise
a. Write a ja\ ascnpt to call the child's window us ing JavaSc ri pt Function.
~ b. Write a _ja, ascnpt to s ho,, ho\\ to access el e ments of ano ther child \\ indo\\
(Space for Ans,Hr)
C )I'.
-- - - .
• O lrn Ii-.~~~ ~• n
- • Jffl n!"Cf • l ~ C•rw;f!-
- - -
1
- - -
- I: )(
- - ------=---- .
1 J ffl I 11 I • ••
~ llnr IS c::zi:;.-.m,
• p lv;Ht<E ;D~II I
0
'i
- ----
r
I
I
I
I
Qnjl 1- a.i. o.... 1 IN!-. I Ota.1. EMr I 11. I o....- + 0 - 1-' x I
tr :.1 a
uoo~t! \"ahooHing;
1