SlideShare a Scribd company logo
1 of 18
1
CLIENT-SIDE SCRIPTING IN
VBSCRIPT
2
PROGRAM 1
1. <html>
2. <head>
3. <title></title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim localtime,localhour
8. localtime=now
9. localhour=hour(localtime)
10.if localhour<12 then
11.document.write("good morning")
12.else
13.document.write("good day")
14.end if
15.</script>
16.<p>we hope that you will find vbscripts most enjoyable</p>
17.</body>
18.</html>
3
PROGRAM 2
1. <html>
2. <head>
3. <title></title>
4. </head>
5. <body>
6. <form name="form1">
7. <input type="button" name="button1" value="click">
8. <script for="button1" event="onclick" language="vbscript">
9. dim localtime,localhour
10.localtime=now
11.localhour=hour(localtime)
12.if localhour<12 then
13.document.write("good morning")
14.else
15.document.write("good day")
16.end if
17.</script>
18.</form>
19.</body>
20.</html>
4
PROGRAM 3
1. <html>
2. <head>
3. <title> </title>
4. <script language="vbscript">
5. sub button1_onclick
6. dim localtime,localhour
7. localtime=now
8. localhour=hour(localtime)
9. if localhour<12 then
10. document.write("good morning")
11. else
12. document.write("good day")
13. end if
14. end sub
15. </script>
16. </head>
17. <body>
18. <form name="form1">
19. <input type="button" name="button1" value="click">
20. </form>
21. </body>
22. </html>
5
PROGRAM 4
1. <html>
2. <head>
3. <title>input box</title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim username
8. username=inputbox("please enter your name","user name")
9. document.write("welcome "& username &" i hope you will
enjoy learning")
10.</script>
11.</body>
12.</html>
6
PROGRAM 5
1. <html>
2. <head>
3. <title>message box</title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim username, salary, hours
8. username=inputbox("please enter your name","user name")
9. hours=inputbox("enter the numbers of hours", "working
hours")
10. salary = hours*5 + 100
11. call msgbox("your salary is" & salary,5, username)
12. </script>
13. </body>
14. </html>
7
PROGRAM 6
1. <html>
2. <head>
3. <title></title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim bt
8. bt=msgbox("press a button of the following",3,"press a
button")
9. if bt=6 then msgbox"you pressed yes",0,"result"
10. if bt=7 then msgbox"you pressed no",0,"result"
11. if bt=2 then msgbox"you pressed cancel",0,"result"
12. </script>
13. </body>
14. </html>
8
PROGRAM 7
1. <html>
2. <head>
3. <title>do while..loop </title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim age
8. age=inputbox("enter your age","age")
9. do while age<=0 or age>100
10.age=inputbox("please enter a valid value for age (0-
100)","age")
11.loop
12.msgbox "thanks for providing your age." & age
13.</script>
14.</body>
15.</html>
9
PROGRAM 8
1. <html>
2. <head>
3. <title>do until..loop </title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim age
8. age=inputbox("enter your age","age")
9. do until age>0 and age<=100
10. age=inputbox("please enter a valid value for age (0-
100)","age")
11. loop
12. msgbox "thanks for providing your age." & age
13. </script>
14. </body>
15. </html>
10
PROGRAM 9
1. <html>
2. <head>
3. <title>do loop while.. </title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim age
8. do
9. age=inputbox("please enter a valid value for age (0-
100)","age")
10.loop while age<=0 or age>100
11.msgbox "thanks for providing your age." & age
12.</script>
13.</body>
14.</html>
11
PROGRAM 10
1. <html>
2. <head>
3. <title>do loop until.. </title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim age
8. do
9. age=inputbox("please enter a valid value for age (0-
100)","age")
10.loop until age>0 and age<=100
11.msgbox "thanks for providing your age." & age
12.</script>
13.</body>
14.</html>
12
PROGRAM 11
1. <html>
2. <head>
3. <title>for.. to.. step.. next.. </title>
4. </head>
5. <body>
6. <script language="vbscript">
7. dim sum,i
8. sum=0
9. for i=1 to 10 step 1
10.sum=sum+i
11.next
12.document.write("the sum is " & sum& "<br/>")
13.msgbox "the sum of 1.....10 is " & sum
14.</script>
15.</body>
16.</html>
13
PROGRAM 12
1. <html>
2. <head>
3. <title>(1) </title>
4. </head>
5. <body>
6. <script language="vbscript">
7. familyname=array("ali","muna","suha","maha","heba"
,"jone")
8. for i=0 to 5
9. document.write(familyname(i) & "<br/>")
10. next
11. </script>
12. </body>
13. </html>
14
PROGRAM 13
1. <html>
2. <head>
3. <title>2))</title>
4. </head>
5. <body>
6. <script language="vbscript">
7. familyname=array("ali","muna","suha","maha","heba",
"jone")
8. for each x in familyname
9. document.write(x & "<br/>")
10. next
11. </script>
12. </body>
13. </html>
15
PROGRAM 14
1. <html>
2. <head>
3. <title>3)) </title>
4. </head>
5. <body>
6. <p>
7. </p>
8. <script language="vbscript">
9. option explicit
10. dim i,n
11. dim names()
12. n=int(inputbox("enter the number of names","number of names"))
13. redim names(n)
14. for i=0 to n-1
15. names(i)=inputbox("enter a name","names")
16. next
17. for i=n-1 to 0 step -1
18. document.write( names(i) & "<br>")
19. next
20. </script>
21. </body>
22. </html>
16
PROGRAM 15
1. <html>
2. <head>
3. <title> 1)) </title>
4. <script language="vbscript">
5. sub myaverage()
6. a=cint(inputbox("please enter a number","average"))
7. b=cint(inputbox("please enter a number","average"))
8. c=cint(inputbox("please enter a number","average"))
9. av=(a+b+c)/3
10. msgbox "the average is " & av
11. end sub
12. </script>
13. </head>
14. <body>
15. <form>
16. <input type="button" value="calculate average" onclick="call
myaverage()">
17. </form>
18. </body>
19. </html>
17
PROGRAM 16
1. <html>
2. <head>
3. <title> </title>
4. <script language="vbscript">
5. function average(x,y,z)
6. average=(x+y+z)/3
7. end function
8. sub myaverage()
9. a=cint(inputbox("please enter a number","average"))
10. b=cint(inputbox("please enter a number","average"))
11. c=cint(inputbox("please enter a number","average"))
12. av=average(a,b,c)
13. msgbox "the average is " & av
14. end sub
15. </script>
16. </head>
17. <body>
18. <form>
19. <input type="button" value="calculate average" onclick="call
myaverage()">
20. </form>
21. </body>
22. </html>
18
PROGRAM 17
<html>
<head>
<title></title>
</head>
<body>
<p>finding the max of three numbers</p>
<script type="text/vbscript">
option explicit
dim x,y,z,max
x=int(inputbox("enter the first number", "numbers"))
y=int(inputbox("enter the first number", "numbers"))
z=int(inputbox("enter the first number", "numbers"))
if x>y then
max=x
else
max=y
end if
if z>max then
max=z
end if
call msgbox("the max is " &max,0,"maximum")
</script>
</form>
</body>
</html>

More Related Content

What's hot

Session three *JavaScript*
Session three *JavaScript*Session three *JavaScript*
Session three *JavaScript*Mustafa Saeed
 
SINATRA + HAML + TWITTER
SINATRA + HAML + TWITTERSINATRA + HAML + TWITTER
SINATRA + HAML + TWITTERElber Ribeiro
 
Jsp config implicit object
Jsp config implicit objectJsp config implicit object
Jsp config implicit objectchauhankapil
 
Black-Scholes Calculator on Web
Black-Scholes Calculator on WebBlack-Scholes Calculator on Web
Black-Scholes Calculator on WebEugene Yang
 
Training in Asp.net mvc3 platform-apextgi,noidaAspnetmvc3 j query
Training in Asp.net mvc3 platform-apextgi,noidaAspnetmvc3 j queryTraining in Asp.net mvc3 platform-apextgi,noidaAspnetmvc3 j query
Training in Asp.net mvc3 platform-apextgi,noidaAspnetmvc3 j queryprav068
 
OSML and OpenSocial 0.9
OSML and OpenSocial 0.9OSML and OpenSocial 0.9
OSML and OpenSocial 0.9MySpaceDevTeam
 
[Coscup 2012] JavascriptMVC
[Coscup 2012] JavascriptMVC[Coscup 2012] JavascriptMVC
[Coscup 2012] JavascriptMVCAlive Kuo
 
Casl. isomorphic permission management.pptx
Casl. isomorphic permission management.pptxCasl. isomorphic permission management.pptx
Casl. isomorphic permission management.pptxSergiy Stotskiy
 
The Django Web Framework (EuroPython 2006)
The Django Web Framework (EuroPython 2006)The Django Web Framework (EuroPython 2006)
The Django Web Framework (EuroPython 2006)Simon Willison
 
Using shortcode in plugin development
Using shortcode in plugin developmentUsing shortcode in plugin development
Using shortcode in plugin developmentgskhanal
 
Angular.js Fundamentals
Angular.js FundamentalsAngular.js Fundamentals
Angular.js FundamentalsMark
 

What's hot (20)

Html To JSP
Html To JSPHtml To JSP
Html To JSP
 
4.hello popescu
4.hello popescu4.hello popescu
4.hello popescu
 
11. move in Symfony 4
11. move in Symfony 411. move in Symfony 4
11. move in Symfony 4
 
Php with mysql ppt
Php with mysql pptPhp with mysql ppt
Php with mysql ppt
 
Session three *JavaScript*
Session three *JavaScript*Session three *JavaScript*
Session three *JavaScript*
 
9. lower in Symfony 4
9. lower in Symfony 49. lower in Symfony 4
9. lower in Symfony 4
 
SINATRA + HAML + TWITTER
SINATRA + HAML + TWITTERSINATRA + HAML + TWITTER
SINATRA + HAML + TWITTER
 
Kamis04
Kamis04Kamis04
Kamis04
 
Jsp config implicit object
Jsp config implicit objectJsp config implicit object
Jsp config implicit object
 
Black-Scholes Calculator on Web
Black-Scholes Calculator on WebBlack-Scholes Calculator on Web
Black-Scholes Calculator on Web
 
Training in Asp.net mvc3 platform-apextgi,noidaAspnetmvc3 j query
Training in Asp.net mvc3 platform-apextgi,noidaAspnetmvc3 j queryTraining in Asp.net mvc3 platform-apextgi,noidaAspnetmvc3 j query
Training in Asp.net mvc3 platform-apextgi,noidaAspnetmvc3 j query
 
OSML and OpenSocial 0.9
OSML and OpenSocial 0.9OSML and OpenSocial 0.9
OSML and OpenSocial 0.9
 
[Coscup 2012] JavascriptMVC
[Coscup 2012] JavascriptMVC[Coscup 2012] JavascriptMVC
[Coscup 2012] JavascriptMVC
 
Intro to jquery
Intro to jqueryIntro to jquery
Intro to jquery
 
Casl. isomorphic permission management.pptx
Casl. isomorphic permission management.pptxCasl. isomorphic permission management.pptx
Casl. isomorphic permission management.pptx
 
El Codigo x jorge
El Codigo x jorgeEl Codigo x jorge
El Codigo x jorge
 
The Django Web Framework (EuroPython 2006)
The Django Web Framework (EuroPython 2006)The Django Web Framework (EuroPython 2006)
The Django Web Framework (EuroPython 2006)
 
Using shortcode in plugin development
Using shortcode in plugin developmentUsing shortcode in plugin development
Using shortcode in plugin development
 
Codegnitorppt
CodegnitorpptCodegnitorppt
Codegnitorppt
 
Angular.js Fundamentals
Angular.js FundamentalsAngular.js Fundamentals
Angular.js Fundamentals
 

Similar to ملخص تقنية تصميم صفحات الويب - الوحدة الثالثة (الجزء الاول)

JavaServer Pages
JavaServer Pages JavaServer Pages
JavaServer Pages profbnk
 
10 java script projects full source code
10 java script projects full source code10 java script projects full source code
10 java script projects full source codeLaurence Svekis ✔
 
Front End Craftsmanship
Front End CraftsmanshipFront End Craftsmanship
Front End Craftsmanshiprocketspops
 
Javascript MVC & Backbone Tips & Tricks
Javascript MVC & Backbone Tips & TricksJavascript MVC & Backbone Tips & Tricks
Javascript MVC & Backbone Tips & TricksHjörtur Hilmarsson
 
20190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React201920190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React2019Makoto Mori
 
JavaScript
JavaScriptJavaScript
JavaScriptSunil OS
 
Scalable vector ember
Scalable vector emberScalable vector ember
Scalable vector emberMatthew Beale
 
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB jhchabran
 
14922 java script built (1)
14922 java script built (1)14922 java script built (1)
14922 java script built (1)dineshrana201992
 
code hay cho blogspot
code hay cho blogspotcode hay cho blogspot
code hay cho blogspotHuy Nguyen
 
Play framework training by Neelkanth Sachdeva @ Scala Traits Event , New Delh...
Play framework training by Neelkanth Sachdeva @ Scala Traits Event , New Delh...Play framework training by Neelkanth Sachdeva @ Scala Traits Event , New Delh...
Play framework training by Neelkanth Sachdeva @ Scala Traits Event , New Delh...Neelkanth Sachdeva
 
Play framework training by Neelkanth Sachdeva @ Scala traits event , New Delh...
Play framework training by Neelkanth Sachdeva @ Scala traits event , New Delh...Play framework training by Neelkanth Sachdeva @ Scala traits event , New Delh...
Play framework training by Neelkanth Sachdeva @ Scala traits event , New Delh...Knoldus Inc.
 
Angular directive filter and routing
Angular directive filter and routingAngular directive filter and routing
Angular directive filter and routingjagriti srivastava
 
Python Code Camp for Professionals 3/4
Python Code Camp for Professionals 3/4Python Code Camp for Professionals 3/4
Python Code Camp for Professionals 3/4DEVCON
 
Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Wilson Su
 
Practical JavaScript Programming - Session 5/8
Practical JavaScript Programming - Session 5/8Practical JavaScript Programming - Session 5/8
Practical JavaScript Programming - Session 5/8Wilson Su
 

Similar to ملخص تقنية تصميم صفحات الويب - الوحدة الثالثة (الجزء الاول) (20)

Web Technology Record
Web Technology RecordWeb Technology Record
Web Technology Record
 
JavaServer Pages
JavaServer Pages JavaServer Pages
JavaServer Pages
 
10 java script projects full source code
10 java script projects full source code10 java script projects full source code
10 java script projects full source code
 
Practica n° 7
Practica n° 7Practica n° 7
Practica n° 7
 
Front End Craftsmanship
Front End CraftsmanshipFront End Craftsmanship
Front End Craftsmanship
 
JavaScript Training
JavaScript TrainingJavaScript Training
JavaScript Training
 
Javascript MVC & Backbone Tips & Tricks
Javascript MVC & Backbone Tips & TricksJavascript MVC & Backbone Tips & Tricks
Javascript MVC & Backbone Tips & Tricks
 
20190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React201920190118_NetadashiMeetup#8_React2019
20190118_NetadashiMeetup#8_React2019
 
JavaScript
JavaScriptJavaScript
JavaScript
 
Scalable vector ember
Scalable vector emberScalable vector ember
Scalable vector ember
 
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB
 
Angular 2 introduction
Angular 2 introductionAngular 2 introduction
Angular 2 introduction
 
14922 java script built (1)
14922 java script built (1)14922 java script built (1)
14922 java script built (1)
 
code hay cho blogspot
code hay cho blogspotcode hay cho blogspot
code hay cho blogspot
 
Play framework training by Neelkanth Sachdeva @ Scala Traits Event , New Delh...
Play framework training by Neelkanth Sachdeva @ Scala Traits Event , New Delh...Play framework training by Neelkanth Sachdeva @ Scala Traits Event , New Delh...
Play framework training by Neelkanth Sachdeva @ Scala Traits Event , New Delh...
 
Play framework training by Neelkanth Sachdeva @ Scala traits event , New Delh...
Play framework training by Neelkanth Sachdeva @ Scala traits event , New Delh...Play framework training by Neelkanth Sachdeva @ Scala traits event , New Delh...
Play framework training by Neelkanth Sachdeva @ Scala traits event , New Delh...
 
Angular directive filter and routing
Angular directive filter and routingAngular directive filter and routing
Angular directive filter and routing
 
Python Code Camp for Professionals 3/4
Python Code Camp for Professionals 3/4Python Code Camp for Professionals 3/4
Python Code Camp for Professionals 3/4
 
Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8
 
Practical JavaScript Programming - Session 5/8
Practical JavaScript Programming - Session 5/8Practical JavaScript Programming - Session 5/8
Practical JavaScript Programming - Session 5/8
 

More from جامعة القدس المفتوحة

كتاب: Simply AVR مقدمة مبسطة عن النظم المدمجة
كتاب: Simply AVR مقدمة مبسطة عن النظم المدمجةكتاب: Simply AVR مقدمة مبسطة عن النظم المدمجة
كتاب: Simply AVR مقدمة مبسطة عن النظم المدمجةجامعة القدس المفتوحة
 
ملخص تحليل الانظمة وتصميمها - الوحدة السادسة
ملخص تحليل الانظمة وتصميمها - الوحدة السادسةملخص تحليل الانظمة وتصميمها - الوحدة السادسة
ملخص تحليل الانظمة وتصميمها - الوحدة السادسةجامعة القدس المفتوحة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الخامسة
ملخص تحليل الانظمة وتصميمها - الوحدة الخامسةملخص تحليل الانظمة وتصميمها - الوحدة الخامسة
ملخص تحليل الانظمة وتصميمها - الوحدة الخامسةجامعة القدس المفتوحة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الثالثة
ملخص تحليل الانظمة وتصميمها - الوحدة الثالثةملخص تحليل الانظمة وتصميمها - الوحدة الثالثة
ملخص تحليل الانظمة وتصميمها - الوحدة الثالثةجامعة القدس المفتوحة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الثامنة
ملخص تحليل الانظمة وتصميمها - الوحدة الثامنةملخص تحليل الانظمة وتصميمها - الوحدة الثامنة
ملخص تحليل الانظمة وتصميمها - الوحدة الثامنةجامعة القدس المفتوحة
 
ملخص تحليل الانظمة وتصميمها - الوحدة السابعة
ملخص تحليل الانظمة وتصميمها - الوحدة السابعةملخص تحليل الانظمة وتصميمها - الوحدة السابعة
ملخص تحليل الانظمة وتصميمها - الوحدة السابعةجامعة القدس المفتوحة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الرابعة
ملخص تحليل الانظمة وتصميمها - الوحدة الرابعةملخص تحليل الانظمة وتصميمها - الوحدة الرابعة
ملخص تحليل الانظمة وتصميمها - الوحدة الرابعةجامعة القدس المفتوحة
 
ملخص تحليل الانظمة وتصميمها - الوحدة التاسعة
ملخص تحليل الانظمة وتصميمها - الوحدة التاسعةملخص تحليل الانظمة وتصميمها - الوحدة التاسعة
ملخص تحليل الانظمة وتصميمها - الوحدة التاسعةجامعة القدس المفتوحة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الثانية
ملخص تحليل الانظمة وتصميمها - الوحدة الثانيةملخص تحليل الانظمة وتصميمها - الوحدة الثانية
ملخص تحليل الانظمة وتصميمها - الوحدة الثانيةجامعة القدس المفتوحة
 
ملخص تقنية تصميم صفحات الويب - الوحدة السادسة
ملخص تقنية تصميم صفحات الويب - الوحدة السادسةملخص تقنية تصميم صفحات الويب - الوحدة السادسة
ملخص تقنية تصميم صفحات الويب - الوحدة السادسةجامعة القدس المفتوحة
 
ملخص تقنية تصميم صفحات الويب - الوحدة الخامسة
ملخص تقنية تصميم صفحات الويب - الوحدة الخامسةملخص تقنية تصميم صفحات الويب - الوحدة الخامسة
ملخص تقنية تصميم صفحات الويب - الوحدة الخامسةجامعة القدس المفتوحة
 
اسئلة نهائية لمقرر تقنية تصميم صفحات الويب - 1266
اسئلة نهائية لمقرر تقنية تصميم صفحات الويب - 1266اسئلة نهائية لمقرر تقنية تصميم صفحات الويب - 1266
اسئلة نهائية لمقرر تقنية تصميم صفحات الويب - 1266جامعة القدس المفتوحة
 
مناهج البحث العلمي - اللقاء الافتراضي الثاني
مناهج البحث العلمي - اللقاء الافتراضي الثانيمناهج البحث العلمي - اللقاء الافتراضي الثاني
مناهج البحث العلمي - اللقاء الافتراضي الثانيجامعة القدس المفتوحة
 
مناهج البحث العلمي - اللقاء الافتراضي الاول
مناهج البحث العلمي - اللقاء الافتراضي الاولمناهج البحث العلمي - اللقاء الافتراضي الاول
مناهج البحث العلمي - اللقاء الافتراضي الاولجامعة القدس المفتوحة
 

More from جامعة القدس المفتوحة (20)

كتاب ميكروبيديا Micropedia
كتاب ميكروبيديا Micropediaكتاب ميكروبيديا Micropedia
كتاب ميكروبيديا Micropedia
 
كتاب: Simply AVR مقدمة مبسطة عن النظم المدمجة
كتاب: Simply AVR مقدمة مبسطة عن النظم المدمجةكتاب: Simply AVR مقدمة مبسطة عن النظم المدمجة
كتاب: Simply AVR مقدمة مبسطة عن النظم المدمجة
 
ملخص تحليل الانظمة وتصميمها - النصفي
ملخص تحليل الانظمة وتصميمها - النصفيملخص تحليل الانظمة وتصميمها - النصفي
ملخص تحليل الانظمة وتصميمها - النصفي
 
ملخص تحليل الانظمة وتصميمها - الوحدة السادسة
ملخص تحليل الانظمة وتصميمها - الوحدة السادسةملخص تحليل الانظمة وتصميمها - الوحدة السادسة
ملخص تحليل الانظمة وتصميمها - الوحدة السادسة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الخامسة
ملخص تحليل الانظمة وتصميمها - الوحدة الخامسةملخص تحليل الانظمة وتصميمها - الوحدة الخامسة
ملخص تحليل الانظمة وتصميمها - الوحدة الخامسة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الثالثة
ملخص تحليل الانظمة وتصميمها - الوحدة الثالثةملخص تحليل الانظمة وتصميمها - الوحدة الثالثة
ملخص تحليل الانظمة وتصميمها - الوحدة الثالثة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الثامنة
ملخص تحليل الانظمة وتصميمها - الوحدة الثامنةملخص تحليل الانظمة وتصميمها - الوحدة الثامنة
ملخص تحليل الانظمة وتصميمها - الوحدة الثامنة
 
ملخص تحليل الانظمة وتصميمها - الوحدة السابعة
ملخص تحليل الانظمة وتصميمها - الوحدة السابعةملخص تحليل الانظمة وتصميمها - الوحدة السابعة
ملخص تحليل الانظمة وتصميمها - الوحدة السابعة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الرابعة
ملخص تحليل الانظمة وتصميمها - الوحدة الرابعةملخص تحليل الانظمة وتصميمها - الوحدة الرابعة
ملخص تحليل الانظمة وتصميمها - الوحدة الرابعة
 
ملخص تحليل الانظمة وتصميمها - الوحدة التاسعة
ملخص تحليل الانظمة وتصميمها - الوحدة التاسعةملخص تحليل الانظمة وتصميمها - الوحدة التاسعة
ملخص تحليل الانظمة وتصميمها - الوحدة التاسعة
 
ملخص تحليل الانظمة وتصميمها - الوحدة الثانية
ملخص تحليل الانظمة وتصميمها - الوحدة الثانيةملخص تحليل الانظمة وتصميمها - الوحدة الثانية
ملخص تحليل الانظمة وتصميمها - الوحدة الثانية
 
ملخص تقنية تصميم صفحات الويب - الوحدة السادسة
ملخص تقنية تصميم صفحات الويب - الوحدة السادسةملخص تقنية تصميم صفحات الويب - الوحدة السادسة
ملخص تقنية تصميم صفحات الويب - الوحدة السادسة
 
ملخص تقنية تصميم صفحات الويب - الوحدة الخامسة
ملخص تقنية تصميم صفحات الويب - الوحدة الخامسةملخص تقنية تصميم صفحات الويب - الوحدة الخامسة
ملخص تقنية تصميم صفحات الويب - الوحدة الخامسة
 
اسئلة نهائية لمقرر تقنية تصميم صفحات الويب - 1266
اسئلة نهائية لمقرر تقنية تصميم صفحات الويب - 1266اسئلة نهائية لمقرر تقنية تصميم صفحات الويب - 1266
اسئلة نهائية لمقرر تقنية تصميم صفحات الويب - 1266
 
مناهج البحث العلمي - اللقاء الافتراضي الثاني
مناهج البحث العلمي - اللقاء الافتراضي الثانيمناهج البحث العلمي - اللقاء الافتراضي الثاني
مناهج البحث العلمي - اللقاء الافتراضي الثاني
 
مناهج البحث العلمي - شرح الوحدات 1-5
مناهج البحث العلمي - شرح الوحدات 1-5مناهج البحث العلمي - شرح الوحدات 1-5
مناهج البحث العلمي - شرح الوحدات 1-5
 
ملخص مناهج البحث العلمي كامل
ملخص مناهج البحث العلمي كاململخص مناهج البحث العلمي كامل
ملخص مناهج البحث العلمي كامل
 
ملخص مناهج البحث العلمي
ملخص مناهج البحث العلميملخص مناهج البحث العلمي
ملخص مناهج البحث العلمي
 
مناهج البحث العلمي - اللقاء الافتراضي الاول
مناهج البحث العلمي - اللقاء الافتراضي الاولمناهج البحث العلمي - اللقاء الافتراضي الاول
مناهج البحث العلمي - اللقاء الافتراضي الاول
 
ملخص تعايش مع التكنولوجيا
ملخص تعايش مع التكنولوجياملخص تعايش مع التكنولوجيا
ملخص تعايش مع التكنولوجيا
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 

Recently uploaded (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 

ملخص تقنية تصميم صفحات الويب - الوحدة الثالثة (الجزء الاول)

  • 2. 2 PROGRAM 1 1. <html> 2. <head> 3. <title></title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim localtime,localhour 8. localtime=now 9. localhour=hour(localtime) 10.if localhour<12 then 11.document.write("good morning") 12.else 13.document.write("good day") 14.end if 15.</script> 16.<p>we hope that you will find vbscripts most enjoyable</p> 17.</body> 18.</html>
  • 3. 3 PROGRAM 2 1. <html> 2. <head> 3. <title></title> 4. </head> 5. <body> 6. <form name="form1"> 7. <input type="button" name="button1" value="click"> 8. <script for="button1" event="onclick" language="vbscript"> 9. dim localtime,localhour 10.localtime=now 11.localhour=hour(localtime) 12.if localhour<12 then 13.document.write("good morning") 14.else 15.document.write("good day") 16.end if 17.</script> 18.</form> 19.</body> 20.</html>
  • 4. 4 PROGRAM 3 1. <html> 2. <head> 3. <title> </title> 4. <script language="vbscript"> 5. sub button1_onclick 6. dim localtime,localhour 7. localtime=now 8. localhour=hour(localtime) 9. if localhour<12 then 10. document.write("good morning") 11. else 12. document.write("good day") 13. end if 14. end sub 15. </script> 16. </head> 17. <body> 18. <form name="form1"> 19. <input type="button" name="button1" value="click"> 20. </form> 21. </body> 22. </html>
  • 5. 5 PROGRAM 4 1. <html> 2. <head> 3. <title>input box</title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim username 8. username=inputbox("please enter your name","user name") 9. document.write("welcome "& username &" i hope you will enjoy learning") 10.</script> 11.</body> 12.</html>
  • 6. 6 PROGRAM 5 1. <html> 2. <head> 3. <title>message box</title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim username, salary, hours 8. username=inputbox("please enter your name","user name") 9. hours=inputbox("enter the numbers of hours", "working hours") 10. salary = hours*5 + 100 11. call msgbox("your salary is" & salary,5, username) 12. </script> 13. </body> 14. </html>
  • 7. 7 PROGRAM 6 1. <html> 2. <head> 3. <title></title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim bt 8. bt=msgbox("press a button of the following",3,"press a button") 9. if bt=6 then msgbox"you pressed yes",0,"result" 10. if bt=7 then msgbox"you pressed no",0,"result" 11. if bt=2 then msgbox"you pressed cancel",0,"result" 12. </script> 13. </body> 14. </html>
  • 8. 8 PROGRAM 7 1. <html> 2. <head> 3. <title>do while..loop </title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim age 8. age=inputbox("enter your age","age") 9. do while age<=0 or age>100 10.age=inputbox("please enter a valid value for age (0- 100)","age") 11.loop 12.msgbox "thanks for providing your age." & age 13.</script> 14.</body> 15.</html>
  • 9. 9 PROGRAM 8 1. <html> 2. <head> 3. <title>do until..loop </title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim age 8. age=inputbox("enter your age","age") 9. do until age>0 and age<=100 10. age=inputbox("please enter a valid value for age (0- 100)","age") 11. loop 12. msgbox "thanks for providing your age." & age 13. </script> 14. </body> 15. </html>
  • 10. 10 PROGRAM 9 1. <html> 2. <head> 3. <title>do loop while.. </title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim age 8. do 9. age=inputbox("please enter a valid value for age (0- 100)","age") 10.loop while age<=0 or age>100 11.msgbox "thanks for providing your age." & age 12.</script> 13.</body> 14.</html>
  • 11. 11 PROGRAM 10 1. <html> 2. <head> 3. <title>do loop until.. </title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim age 8. do 9. age=inputbox("please enter a valid value for age (0- 100)","age") 10.loop until age>0 and age<=100 11.msgbox "thanks for providing your age." & age 12.</script> 13.</body> 14.</html>
  • 12. 12 PROGRAM 11 1. <html> 2. <head> 3. <title>for.. to.. step.. next.. </title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. dim sum,i 8. sum=0 9. for i=1 to 10 step 1 10.sum=sum+i 11.next 12.document.write("the sum is " & sum& "<br/>") 13.msgbox "the sum of 1.....10 is " & sum 14.</script> 15.</body> 16.</html>
  • 13. 13 PROGRAM 12 1. <html> 2. <head> 3. <title>(1) </title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. familyname=array("ali","muna","suha","maha","heba" ,"jone") 8. for i=0 to 5 9. document.write(familyname(i) & "<br/>") 10. next 11. </script> 12. </body> 13. </html>
  • 14. 14 PROGRAM 13 1. <html> 2. <head> 3. <title>2))</title> 4. </head> 5. <body> 6. <script language="vbscript"> 7. familyname=array("ali","muna","suha","maha","heba", "jone") 8. for each x in familyname 9. document.write(x & "<br/>") 10. next 11. </script> 12. </body> 13. </html>
  • 15. 15 PROGRAM 14 1. <html> 2. <head> 3. <title>3)) </title> 4. </head> 5. <body> 6. <p> 7. </p> 8. <script language="vbscript"> 9. option explicit 10. dim i,n 11. dim names() 12. n=int(inputbox("enter the number of names","number of names")) 13. redim names(n) 14. for i=0 to n-1 15. names(i)=inputbox("enter a name","names") 16. next 17. for i=n-1 to 0 step -1 18. document.write( names(i) & "<br>") 19. next 20. </script> 21. </body> 22. </html>
  • 16. 16 PROGRAM 15 1. <html> 2. <head> 3. <title> 1)) </title> 4. <script language="vbscript"> 5. sub myaverage() 6. a=cint(inputbox("please enter a number","average")) 7. b=cint(inputbox("please enter a number","average")) 8. c=cint(inputbox("please enter a number","average")) 9. av=(a+b+c)/3 10. msgbox "the average is " & av 11. end sub 12. </script> 13. </head> 14. <body> 15. <form> 16. <input type="button" value="calculate average" onclick="call myaverage()"> 17. </form> 18. </body> 19. </html>
  • 17. 17 PROGRAM 16 1. <html> 2. <head> 3. <title> </title> 4. <script language="vbscript"> 5. function average(x,y,z) 6. average=(x+y+z)/3 7. end function 8. sub myaverage() 9. a=cint(inputbox("please enter a number","average")) 10. b=cint(inputbox("please enter a number","average")) 11. c=cint(inputbox("please enter a number","average")) 12. av=average(a,b,c) 13. msgbox "the average is " & av 14. end sub 15. </script> 16. </head> 17. <body> 18. <form> 19. <input type="button" value="calculate average" onclick="call myaverage()"> 20. </form> 21. </body> 22. </html>
  • 18. 18 PROGRAM 17 <html> <head> <title></title> </head> <body> <p>finding the max of three numbers</p> <script type="text/vbscript"> option explicit dim x,y,z,max x=int(inputbox("enter the first number", "numbers")) y=int(inputbox("enter the first number", "numbers")) z=int(inputbox("enter the first number", "numbers")) if x>y then max=x else max=y end if if z>max then max=z end if call msgbox("the max is " &max,0,"maximum") </script> </form> </body> </html>