php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IT430 - E-Commerce Assignments No. 2 Solution and Discussion Close Date Dec 15, 2014
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Objective:
The goal of this assignment is to get you acquainted with concept of using HTML, java script
and objects in java script.
Lectures Covered: 10-16
BEST OF LUCK
Question: Marks: 15
Part a)
Develop a web page with java script code that should display a button named "Click Here". After
clicking that button an alert should be displayed with text "Java Script is Working". 5 marks
Part b)
Write Java Script code to display digital clock. Time should be updated after every second and output
of the code should be displayed as given in the following figure. (10 marks)
Reply
#2
span class="start-tag">style type="text/css"> body { background-color: #80d4ea; } #clock{ height: 100px; width: 800px; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; padding-top: 70px; font-family: courier, monospace; text-align: center; color: white; font-size: 50px; } p{ text-align: center; margin-bottom: 0px; } </style> </head> span class="start-tag">body> span class="start-tag">div id='clock'> </div> span class="start-tag">script type="text/javascript" langauge="javascript"> function displayTime() { var currentTime = new Date(); var hours = currentTime.getHours(); var minutes = currentTime.getMinutes(); var seconds = currentTime.getSeconds(); // This gets a "handle" to the clock div in our HTML var clockDiv = document.getElementById('clock'); if (seconds < 10) { // Add the "0" digit to the front // so 9 becomes "09" seconds = "0" + seconds; } clockDiv.innerText ="HH:MM:SS\n" +hours + ":" + minutes + ":" + seconds; setTimeout('displayTime()', 1000); } displayTime(); </script> span class="start-tag">p> This is an Educational Purpose Clock. Only Works in Chrome and Internet Explorer. But not work in Mozilla FireFox. span class="start-tag">br> span class="start-tag">strong> Designed By: Double Diamond</strong> </p> </body> </html> <!-- Hey Guys and Girls.... Once again for the smiplicity u can remove all style from this code that is in style tag. To change the assignment you can change variables and funciton name and replace with ur own as u like. you can also change id names of divs. Am not it430's Student. But asuming that u know a little bit about code.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#3
span class="start-tag">html> span class="start-tag">head> span class="start-tag">title>JavaScript Click Here Button</title> </head> span class="start-tag">body style="text-align: center; margin: 50px;"> span class="start-tag">button onclick="alert('Java script is working')"> Click Here </button> span class="start-tag">br>By: Double Diamond </body> </html> <!-- Hey Student...... This is very Simple Question You can remove the Style from body tag and my name also Smile And I am using button tag you can use input tag to change the Assignment. After that Code will looks like this <input type=submit value="Click Here " onClick="alert('Javascript is Working')"> And one thing more don't forget to remove this comment starting with <!-- and ending with -->

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VU Fall 2026 Assignments: How to Write Solutions That Get Full Marks (Complete Guide) admin 0 77 11-03-2026, 05:22 PM
Last Post: admin
  cs301 assignment no 3 Solution 20 January 2016 Vuhelper 0 11,195 01-20-2016, 03:32 PM
Last Post: Vuhelper
  CS201 Assignment vo 3 Solution 20th January 2016 Vuhelper 2 2,744 01-20-2016, 03:28 PM
Last Post: Vuhelper
  CS101 Assignment no 3 Solution 20th January 2016 Vuhelper 0 2,390 01-20-2016, 03:25 PM
Last Post: Vuhelper
  SOC101 INTRODUCTION TO SOCIOLOGY assignment no 3 Solution 20 January 2016 Vuhelper 0 1,976 01-20-2016, 03:19 PM
Last Post: Vuhelper
  CS402 Assignment No 4 Solution & Discussion Xpert 0 2,200 08-01-2015, 02:33 AM
Last Post: Xpert
  cs101 Assignment No. 1 Solution 21 may spring 2015 semester Xpert 0 3,016 05-21-2015, 12:41 AM
Last Post: Xpert
  Assignment solution eng 301 due date 20 may 2015 rumesa khan 3 4,685 05-20-2015, 01:34 AM
Last Post: Xpert
  PHY301 Circuit Theory Assignment No. 1 idea Solution spring may 2015 semester Xpert 0 1,659 05-15-2015, 03:52 AM
Last Post: Xpert
  Assignment No. 01 Spring 2015 Information Systems CS507 idea solution spring 2015 Xpert 0 2,559 05-15-2015, 03:49 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support