Akole Taluka Education Society's
FACULTY OF POLYTECHNIC, AKOLE
AIP. - Akole, Tal. Akole, Dist; Ahmednagar, Pin. 422 601 (M.S.)
Laboratory Journal
N mme—_Melaka _Suaayann Rupesl _ ciass_Co Roll No._2:8____
raamination Seat Noe. ___ 4448 00S" Year
e INDEX ©
7 * Remarks /
Serial No. TITLE Date of Expt. Page Initials of Staff
Muirike simple davascsiip saith.
less Foe atneseic enqzaason |7/@123 | OL | cedeerr
___evaluting and msg. Printing,
a
_____|dlecision making ¢ looping, 748 )23 | 2™
33
| enplement anccay function} (4) 8123
limplement Funckioo 21/8/23|23 | gre
4) | creake a welopage using!
28 1€103| 22 |Zroere
From element
6) pevelop webPage to
Tenpiement frm event [28/8123 | 2A ‘| Beri
Pout T
ST RRTET TT“Tedex
E Tit Date o¢ |marks | Remorse
Exe Signakwre
1 lovente wets :
pise—farro Eveuts Pork TL aigi23 [et | aaa
|
)_} Deion 1 suclapage using
Tnkernsic Savascipt function | UI9 173 | 22 ares
i jevelon_o wehpage for Creating
ISessing and presistent Cookie \19123 | 22 [Bene
olasenve the effort of wilh
| lovomses cankic sebtin
3
ol King
Hoe \oinduin on the lace | 29191281] igs | eee
working_uiia and child wind:
) pevelon webpage rs
lvalidation on fon Feld gftol23 | 23 |Ginee
Using, Seguiox, expres joo
2 Dd
Re nkna menu (elel23 | 21 |Aznee
od
SZ) | pev
implementing slide rose [23 Jlol7y | 23 | Zaeeiere
bane.Prockcad Nod
faen i
exepsessions evoluakon ond message PTW
|| write Simple Jovasewiph with HTML for arekvemotic
|
|
iu
f
pescsiption:-
|
__ Asthmekc esepsession evaluates to a number
“We asic anthmeke opesotos are- 08 Follows
Slavascnpt evoluotes asthmehe esepassion automolicelty
Lt addifion , — substsochon , Kmutplicofion, / division
Addikteoo G)
Stans Concatenotion
eg. Vor w=2 > YS?
vow 2 = 27t*9
AddSIHON OPevalos PrOdues SUM Of NUMERIC Oo peronds OFT
9) | Sulstsachon:- ©)
| cuestsackon opevotor substwoct wo o pewrands and
produces thers difference |
eg 22+ %*-4¥
1 :
|
5} Muelicockion C8)
Mulseticohon Ch) opesotow produces of ppwands
eq. 2=KkY
Division C/)
The division operates produces dauoutiewk of ks
operand Where left operand is dividouk and wight
operand 1S divisor
Sunsow: opevobow = K/Y
eg Zs e/Y@
Reminders! Cr)
| Wwe Temoindes opevotyy Tekimns te remindow left
When one opsand is bY a Second Past
__Swiox . opevotos = 2 = KY
_ at
<9
Zncrement Ce +)
Te lncwement opewoler increments Cadds one te)
| AES Opsand and relusns o volve.
| TE Used postHse ,with opevatow oftet oesand (Tes -
eneampleyts) ptben lk ncremenk ond wekusn tve |
Voie ethers before \nesement-
SE Used PosiFee WIA OPpevotos before Oprand
(Gas eseamete +42) then ik Increment and retuen
Kee valve often increment
Suurece ovpesakos = vert O08 ANB
ersearnple 924%
Decrement C--D
Te. decrement opesokos decremenk (sulestrock one
Prom ES opesond and ylhwsn o valve.
5 eed posiGze With opetotoy aFtes operatic Aven it
Daecwemenk and return We volve WeFore decrenerk
TE used Prefs Win opesakor befose, Opesand (er
|| eg. —-2e) Xven it decrement & webrers tye Volve
acter decremevting
Sunkose oPpewokow | 32 —— O~-2e-
Creamele 2-7Zz ukelS [
< YeadS [
|
| Verse = prompt C Enters an erepression"):
| document. wwte Ceved Le))s
|
Vos a= new dole
vrore Ame = a get ours 0)
Ve Cme <\0)©
_| & dvcument. woke C Good morning <'617"D53
deta 5
| document .comite Cam locking Sesvord be Mis
weerend> :
<1 Screedi)
Leoeing Stakement \-
Very, often When You write code You Wonk Sie Sow
Yoleock oF code Loe wun No-0F times Yor Can Use
looping stakement in Your code te dois -
while
Loops Avsouah block oF code while condikion is
toe,
Suwkrox’
wile Crondieen)
& .
cede te be eveecuted
%
< Wiml>
< sosipt Hee =“ beveb / Davascmet"
er
while Cric=s)
&
document -wombe ("26> We number is +i" 9¢b7')
document rte Cd bv>")
Lek aa
3
SAECAPED
po -while
lLoops Avoough ao block oF Code once and then
we peok Wye loops wlile a tondition iS omesuntere +:
do ¢
Code to be ereccuted
While Coondioo)
ey
Thi. loop will alwoys eveecute once vail) even it
Condition 16 Folge beacuse Statement ave eveecuied _
loefere condition is tested ;
=< htmi>
< body >
a scmpk Wee =~ beret | Javascmpt">
iso
do &
document. wate CZboyyhe no is *41")-
AUN
while Ciges)
IS BRED
Spevdy>
ou
Runs Statements Specified numbew OF Frames
Le te wun We Same lock OF code a Specified
oF VYumber of \ine
Ssunkere!
Rr Livited Condikieon 5 temminaiing condition)
Skevema condition)Puactico) No: S
Aam =
Develop Davascapk to implement orroy Rinckiendh
fessey
[Dewey is an object thot can Store @ col\echon _
OF ikems- Avroy is Used When You need to store
large amounk of data of the Same Wipe like
Staving of details of loop stoternent student:
SUwtores-
Naw owray nome = Lvalve 1) valve 2 + volve Wi
) BY cseaking instante of aways
New Keywoud is used to creake instance of any
Syutox'- :
NOY Owroyname = New Aoroy O95
2) Tnikelizing on awsay +
| aMiotizing Ys tre Process of assignment valve,
be an otray while Imikelizing an Arrroy . All
Skelemerk Should be Placed iN ParaukWsig and
Sepesotked ly commes
3) Lessing an osroy
Javasenpt, Few lsop in rate overs in an oreroy,
fidding an avsoy element
Sometimes it 1S important te incwease Lwe size
an Away by adding clemeuts.ty Using push CS Mekhod
Orc
Tt addS one o% move clement of Wve end of an.
SUntare:
orsray - Push (element |, clement 2-.. element n)
XJ USING “UNSHIFE OO Method
Suntore:
Uk odds one ove mere clement in We begining
Orr = UNshiFk Celementl, element 2, chemenk n)
SoTRND AN omrcy clement
h\ SOser ey.
Seovt twe element of an asray in place and
WereTns Are Sorted Awroay
Suwrore*-
| Gssay.sosk Coompare Function);
M) Tevewse Od,
Sovk ™: od will sort all clemevts Gem ovr
is ending osders we Can use reverse Mmettod -
ovder
Sunkore'-
Orsay wevesse C):
Comveining on Rewrosy Semenh inko Skangs
disploy Sorted Usk in reverse ‘Ve asending, ;Dein 0)
Wis Function doings all) clemenks OF AN Borsa, wtoa
Stang 7
Symtkore !- Orray. Bow Ceepesokos):
BD concok Od*
“Wis Funchon is Used to Dow Ws os MsTe coro
tegetvrer in Joavascipt:
Sun ax -
Sewing \. Conced Csting 2 .SmAN|3.. Sh1Ng -- a)»
Changing element OF an array:
yi swaek o>
Mis meknod 16 used to vemove Fast element
Rem an csroy and rekus ire removed single
valve oF an arrey
Bunker orwroy- SHIEK CDt
zy Pop OD
Weis rmekhod +s used to remove lost element bo oe
sy Selice 0D
eplice 1S Used to odd ov Yemove tre elemenk
tO 08 From ie ereisting ormray,
surkore i Owen Spice (Showk .clemenki clement 2
element ---9) -cloiects ag Associahve omroy
| Associekve omroy ove dynamic object that tve
| USewT wead
nes as needed. we can creeks it
[ley assinging a lilewal te a versable _
Suntes
roy = § Key a volvel, key 25 Vole 2°35
Morks olobboived baked Signoahyvre
Bi becker
7
process Product “Tetet
SE Qs| Gs)
uA le Dy BowePrackicod Wo. ly
—|| Valves
Bevelopeds Jovascvipt te implemenk Finchion _
vescvipons. aes
L Eunchion
A Fenckion
- one Svioeregrana designed te Pesfesm
JO Pesculay tas -
can be passed as Funckion and used
within Whe Furckion
BeBming oe Funckon
“We. Funckon kequoowd with woame ef We Funckion
| Suwtene
Function name Cravameter)
nl
Stokements 5
g
calting @ Fanchon with ot without ovgument ‘in
|| Bovescsipt Function calling is done oy Using
Name of bre Function followed Gy powaullens
sunmtare |
Eunchon - name 0);
Rebrening a volve Gem Funckion
‘wekusn' keyword steps We eseecqstion of
Funckn a and We volve is veered Geom Fancher.
te the Funckion cattery i
Suwro, t+
werusy Valves
_ Function scope 3Lecal Scope Function Crormalle) ;
Vowiable declared witting o 15 Function Gecome-
loco! te Function locos vomiable have Function
Scope Tey can only be used Prem wilhin Ave Runche
Local Vomable ore crcoled When o Finchon stosts | \
and deleked when He Funchon is completed
3) || Gicloal Scope Funchon Gomolole)
A Vaomalle decloved outside a Function becomes
Biola} .A Aloloa) UEmable lnos Bloload scope- AV SCAPL
- ond Funchon on webpage can access it:
BS) Ranckion invakotion Ceatting) ;
“We code woside Funckion will ereecuke Uben
Ssomekiing colls +e Ganckion
— | when aon evenk ocure
— || wren it iS oked Foesm is code
— | Avtomoakicolty Cself invoked) i
Funchon owe used When code once and useit _
many Ames<“te Same code many Emes with
dieFewenk avqumenks, Produce Diepewenk Esulls
suvtox’
Sunckon Ganclhhen name CPasameters)
EH code to be ereecuked’)
Pproysom
@ || bemonskwote te use of Fanckion in oS
< | DOCTYPE: HtM\>
Zz nmni>
< 0347SPP Wis ercample cots Function wbich rekon vole
of e
sever >
Function my function ©) 1
- 4
Wwerem™ math P35
document wwte ack elemenrk wy tol’ demo")
(ones WIML= MY Eunckion 03
| _
WEerea elements
Eos
[Fes Elemenks
‘}\| Button Element.
AMriloute | veive Explenalion
Wipe=" laukborn sulomit
Create a _ Qenevo) purpose
yeset Push bukten
wosue=" " | Guktor kext volue is She ext Jisel
ayed on the loukton
piciene = Field name We Geld name is used
bo display Ae fom
shdeExample
Seem oarmes =* Form ">
BeESEV'?
Xexk Element!
Wouke Vo\we | Explanokhon
+
fupe =* “ |-peret TA _Creake extbox on Form
Name-: “ "| Geld name Field name is use bo iderky
|
Sze" "_ |wumbes vf [re inpuk Geld with is specif
[charackere Noy re nurses of characte
yelue’ " _|Tuikiol volve [specifies ve waka) beak,
i in A Fie):
| —
ample
I< bod >
< Form >
default
< inevk Wee =text" name =*tx* size =“lo"
mMaxlenath =*S">
< PD with volve =* bellow"
inet Were =Shext" name =~ 43" size“=\o"
{ Value = < Wellow | "> <1P>
IL <( Form>
eee d
2) || Text Aveat
Descritphon.
LPield Name |‘tve Geld name is used to identy _|
: form Feld
Number SpéciWes We number of visile
cowwmns in text area
Humber [Specified ‘Wve Numbers of Visible
youss Ww Text orea.
“lard SOFE [We input text 1S wrapped dre!
oFe ineuk kexk 16 worrpeed Abe inpuk|
__|rext is Hok wrapped:
Exomeles-
| \neo.d >
|< oe dy>
Feed back
< kext Nvea name = Comments” columns = "20" yews: "S"7
Exutes yout Feedback.
Sosm>
:
{_ | ee
! 7
=
WY
6) [Select Evement!
| The Geld name is used to Wdevty
[te Form Geld Species tne no of |
Nis\ole
\kerns. ae |
| size=“ i Bier tx]
sizes : Item 34
| Trem 4
tees 4
Muikiple
Imuiiple alum can selected ot aime
Exarnele ‘-
< himi>
< heod>
< Hkle> Scleck Demo Selects class =
|
[
Sophon valve =* Naiwus's Midliowz fopons
green
< lboWy
| Seaton
{marks detainedPeackcle po. 6
Rica: Develop welopage to implemenk form event
Post t past 1
Theor: An event is SomekWing thok happens Hren
[User inkewnal with the welopage suchas when be
Clicked a link ov loubton leet inks lovse ov herek area mode
Selection in Seleck lou Processed Key on event
OctUr , YOU can Use evenk handles to dekeck rem and
Pesfosm Spedcitic Lose os Sek of +osks-
a
Mouse Evenks: A mouse evenrk hriaored When sve
Uses click same eclemenk move tre mouse Privker ever an
ekemenk
@) The click event Can click) 1- Bk occuT When o user
om elemenk on o webpage ,atker hese are Eorm Semeut
and links handle a clicks eveuk with onclick handler
WB) Conkesek Menu event Concontesck mena)
Sk ocurs When User clicks Khe Fight mouse lbukten on
dement te open a comkeret Menu, Handle a conkeret
menu wikh cornfeaet menu event handler
A wctseover event Con mouse over)
AY occurs when user clicks the wight mouselbulton on
element handle mouse over Wve clement wit
annovge overs ever’ handler:
dj|_ mouse
ouk event Cen mous ouky
ty occu When uUsey move Pombery outside oF an
Clemenk handle he mouse cub eveuk with anomouse out.NI
welse key
Kenlooasd Evenk |
A ¥enlooawd event 1s Eiveed when te user press ok
On 2 keyboard
S\kerooars evenk Con Key down)
Tr occuss Usew press down Key on We Kexlooasd handles
Keydoun exeuk handler
ID Key Up event Coney Up)
Be Sccuws When user release Key on the Kevlooasd
Handle Keyup event with onekeyup evert handler
CS Keypress evenk Con Key press)
Tk octue When Uses press down Key on te Keyboard
thet hos a chasocter value associoted with ie
29. eeNS Like Chest, shift, Alt ESC, Arroe keys eke will
Not genewote a Keyeress event louk will geveroted
Kerdown and keyup erenk
Zhim> =
< Sceypt Wipe =" Levek | avascawr"s
Banction BO
&
olevt LC’ select evewk occured"),
3
Function fa 0)
alewk (on Change exert occured");
3
Funckion & ©g
Agee Clon Focus event occuned') 5
3 :
Funckon Fao
& Vow x= document gék Gement TOC SS
4 = =Avalve toppes cose
Fanction €5 ©
iS
Joker: Con sulormt evenk occuwed") 5
3
| Funckon FEO
I<
alevt (on ‘resek everk occured") 9
3
od
<<) ScAPL?
t
< Erem name =“form of submit: "FS Co" on resek="P6'b,
name
Zinpuk Wipes SSulomit™ name=“sulo" valve = sign 40>
Cinpuk Mee: SSek" Valve =‘ reset! >
<1 bodu>
Marks oblainedPrackcle Wo 7
ae
Ams _Greake a welopage ke impliment use Bom everts
___|_Pavk ab theory
")_| Reem events: A four evenk 16 xed when o ferr cowhdl
| Weceiver ow loses Focus oe when the uses mnodit4 o form
| Contsol volue such ag by Auping Lext in yexk IMPsk schek
| lo ox- eke.
ecus event lon Gocus)'- Th occu when ive user Swes Foss
te be an Sdemenk on a vwoclopage -Handle the SoD evevk with
{ on Foss event handler
> Blur ever’ (ondSshe): TE cceus when fakes he Hus always
Fem a clement oy window: Hangles the blur eveuk vote
[Lontvlur event handles
Dilchonge erent Con change): Tt ocwsr when User Changes valve of
form on a welopage Handled Ure submit everk with onsulomit,
[Levent handler
T
I
B-4|_ Submit eveck [nsulomit) y TY only occurs when user Suionit
o orn © webpage Handles Yhe sulomit everk with onsulmit
eek handles
Document | Window evenkS!-
|[Eveuks are also biggered in Situolion When Me Page hos
| NeSea or when user Yesize the browser windows eke
\
I =
|
a |J \eed evewk (Contoad) i Th ocwe when welopage nod
Buished loading in the wes browser: Handle tve lead
everd with onload evenk handler
|
[RV unlood evenk (uuled) ) Tk ocr When user \eoves
Ave _currrenk welopage Handle Me unload everk wih urtoad
| eveuk Vondlen .
|B) Resize eveuk Canmize): Th ocuur shen user resize We
lorowses winds We vecwe ve everk olso ccs in siwokion
when We brouser Windows 1S minimized ot moximized
Wondle Ave yesie everk wikh oversize handler:
Program :-
WAke 3s Pyegram ko implemenk use of Foren everks
< hkl
< MWe> Form events <7 ite?
— uAdowmenk. utite you have changed Ave sebec!
reer SwWowat Erect O ¥ es
documenk write C moles Soka willl’ Suloimatted ") 93
Ranckiory load Breuk O18: fe :
_atervt Cpage is loaded sucessmuiy') 53
tl Ranclion load Berto t
| oleart LC’ Page is You are leaving Wis Page") 5 F
Rianchion wesize Erenk 6) &
Levert Cuwingous size is change") 5 3
Window: onvize = resize Grent 5
<([scviep>
| <7wead> :
|
|
ZopHomy Pemele C/ophion>
Zlseleck>
Arovuk ee = Ssubeih
O[Pr. Pogeis loaded Sucessputty |
Focus sek to textloon
Text peor loses Focus
You have changed tte Seleclion
Form doko will be sulomi tied
windes Size IS changes
You ore leaving Wis Page.poets No.8
Aim:
Beveop welopage using Intsine Javascript Funckion
| Theory:
SJovoscript pmuided Some species sek of louik oF
Function Known a5 tuksinic Funchion There ave Same
Such Function to achive action of Sulomit 4 vesek bln
Thivinic Function ave deSned oy Javascript hence
Yu can colt We Funckon (wo your way. Tubanic
Banchon aye defined by Javascmet hence You's
WOYy “Intrinsic Gunchon ase used to replace
Sibomit and yesek loutten With same othed mode,
These are numbes of ivtrinic Function 19
DJavascapt Uke members Method , boolean method
Sting method, awray mebhod, delete mekhod, and
Mmakh mekhods.
‘J || Eosey mekwods
SGulomat C)- Sulomit 1 Save the Fowum doko nm sener
osesek (>- cleas Wwe Foum
a) || Numbew Mekwods
constrsachor OD
to Exelonetial >
te Greed cD
be Precisoo
3]
Doolean Mekhod
to Sseusce 0) a
te_ Sting 6)
valve of OD4)
Siting “Metheds
Cho AL o>
Chev code ALO
Concok UL
Vents o>
sl
Stang WML wrapper
Anchor ¢3
big od
oink 09
badd oy
6)
Awsay Meknods
eves o>
Filvest 09
For feeh
Dow cd
a
poke mekhods
poke
ger woke 6?
@ek Coy 0)
ger outs Od
3)
Mak meknods
alos CD
aces lt)
asin C0)BTEQVAMN a
While a code ko \mplemenk inkrinsic Bovoscs Pt.
Sancho —
< him \>
Function 2s hte?
Sl head>
< body >
Geers fame. Gro ation = Mees Past >
fe oe
Name
5
[-Zanclion gek cookie Cname>
§ vax names (name ae ay
or decoded Cookie ede code URL componenk (document.
cookie)
var C= decode cookie SPUEL. D5
for var izoe ica lenaths €tts) Guay (= (009);
Pwsarte Co:Chor ke C022" ") $C =¢.sutskg 0753
if Ct: deer F Lnome)--- ©)Even © wy
Function check cooie a : |
If Now uses = gek cookie C’usesnome") s
Ae Coses." > § alert weitome agoin *suser)
Ose Susevys* "Re ew Lz nd)
{LSex cookie Cusesname' user 58D)
$3
Koo dy> Unload: check Cookie 0" F
ole
Pleuse enkes Yous Nome
user.
weltome again user l
wocessS Product “ted
yataked (1S) | Related Cio) |__C2S)
I EiAdve 4. —_———
Develop g —
wes i 7 dow on
Ave Goren SSS fer placing 4 wAdows
EN % working with cuild window.
TWrreon + ar
We window Seley TT
“It _Windovo Object
AS supposted by all browser
Zk represent We
loyvowsey window
AW glrval oloseck 1 Function $ vavioble aukomokc-
M3_eecome memloer of vindeus emece:
Gio at Vowable ar p opewhes oF We window oloject
iG&loleel Function are mekhed of Ale window olbjeck
Windos size:
Windos innes Melghvy - We nes high of Are
lorowser winders
WINdow. Lnnew width -Ave inne® width of Ave \orowser __
Window. Cin Pees)
window meknods
windows: open C>- open Go NeW Window
windows. close >- close We Current wWindous
windows. move tl? move cumrenk coink
Window. Fesizeto)- Yesize We arerenk window.
Move BY O- move a Windous qelakive be tks urerek
Posihon
resize BY CO" resize Wwe window loy We Specihed wind |
| fae ge oe [a
Yesize To Cp wesize the Windows to SpeciGied Wit.
gb Wark.ee
PRCATAM: oe
Roc Ww pE
Wen ee
< Wikis A> oo
< wodyy .
SPP Oven" My window" d move We windows to cop ler
Winner of Wie screen :
So my winded’
oP
bu bhon >
sewiped
Vos TY Window : Funckon open win >
|G wry windors = Window open Co" mywindosy Sasi dhyz288:
Vela = loo") :
TY windows documenk write < "ZPPTHs is NY window
" 4 “The clald winds conkenk goes bere"}s
z a
Fanckon™ Move win O
F My Window move te C see, loce)s
MN window. Focus C53
poked Siqnohkire ofPrackicle Woy
a
Aims Develop a Webpage ay validolion OF form Adds
validekon of fem Adis
SSNS Ye Quiay e>e Pression
Theory 7
oe
Bee Exe sweet
A Requiey esepression ig on object nok destvibe @ Pakter
OF Character
Besuloy eseprecsion ig an object Wot descuibe a Pokten
OF Chavaches. Requioy eX pression ave used bo pes fore
Makching and seasch an replace" Function on teret:
| sintox
| Paktewn | modifiers 5
ea Var Part= | waschool;
modifier
Modiiew ove used fv perform case instsilive global
search
9 - PevForm a global match
\- Perform a case -\nsentwe Mokclina
m - Pesfesrn a—mulitlive mobcling
og
Brackets
Ecvers are used to Find avenge ov charocter
Latoc]- And any Character lbehween We brackels -
Lnaloc]- And any chovocker not not bek” Ke brackers.
Lo-3}- find any choroctes lbehween ve bronkets (ary digs)
Lrno-9)- And any, character Not behoeen Ave brackets, Cony
Hen digit)
CXA]- Bind ony of te ollernalives specged.a ee
ence of
of asequen——
———
NG 2e8-makches any thing Mak conkain Zer Ot
[ues oo
OL RI- mMakches any shing Pek avila o sequence of Kte4
ns
craig o seauenc® ot
ain 2 sea!
In £9 - mokches any sting Hrok co
\eosk ome Kn's
—— Gcwed
NN} moakchers any string tok cea nok Followed Ot —
SpeciGe Sting
21n= wokchers any sting thot is nok “Go\\owed Of
Specific Sting 9
Reo Exp. oloject Prepesties
consysuchex — Rebusn the Funckoen Khok tne Rea ex?
obieck Provelyre
Bloool - checks wheather the “g" modifies 15 sek
jqnere cave ~ check wheokher tre ™| modifier is sek
Vast ardex - Specifies tre index ak which to skark tk
nest makch
|| program:
Gch \S Progsam to volideke ernail addyess using
yeguiar ex Pression:
DoctYPE- Wim?
Zhead> title > 15 Frm volidokion
ood 7
LAKME?
Function check Gmail (mai) __
F var Year = CC E9-2 8-20-94) (04-20-99 1-19 4
1 pa-2A-2) £2153) E14 984 CF DCAD4 -9 1-14]a
{0s -2 0-30 -gadaoitcamanjiasd fs 3334 —
LE (regex. text (mail. myenei] velve)) _
Z aert (" Congrats |" This is volid addvess”)
velurn we 5 § ————
ess") 7 vekwrn
se % alert CTs ts not valid ernail adress 4s VE —
Folse
|< /beduy
“$4595 $
SoPken valve =" Jovasuripk"> devas
Get selected ahem < /bukton>
< fhm
oe
Ee a)
crt
RE TUY
Java sonek
tre Selected value 16 ‘Javat,diigo
pelyeroe
Marks
|
Process |Product
Teloked
Cid
| Tokod |PTackcle wo. is
Aim,
_[Bevelop a welopoge fer implementing slidshovs
Theory!
Slidehous
|
#® Sewes OF Wage asa Ppresentakion continously
changing one after anotler on screen is Know Ox
Slide Shou. 7 :
Tt conkain multiple SHI tmage which change int
Seauewtios osdes ofler Few second.we can cveotke
a Slideshow by using OsTay OF Image in Bavasempt
Creaking a slideshow
wetan “eveoke a slideshow of \mage Wm Davascr
BL -To creole slide Show we need to creake an
OSFOY Of Image locakion-The Pokh of Image Pror
GeTay 1S Used Lo display We next irnage on
Screen. We Can change We Poth of mage of
| SPecRe Mme lutesved.
Banners:
KR seckangwor Orea In weloPage where image ig
Placed fos advewMomenk purpose is Enown of ier
Tk can be Placed any where in We welobage
Hovizontely an tep and botbom ov vertically ab
\eek 4 wight side of ve welepoge
_|Loading + displaying Whe loanver advertisment
_|to cod & display tre banner Hebanner advertisment we ploced ar
imoge in welosite tak image is odvestement of Parkeular
_llodvertiser we can olso Provide the tuk to Mook imege is slices
iA wilt Qo to We advertisers website.Ptogwam:
Dl wesite ass code to link bannet with URL
Cl ROCTYRE himisS
2) || write
as code to cxcoke a stideshow
DOCTINPE himl>
< head>
< be Scoipt>
Mg owsoy= New Awray CF [I davoscsipt {| bonner) Jeg: 3:
|aavesceipt I bannes (2-3P3" 3G Ml Davoseript I become
Beg:
§ ima wag + num 5
ie CipxS Sima - osray Length =1)
Zimg=o 34>
ig _ Cimg <0)
img = ima = avvay - length =13
E|| §
document - slide oer img = array Cima):
:
__|_
< fheod >
<4 bodu> <*> aleer
Tht