منتديات  

العودة   منتديات مدرسة المشاغبين > منتديات تطوير مواقع تطوير منتديات منتديات برمجه منتديات سكربتات PHP CGI ASP.NET SQL Scripts > تطوير المواقع و السكربتات Ajax XML CSS JavaScript PHP Perl CGI seo Search Engine web2

تطوير المواقع و السكربتات Ajax XML CSS JavaScript PHP Perl CGI seo Search Engine web2 للمواقع للمدونات للصفحات الويب تو ويب ثري سي جي اي بيرل نيوك مجلة ادفانسد تصميم سكربت بي اتش بي بالاجاكس تقنية جافا سكربت برمجة اجاكس اكواد الجافا

ماشاء الله تبارك الله ماشاء الله لاقوة الا بالله - اللهم اني اسالك الهدى والتقى والعفاف والغنى

جاهل بالغرام موقع ابسط مما تتخيل 14-1-1431

حراج سيارات 19-4-1431هـ  سماء نجد ينتهي في 10-1-1431هـ ورد الروح ينتهي في 1-4-1431هـ
ينتهي في 10-1-1431هـ منتديات مهجة ينبع 18-1-1430 ه
للاعلان الاتصال بجوال 0555055075   بدر   عقارية المدينة 6-12-1430هـ
للاعلان الاتصال بجوال 0555055075   بدر   عطور خاصة مخلطات نادرة عطور فرنسية لوشن للجسم 28-12-1430 للاعلان الاتصال بجوال 0555055075   بدر 

روابط مهمة و مفيدة : لاستعادة الباسورد الرقم السري || كيف يتم تفعيل الاشتراك || طلب كود تفعيل العضوية على البريد
استضافة مواقع معنى كلمة رسائل مسجات دردشة شات افلام مقاطع فلم مقطع
مكتبة فلاش اسلامي الثقافة الجنسية صور في صورة شات صوتي الأسره المسلمه
ابتسامات خلفيات العاب جديدة دليل مواقع احداثيات gps القرآن الكريم
بطاقات كروت جوال موبايل جافا java قصص روايات sitemap
كتب الكترونية ماسنجر في مسنجر خطوط وصلات روابط العاب بنات للبنات فقط


مساعده بالجافاسكربت

تطوير المواقع و السكربتات Ajax XML CSS JavaScript PHP Perl CGI seo Search Engine web2


إضافة رد
 
أدوات الموضوع طريقة عرض الموضوع
  #1 (permalink)  
قديم 03-25-2009, 04:14 PM
صورة lubnaat
جاي معه ملفه
 
تاريخ التسجيل: Mar 2009
البلد - المكان و السكن : الرياض
السيرة :
هواية : القرائه
وظيفة - عمل: أدرس
جنس : أحلى بنت
جنسية : سورية وأفتخر
موقع : لا شيء محدد
جوال موبايل : نوكيا
مشاركات : 4
العمر :
الاوسمة :
عاجل مساعده بالجافاسكربت

السلام عليكم

أنا عم بدرس برمجه سنة تانية
وعندي واجب لازم حلو بمادة الجافا سكربت
أنا انتهيت منو تقريبا بس في سؤال ما فهمتو
و المشكلة انو ما عندي كتير وقت للأسف

فياريت ازا حدا بيقدر يشرحلي السؤال شو بدو
ويساعدني شوي بكون ممنونه الو

هاد هوه السؤال

This question is about topics covered in Units 7 and 8. It assesses your understanding of JavaScript syntax and your ability to use functions and event handlers. These are covered in Section 4 of Unit 8 (pp. 49–66). One mark for this question has been reserved for good code layout, including indentation, and for correct spelling and punctuation in prompts and output. As a guideline, try to lay out your code in the same way as the JavaScript examples in the course units.
For each part of the question you are expected to submit the working code in your solution document, together with screen shots that demonstrate that it runs correctly. However, if for any reason you have to abandon the question at some stage before the end, you should just submit the code you have completed up to that point, together with suitable screen shots.
For each part of the question where you are asked to write or amend code you must copy the JavaScript code into your solution document in the appropriate place for that question and include a correctly named HTML file in the zip archive.
Administrators of the ArabShop system interact with it via a browser interface which displays information about current levels of stock, tax payable and other statistics. Main stock levels are constantly monitored by administrators; while these levels naturally diminish as items are sold, new orders constantly arrive in the warehouse, and when they have been processed appear on the system as received stock, separate from the main stock levels. One of the tasks of the administrator is to give the goahead for the received stock to be added to the main stock on the system. Another task is to check on the overall levels of stock for all products, the total value of that stock and the tax payable on it.
The file M150_TMA03_2007J_Q3.html has been set up with an HTML form that displays the administrator interface. It also contains the four arrays you will be working with, which are similar to the product arrays in Question 2, except that here the data represented are product descriptions, prices, stock levels and received stock. You will not need to alter the HTML form or the arrays in any way. Open this file in your browser and examine it. You will note that the form provides facilities to display the level of stock of each product; add received stock to the main stock; and calculate the overall stock quantities, the overall value and the tax payable. Various buttons on the form call functions that do these tasks; you will write these functions.

(i) Make a copy of the file M150_TMA03_2007J_Q3.html, which we have supplied as a template for this question, and rename it M150_TMA03_2007J_Q3(i).html. The button Show all stock holdings on the main form causes the form to display the levels of main stock and of received stock for each product, which are contained in the parallel arrays productStock and receivedLevels. Pressing the button calls an event handler function showStockLevels(), which fills in the appropriate fields in the form by extracting data from the two arrays and writing it into the relevant fields on the form. Write this function. Test the function by pressing the button Show all stock.[5]
Insert a copy of your function into your solution document followed by a screenshot of the browser window showing the result of your test.
(ii) Make a copy of the file M150_TMA03_2007J_Q3(i).html and rename it M150_TMA03_2007J_Q3(ii).html. Clicking the button Add receipts to stock calls an event handler function that updates the arrays productStock and receivedLevels, by adding the receipts for each product to the value in productStock, and then setting the values receivedLevels to 0. The system should then display the new totals. Write this function. Test the function by pressing the button Add receipts to stock. [5]
Insert a copy of your function into your solution document followed by a screenshot of the browser window showing the result of your test.
(iii) Make a copy of the file M150_TMA03_2007J_Q3(ii).html and rename it M150_TMA03_2007J_Q3(iii).html. Clicking the button Calculate totals calls a function calculateTotals(), which will process the stock arrays to calculate the level of main stock, the level of received stock, the total cash value of all stock, main and received, and the tax payable on the stock. A special tax loophole that ArabShop is exploiting is that tax on main stock is 8% but tax on received stock is 6%. Write the function calculateTotals(). Test the function by pressing the button Show all stock followed by the button Calculate totals. [10]
Insert a copy of your function into your solution document followed by a screenshot of the browser window showing the result of your test.
وهاد الملف المرفق معو

كود PHP:
<!-- saved from url=(0022)http://internet.e-mail -->
<HTML>
<
HEADM150 TMAO3 Question 3
<TITLE>SOFASPEND IN THE BEST POSSIBLE TASTE!</TITLE>
<
SCRIPT 
language
="JavaScript" 
type="text/javascript"

// These are arrays containing product data
var productDescriptions = ['Superslurry electric blender''Apple - iPod (second-hand)',  'CoziNap nylon duvet tog 2''Headbanger mini hi-fi 20W''MagiBoot shoe cleaning kit''The PushmiPulu lawnmower'];
var 
productPrices = [45501525757];
var 
productStock = [2000250050015];
var 
receivedLevels = [501015050050100];
 
// Write the function showStockLevels() here

// Write the function addAllReceivedItems() here

// Write the function calculateTotals() here

    
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME = "administrator">
<BR>
SOFA SPEND plc. CURRENT STOCK LEVELS<BR><BR>
Superslurry electric blenders <BR> Current stock
<BR>
<INPUT TYPE = "text"
     NAME = "ssMainStock"
  VALUE = "" >
Received:
<INPUT TYPE = "text"
     NAME = "ssReceivedStock"
  VALUE = "">
<BR><BR>
Apple iPods (second hand) <BR> Current stock
<BR>
<INPUT TYPE = "text"
     NAME = "aiMainStock"
  VALUE = "" >
Received:
<INPUT TYPE = "text"
     NAME = "aiReceivedStock"
  VALUE = "">
<BR><BR>
CoziNap duvets<BR> Current stock
<BR>
<INPUT TYPE = "text"
     NAME = "cnMainStock"
  VALUE = "" >
Received:
<INPUT TYPE = "text"
     NAME = "cnReceivedStock"
  VALUE = "">
<BR><BR>
Headbanger hi-fi<BR> Current stock
<BR>
<INPUT TYPE = "text"
     NAME = "hbMainStock"
  VALUE = "" >
Received:
<INPUT TYPE = "text"
     NAME = "hbReceivedStock"
  VALUE = "">
<BR><BR>
Magiboot cleaning kits<BR> Current stock
<BR>
<INPUT TYPE = "text"
     NAME = "mbMainStock"
  VALUE = "" >
Received:
<INPUT TYPE = "text"
     NAME = "mbReceivedStock"
  VALUE = "">
<BR><BR>
PushmiPulu lawnmowers<BR> Current stock
<BR>
<INPUT TYPE = "text"
     NAME = "ppMainStock"
  VALUE = "" >
Received:
<INPUT TYPE = "text"
     NAME = "ppReceivedStock"
  VALUE = "">
<BR><BR>
<INPUT TYPE = "button"
     VALUE = "Show all stock holdings"
  ONCLICK = "showStockLevels()">
<INPUT TYPE = "button"
     VALUE = "Add receipts to stock"
  ONCLICK = "addAllReceivedItems()">
<BR><BR>
</FORM>
<FORM NAME = "statistics">
Total main stock items<BR> 
<INPUT   NAME = "mainStock"
  "TYPE = "text"
  VALUE = '' >
<BR>
Total received stock items<BR>
<INPUT   NAME = "receivedStock"
  "TYPE = "text"
  VALUE = '' >
<BR>
Total number stock items ---  Total value of stock ------- Total tax payable<BR>
<INPUT   NAME = "allStock"
  "TYPE = "text"
  VALUE = '' >
<INPUT   NAME = "allStockValue"
  "TYPE = "text"
  VALUE = '' >
<INPUT   NAME = "allTax"
  "TYPE = "text"
  VALUE = '' >
<BR><BR>
Press button to calculate .........
<INPUT TYPE = "button"
     VALUE = "Calculate totals"
  ONCLICK = "calculateTotals()">
</FORM>
</BODY>
</HTML> 
بانتظار ردكن
وشكرا مسبقا


من مواضيعي في الموقع على قسم 0 مساعده بالجافاسكربت

منتديات فراشة حواء - للبنات للنساء نسائي للفتيات
اغاني اسلامية اغاني جديدة اشرطة اناشيد جديدة احلا الاغاني اجمل الاناشيد اخر و افضل البومات

بنات الرياض سعوديات نسائي بناتي سعودي-اروع و اقوى موقع افلام و فيديو يوتيوب youtube على الاطلاق
دليل مواقع الفوركس والمتاجرة الالكترونية

رد مع اقتباس

الان اخر العروض التجارية والتخفيضات على السفر والسياحة والفنادق والهواتف المحمولة والازياء والموضه والسيارات وغيرها الكثير على موقع لقطه
www.logta.com

لقطه دليلك التجاري

إضافة رد

أدوات الموضوع
طريقة عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are معطلة
Pingbacks are معطلة
Refbacks are معطلة


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر رد
مساعده يا ابو عمرو..مساعده يا أهل الخير تاء مربوطه بفيونكا تطوير و صيانة المنتديات vBulletin 6 03-18-2009 05:32 PM
ممكن طلب مساعده عسوولة جده الهكرز و الاختراق حماية فيروسات اختراق كراك hacker crack virus 0 12-08-2008 11:09 AM
مساعده من اخوكم طالب مساعده طالب مساعده حراج انترنت مستعمل + جديد للبيع و للشراء 0 10-24-2008 02:18 PM
ارجووو مساعده انا في خطر مهم Mic-pro تطوير المواقع و السكربتات Ajax XML CSS JavaScript PHP Perl CGI seo Search Engine web2 2 09-16-2008 05:45 AM
ممكن مساعده عيناوي للابد الهكرز و الاختراق حماية فيروسات اختراق كراك hacker crack virus 1 02-20-2008 01:15 AM


الساعة الآن توقيت السعودية الرياض جدة الشرقية القصيم 09:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd diamond
للإعلان بالموقع    |    اتصـل بنــا - About

جامعة الامام 28-1-1431 الجامعة الاسلامية 28-1-1431 جامعة نجران 2-6-1431

SEO by vBSEO 3.2.0