SlideShare a Scribd company logo
1 of 13
Javascript Introductie
Wat is Javascript ? Programmeer/scripttaal t.b.v. webomgevingen Geen compiler nodig / browser verwerkt script In html of als extern bestand ! Body of Headerscript !
Waar wordt het voor gebruikt? ,[object Object]
 Valideren van forms en input
 HTML pagina’s custom made !
 Cookies / standaard datum etc.
Controle over browserContent / Styling / Behavior  Html/xml – CSS/Xslt / Javascript
Waar ook voor? ,[object Object]
 Roll-overs
 Menu
Validering
 Pop-ups
I.c.m. XML (Ajax) clientsite,[object Object]

More Related Content

Viewers also liked

Incidentmanagement
IncidentmanagementIncidentmanagement
Incidentmanagementmvanginkel
 
Les 3 Javascript
Les 3 JavascriptLes 3 Javascript
Les 3 Javascriptmvanginkel
 
Pianist As An Artist
Pianist As An ArtistPianist As An Artist
Pianist As An Artistlynx33
 
Review Workshop
Review  WorkshopReview  Workshop
Review Workshoplynx33
 
Les 3 Javascript
Les 3 JavascriptLes 3 Javascript
Les 3 Javascriptmvanginkel
 
Les 2 php prog 1
Les 2 php prog 1Les 2 php prog 1
Les 2 php prog 1mvanginkel
 
Mountain Moot: Running a Paperless Classroom with Moodle
Mountain Moot: Running a Paperless Classroom with MoodleMountain Moot: Running a Paperless Classroom with Moodle
Mountain Moot: Running a Paperless Classroom with MoodleJason Neiffer
 
Tracking the Blended Learning Trend for NCCE 2015!
Tracking the Blended Learning Trend for NCCE 2015!Tracking the Blended Learning Trend for NCCE 2015!
Tracking the Blended Learning Trend for NCCE 2015!Jason Neiffer
 
Google Classroom: Simplicity in Execution
Google Classroom: Simplicity in ExecutionGoogle Classroom: Simplicity in Execution
Google Classroom: Simplicity in ExecutionJason Neiffer
 
2.3 php en mysql intro
2.3 php en mysql intro2.3 php en mysql intro
2.3 php en mysql intromvanginkel
 

Viewers also liked (11)

Incidentmanagement
IncidentmanagementIncidentmanagement
Incidentmanagement
 
Les 3 Javascript
Les 3 JavascriptLes 3 Javascript
Les 3 Javascript
 
Pianist As An Artist
Pianist As An ArtistPianist As An Artist
Pianist As An Artist
 
Review Workshop
Review  WorkshopReview  Workshop
Review Workshop
 
Les 3 Javascript
Les 3 JavascriptLes 3 Javascript
Les 3 Javascript
 
Les 2 php prog 1
Les 2 php prog 1Les 2 php prog 1
Les 2 php prog 1
 
Mountain Moot: Running a Paperless Classroom with Moodle
Mountain Moot: Running a Paperless Classroom with MoodleMountain Moot: Running a Paperless Classroom with Moodle
Mountain Moot: Running a Paperless Classroom with Moodle
 
1.2 basis 2
1.2 basis 21.2 basis 2
1.2 basis 2
 
Tracking the Blended Learning Trend for NCCE 2015!
Tracking the Blended Learning Trend for NCCE 2015!Tracking the Blended Learning Trend for NCCE 2015!
Tracking the Blended Learning Trend for NCCE 2015!
 
Google Classroom: Simplicity in Execution
Google Classroom: Simplicity in ExecutionGoogle Classroom: Simplicity in Execution
Google Classroom: Simplicity in Execution
 
2.3 php en mysql intro
2.3 php en mysql intro2.3 php en mysql intro
2.3 php en mysql intro
 

Les 1 Javascript Intro

  • 2. Wat is Javascript ? Programmeer/scripttaal t.b.v. webomgevingen Geen compiler nodig / browser verwerkt script In html of als extern bestand ! Body of Headerscript !
  • 3.
  • 4. Valideren van forms en input
  • 5. HTML pagina’s custom made !
  • 6. Cookies / standaard datum etc.
  • 7. Controle over browserContent / Styling / Behavior Html/xml – CSS/Xslt / Javascript
  • 8.
  • 13.
  • 16.
  • 17. Variabelen ! Variabelenzijnzelfgemaaktobjecten ! vardePagina; (eenvariabele met de naamdePagina is gemaakt) varmijnKat=“Daisy”; (de waarde van mijnKat is Daisy) varmijnTeller=1 (de waarde van mijnTeller is 1)
  • 18. Variabelen ! Nummers en strings ! 1 “1” “melk” varmijnTeller = 1 + 1 (de waarde van mijnTeller is 2) varmijnTeller = 1 + “1” (de waarde van mijnTeller is 11) varmijnTeller = “1” + “1” (de waarde van mijnTeller is 11) varmijnTeller = 1 * “1” (syntaxfout) varmijnTeller = 1 / “1” (syntaxfout) varmijnTeller = 1 - “1” (syntaxfout)
  • 19. Variabelen ! Nummers en strings 2 ! varmijnTeller = mijnTeller + 1 De variabeleMijnTellerwordt met 1 opgehoogd varmijnTeller = mijnTeller ++ De variabeleMijnTellerwordt met 1 opgehoogd varmijnTeller = mijnTeller - 1 De variabeleMijnTellerwordt met 1 verlaagd varmijnTeller = mijnTeller -- De variabeleMijnTellerwordt met 1 verlaagd
  • 20. Vergelijkingen ! + / - * < > ++ --
  • 21. Events! De browser doet alleen iets als er iets gebeurt! Keyboard-events ! Mouse click events! Mouse move events ! Window-events ! Form en input events !
  • 23. Opdracht Javascript‘Foto mousover’ Opdracht 1. Maakeenoverzichtpaginamet eenfotooverzicht. GebruikJavascriptomeenmouseovervooriederefototemakenwaardoor de fotovergrootwordtweergegeven. Upload de bestandennaar je eigenwebomgeving en stuur de link via Mail naarm.v.ginkel@rocleiden.nl