Friday, 10 October 2014

NAME TEXT ANIMATION

<style type="text/css">
/* Circle Text Styles */
#outerCircleText {
/* Optional - DO NOT SET FONT-SIZE HERE, SET IT IN THE SCRIPT */
font-style: italic;
font-weight: bold;
font-family: 'comic sans ms', verdana, arial;
color: RED;
/* End Optional */

/* Start Required - Do Not Edit */
position: absolute;top: 0;left: 0;z-index: 3000;cursor: default;}
#outerCircleText div {position: relative;}
#outerCircleText div div {position: absolute;top: 0;left: 0;text-align: center;}
/* End Required */
/* End Circle Text Styles */
</style>
<script type="text/javascript">

/* Circling text trail- Tim Tilton
   Website: http://www.tempermedia.com/
   Visit: http://www.dynamicdrive.com/ for Original Source and tons of scripts
   Modified Here for more flexibility and modern browser support
   Modifications as first seen in http://www.dynamicdrive.com/forums/
   username:jscheuer1 - This notice must remain for legal use
   */

;(function(){

// Your message here (QUOTED STRING)
var msg = "wEB dESINGING";

/* THE REST OF THE EDITABLE VALUES BELOW ARE ALL UNQUOTED NUMBERS */

// Set font's style size for calculating dimensions
// Set to number of desired pixels font size (decimal and negative numbers not allowed)



//change text size


var size = 75;










// Set both to 1 for plain circle, set one of them to 2 for oval
// Other numbers & decimals can have interesting effects, keep these low (0 to 3)
var circleY = 1.75; var circleX = 2;

// The larger this divisor, the smaller the spaces between letters
// (decimals allowed, not negative numbers)
var letter_spacing = 5;

// The larger this multiplier, the bigger the circle/oval
// (decimals allowed, not negative numbers, some rounding is applied)
var diameter = 10;

// Rotation speed, set it negative if you want it to spin clockwise (decimals allowed)
var rotation = 0.4;

// This is not the rotation speed, its the reaction speed, keep low!
// Set this to 1 or a decimal less than one (decimals allowed, not negative numbers)
var speed = 0.3;

////////////////////// Stop Editing //////////////////////

if (!window.addEventListener && !window.attachEvent || !document.createElement) return;

msg = msg.split('');
var n = msg.length - 1, a = Math.round(size * diameter * 0.208333), currStep = 20,
ymouse = a * circleY + 20, xmouse = a * circleX + 20, y = [], x = [], Y = [], X = [],
o = document.createElement('div'), oi = document.createElement('div'),
b = document.compatMode && document.compatMode != "BackCompat"? document.documentElement : document.body,

mouse = function(e){
 e = e || window.event;
 ymouse = !isNaN(e.pageY)? e.pageY : e.clientY; // y-position
 xmouse = !isNaN(e.pageX)? e.pageX : e.clientX; // x-position
},

makecircle = function(){ // rotation/positioning
 if(init.nopy){
  o.style.top = (b || document.body).scrollTop + 'px';
  o.style.left = (b || document.body).scrollLeft + 'px';
 };
 currStep -= rotation;
 for (var d, i = n; i > -1; --i){ // makes the circle
  d = document.getElementById('iemsg' + i).style;
  d.top = Math.round(y[i] + a * Math.sin((currStep + i) / letter_spacing) * circleY - 15) + 'px';
  d.left = Math.round(x[i] + a * Math.cos((currStep + i) / letter_spacing) * circleX) + 'px';
 };
},

drag = function(){ // makes the resistance
 y[0] = Y[0] += (ymouse - Y[0]) * speed;
 x[0] = X[0] += (xmouse - 20 - X[0]) * speed;
 for (var i = n; i > 0; --i){
  y[i] = Y[i] += (y[i-1] - Y[i]) * speed;
  x[i] = X[i] += (x[i-1] - X[i]) * speed;
 };
 makecircle();
},

init = function(){ // appends message divs, & sets initial values for positioning arrays
 if(!isNaN(window.pageYOffset)){
  ymouse += window.pageYOffset;
  xmouse += window.pageXOffset;
 } else init.nopy = true;
 for (var d, i = n; i > -1; --i){
  d = document.createElement('div'); d.id = 'iemsg' + i;
  d.style.height = d.style.width = a + 'px';
  d.appendChild(document.createTextNode(msg[i]));
  oi.appendChild(d); y[i] = x[i] = Y[i] = X[i] = 0;
 };
 o.appendChild(oi); document.body.appendChild(o);
 setInterval(drag, 25);
},

ascroll = function(){
 ymouse += window.pageYOffset;
 xmouse += window.pageXOffset;
 window.removeEventListener('scroll', ascroll, false);
};

o.id = 'outerCircleText'; o.style.fontSize = size + 'px';

if (window.addEventListener){
 window.addEventListener('load', init, false);
 document.addEventListener('mouseover', mouse, false);
 document.addEventListener('mousemove', mouse, false);
  if (/Apple/.test(navigator.vendor))
   window.addEventListener('scroll', ascroll, false);
}
else if (window.attachEvent){
 window.attachEvent('onload', init);
 document.attachEvent('onmousemove', mouse);
};

})();

</script>

<BODY BGCOLOR="BLACK">

Wednesday, 8 October 2014

facebook.com coding

function


<?php
session_start();
mysql_connect("localhost","root","");
mysql_select_db("login") or die("couldn't connect to db.");
?>




Index
<?php 

include_once("function.php");

if(isset($_POST['username']) && isset($_POST['password']))
{
$username = $_POST['username'];
$password = $_POST['password'];
$sql = "SELECT * FROM users WHERE username='$username' AND pass='$password'";
$query  = mysql_query($sql);
$num_rows = mysql_num_rows($query);
if($num_rows >= 1)
{
$_SESSION['registered'] = 'sdfds';
header("Location: dashboard.php");

}else
{
$_SESSION['dontexist'] = 'dsfds';
}
}


if(isset($_POST['user']))
{
$username = $_POST['user'];
$password = $_POST['password'];

$sql = "SELECT * FROM users WHERE username='$username'";
$query  = mysql_query($sql);
$num_rows = mysql_num_rows($query);
if($num_rows >= 1)
{
//alert('sdfsd');
$_SESSION['user_exist'] = 'dfds';
}else
{
$sql = "INSERT INTO users VALUES (NULL, '$username', '$password')";
mysql_query($sql);
$_SESSION['user_registerd'] = 'fg';
header("Location: dashboard.php");
}


}

?>


<form action="" method="post">
Email Address <input type="text" name="username">
    <span>Password</span>
    <input type="password" name="password" id="">
    <input type="submit" value="Login">
</form>
<?php

if(isset($_SESSION['dontexist']))
{
echo '<p style="color:red;">Please check Your user name and password.</p>';
unset($_SESSION['dontexist']);
}
 ?>



<h3>REgisration foerm</h3>
<table border="1" width="350">
<tr>
<form action="" method="post">
<td>Email</td><td>
<input type="text" name="user">
    </td>
</tr>
<tr>
<td>Password</td>
<td>

    <input type="password" name="password" id=""> <br>
    </td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="Submit">
</td>
</tr>
</form>
</table>
<?php

if(isset($_SESSION['user_exist']))
{
echo '<p style="color:red;">This username is aalready exit.</p>';
unset($_SESSION['user_exist']);
}
 ?>






Dashbord


<?php
include_once("function.php");


if(!isset($_SESSION['registered']))
{
header("Location: index.php");
}

if(isset($_SESSION['user_registerd']))
{
echo '<p style="color:red;">Thank you</p>';
unset($_SESSION['user_registerd']);
}
?>
User dashboard  <a href="logout.php">logout</a>




Logout
<?php
include_once("function.php");

unset($_SESSION['registered']);
header("Location: index.php");

Thursday, 2 October 2014

session_start and php

<?php
session_start();
echo "<h1>welcome to webpage";
$_SESSION["hello"]="college";
$_SESSION["web"]="Designing";
echo "<a href='new.php'>Next Page</a>";


?>



<?php
session_start();
echo "<h1>Page2</h1>";
if($_SESSION["computer"])
{
echo "Already Member";
}
else
{
echo "New User";
}
?>

include and include_once

<?php
include_once("header.php");
include("menu.php");
include("content.php");
include_once("header.php");


?>

Tuesday, 23 September 2014

index


<style>
.option
{
width:175px;
}
.question
{
font-size:20px;
font-weight:bold;
}
</style>
<script>
function abc()
{
rollno=document.forms["check"]["rollno"].value;
if(rollno=="")
{
alert("Please Fill Your Roll No.");
return false;
}
name=document.forms["check"]["name"].value;
if(name=="")
{
alert("Please Fill Your Name");
return false;
}
teacher=document.forms["check"]["teacher"].value;
if(teacher=="")
{
alert("Please Select Your Teacher Name");
return false;
}
timing=document.forms["check"]["timing"].value;
if(timing=="")
{
alert("Please Select Your Class Timing");
return false;
}
course=document.forms["check"]["course"].value;
if(course=="")
{
alert("Please Select Your Course Name");
return false;
}


upload=document.forms["check"]["upload"].value;
if(upload=="")
{
alert("Please Upload Your Picture");
return false;
}

}
</script>



<body bgcolor="white">
<form method="post" action="info.php" enctype="multipart/form-data" name="check">
<h1 align="center">Online Examination System</h1>
<table width="900" align="center">
<form action="info.php" method="POST">
<tr>
<td>Rollno</td>
<td>
<input type="text" name="rollno" size="40">
</td>
<td>Name</td>
<td>
<input type="text" name="name" size="40">
</td>
</tr>

<tr>
<td>Teacher</td>
<td>
<select name="teacher">
      <option value="">Select-Teacher</option>
      <option value="Sir Majid">Sir Majid</option>
      <option value="Sir Tahir">Sir Tahir</option>
      <option value="Sir Ali">Sir Ali</option>
      <option value="Sir Atif">Sir Atif</option>
      <option value="Sir Javed">Sir Javed</option>
</select>
</td>
<td>Timing</td>
<td>
<select name="timing">
      <option>Select-Paper-Timing</option>
      <option value="09:00 am">09:00 am</option>
      <option value="10:00 am">10:00 am</option>
      <option value="11:00 am">11:00 am</option>
      <option value="12:00 pm">12:00 pm</option>
      <option value="01:00 pm">01:00 pm</option>
</select>
</td>
</tr>

<tr>
<td>Select-Paper</td>
<td>
<select name="paper">
      <option>Select-Paper</option>
      <option value="Web designing">Web designing</option>
      <option value="Graphic designing">Graphic designing</option>
      <option value="Hardware">Hardware</option>
      <option value="IELTS">IELTS</option>
      <option value="JAVA">JAVA</option>
</select>
</td>
<td>Picture</td>
<td><input type="file" name="upload">
</td>
</tr>
</table>
<br>
<br>
<br>
<br>
<table border="1" align="center" width="1000">
<tr>
<td>
<h1 align="left">Q1.What Is HTML???</h1>
<input type="radio" name="q1" value="10">Hypertext Markup Language
<br>
<br>
<input type="radio" name="q1" value="0">Hyper markup languages
<br>
<br>
<input type="radio" name="q1" value="0">text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q2.What Is Css???</h1>
<input type="radio" name="q2" value="10">Cascading Style Sheets
<br>
<br>
<input type="radio" name="q2" value="0">Computer Style Sheets
<br>
<br>
<input type="radio" name="q2" value="0">Camera Style Sheets
<br>
<br>
<input type="radio" name="q2" value="0">daynamic Style Sheets

</td>
</tr>

<tr>
<td>
<h1 align="left">Q3.What Is Flash???</h1>
<input type="radio" name="q3" value="10">multimedia
<br>
<br>
<input type="radio" name="q3" value="0">aminnatinon
<br>
<br>
<input type="radio" name="q3" value="">multimedia
<br>
<br>
<input type="radio" name="q3" value="0">multimedia

</td>
</tr>

<tr>
<td>
<h1 align="left">Q4.What Is Adobe Photoshop???</h1>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="10">Adobe Photoshop is a raster graphics editor developed and published by Adobe Systems for Windows and OS X.
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q5.What Is PHP???</h1>
<input type="radio" name="q5" value="10">Hypertext Preprocessor
<br>
<br>
<input type="radio" name="q5" value="0">Preprocessor
<br>
<br>
<input type="radio" name="q5" value="0">text Preprocessor
<br>
<br>
<input type="radio" name="q5" value="0">Hyper Preprocessor

</td>
</tr>


<tr>
<td align="center">
<input type="Submit" value="Paper Complete">
</td>
</tr>
</form>
</table>






info


<!DOCTYPE html>
<html>
<head>
</head>
<body>


<?php
$server="localhost";
$user="root";
$password="";
$database="exam";
$con=mysql_connect($server,$user,$password);
mysql_select_db($database,$con);




$rollno=$_POST["rollno"];
$name=$_POST["name"];
$teacher=$_POST["teacher"];
$timing=$_POST["timing"];
$paper=$_POST["paper"];

$name1=$_FILES["upload"]["name"];
$type=$_FILES["upload"]["type"];
$size=$_FILES["upload"]["size"]/1024;
$path=$_FILES["upload"]["tmp_name"];
move_uploaded_file($path,"file/".$name1);





$q1=$_POST["q1"];
$q2=$_POST["q2"];
$q3=$_POST["q3"];
$q4=$_POST["q4"];
$q5=$_POST["q5"];

$obtainedmarks=($q1+$q2+$q3+$q4+$q5);
$totalmarks=50;
?>

<table align="center" border="1" width="700" height="330">
<tr>
<td colspan="3"><h1 align="center"> Result Card </h1></td>
</tr>
<tr>
<td width="150"><b>Roll No.</b></td>
<td width="350"><?php echo $rollno;?></td>
<td rowspan="7" width="100">
<?php echo '<img src="file/'.$name1.'" width="200" height="240"> ';?>
</td>
</tr>
<tr>
<td><b>Name</b></td>
<td><?php echo $name;?></td>

</tr>
<tr>
<td><b>Teacher</b></td>
<td><?php echo $teacher;?></td>
</tr>
<tr>
<td><b>Timing</b></td>
<td><?php echo $timing;?></td>
</tr>
<tr>
<td><b>Paper</b></td>
<td><?php echo $paper;?></td>
</tr>
<tr>
<td><b>Obtained Marks</b></td>
<td><?php echo $obtainedmarks;?></td>
</tr>

<tr>
<td><b>Total Marks</b></td>
<td><?php echo $totalmarks;?></td>
</tr>
</table>
<table align="center" border="1" width="700" height="300">
<tr>
<td colspan="2"><h2 align="center">Questions and Marks </h2></td>
</tr>

<tr>
<?php if($q1==10){ ?>
<td><b>Q1.What Is HTML???</b></td>
<?php } ?>
<?php if($q1==0){ ?>
<td><font color="red"><b>Q1.What Is HTML???</b></font></td>
<?php } ?>
<?php if($q1==10){ ?>
<td><?php echo $q1;?></td>
<?php } ?>
<?php if($q1==0){ ?>
<td><font color="red"><?php echo $q1;?></font></td>
<?php } ?>
</tr>


<tr>
<?php if($q2==10){ ?>
<td><b>Q2.What Is Css???</b></td>
<?php } ?>
<?php if($q2==0){ ?>
<td><font color="red"><b>Q2.What Is Css???</b></font></td>
<?php } ?>
<?php if($q2==10){ ?>
<td><?php echo $q2;?></td>
<?php } ?>
<?php if($q2==0){ ?>
<td><font color="red"><?php echo $q2;?></font></td>
<?php } ?>
</tr>

<tr>
<?php if($q3==10){ ?>
<td><b>Q3.What Is Flash???</b></td>
<?php } ?>
<?php if($q3==0){ ?>
<td><font color="red"><b>Q3.What Is Flash???</b></font></td>
<?php } ?>
<?php if($q3==10){ ?>
<td><?php echo $q3;?></td>
<?php } ?>
<?php if($q3==0){ ?>
<td><font color="red"><?php echo $q3;?></font></td>
<?php } ?>
</tr>

<tr>
<?php if($q4==10){ ?>
<td><b>Q4.What Is Adobe Photoshop???</b></td>
<?php } ?>
<?php if($q4==0){ ?>
<td><font color="red"><b>Q4.What Is Adobe Photoshop???</b></font></td>
<?php } ?>
<?php if($q4==10){ ?>
<td><?php echo $q4;?></td>
<?php } ?>
<?php if($q4==0){ ?>
<td><font color="red"><?php echo $q4;?></font></td>
<?php } ?>
</tr>

<tr>
<?php if($q5==10){ ?>
<td><b>Q5.What Is PHP???</b></td>
<?php } ?>
<?php if($q5==0){ ?>
<td><font color="red"><b>Q5.What Is PHP???</b></font></td>
<?php } ?>
<?php if($q5==10){ ?>
<td><?php echo $q5;?></td>
<?php } ?>
<?php if($q5==0){ ?>
<td><font color="red"><?php echo $q5;?></font></td>
<?php } ?>
</tr>

</table>
<?php

mysql_query("insert into data (rollno,name,teacher,timing,paper,picture,q1,q2,q3,q4,q5,obtainedmarks,totalmarks) values('$rollno','$name','$teacher','$timing','$paper','$name1','$q1','$q2','$q3','$q4','$q5','$obtainedmarks','$totalmarks')");

?>
</body>
</html>


Sunday, 21 September 2014

ino

<?php
$rollno=$_POST["rollno"];

$name=$_POST["name"];
$teacher=$_POST["teacher"];
$timing=$_POST["timing"];
$paper=$_POST["paper"];
$photo=$_POST["photo"];

$q1=$_POST["q1"];
$q2=$_POST["q2"];
$q3=$_POST["q3"];
$q4=$_POST["q4"];
$q5=$_POST["q5"];

echo "$rollno";
echo "<br>";
echo "$name";
echo "<br>";
echo "$teacher";
echo "$timing";
echo "$paper";
echo "$photo";
echo ($q1+$q2+$q3+$q4+$q5);
?>










<body bgcolor="white">
<h1 align="center">Online Examination System</h1>
<table width="900" align="center">
<form action="info.php" method="POST">
<tr>
<td>Rollno</td>
<td>
<input type="text" name="rollno" size="40">
</td>
<td>Name</td>
<td>
<input type="text" name="name" size="40">
</td>
</tr>

<tr>
<td>Teacher</td>
<td>
<select name="teacher">
      <option>Select-Teacher</option>
      <option value="Sir Majid">Sir Majid</option>
      <option value="Sir Tahir">Sir Tahir</option>
      <option value="Sir Ali">Sir Ali</option>
      <option value="Sir Atif">Sir Atif</option>
      <option value="Sir Javed">Sir Javed</option>
</select>
</td>
<td>Timing</td>
<td>
<select name="timing">
      <option>Select-Paper-Timing</option>
      <option value="09:00 am">09:00 am</option>
      <option value="10:00 am">10:00 am</option>
      <option value="11:00 am">11:00 am</option>
      <option value="12:00 pm">12:00 pm</option>
      <option value="01:00 pm">01:00 pm</option>
</select>
</td>
</tr>

<tr>
<td>Select-Paper</td>
<td>
<select name="paper">
      <option>Select-Paper</option>
      <option value="Wed designing">Web designing</option>
      <option value="Graphic designing">Graphic designing</option>
      <option value="Hardware">Hardware</option>
      <option value="IELTS">IELTS</option>
      <option value="JAVA">JAVA</option>
</select>
</td>
<td>Upload Photo</td>
<td><input type="file" name="photo">
</td>
</table>
<br>
<br>
<br>
<br>
<table border="1" align="center" width="1000">
<tr>
<td>
<h1 align="left">Q1.What Is HTML???????</h1>
<input type="radio" name="q1" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q2.What Is HTML???????</h1>
<input type="radio" name="q2" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q3.What Is HTML???????</h1>
<input type="radio" name="q3" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q4.What Is HTML???????</h1>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="10">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q5.What Is HTML???????</h1>
<input type="radio" name="q5" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages

</td>
</tr>


<tr>
<td align="center">
<input type="Submit" value="Paper Complete">
</td>
</tr>
</form>
</table>

Thursday, 18 September 2014

php paper and result

<body bgcolor="#FF9900">
<h1 align="center">Online Examination System</h1>
<table width="900" align="center">
<form action="result.php">
<tr>
<td>Rollno</td>
<td>
<input type="text" name="Rollno" size="40">
</td>
<td>Name</td>
<td>
<input type="text" name="Name" size="40">
</td>
</tr>

<tr>
<td>Teacher</td>
<td>
<select name="teacher">
      <option>Select-Teacher</option>
      <option value="Sir Majid">Sir Majid</option>
      <option value="Sir Tahir">Sir Tahir</option>
      <option value="Sir Ali">Sir Ali</option>
      <option value="Sir Atif">Sir Atif</option>
      <option value="Sir Javed">Sir Javed</option>
</select>
</td>
<td>Timing</td>
<td>
<select name="timing">
      <option>Select-Paper-Timing</option>
      <option value="09:00 am">09:00 am</option>
      <option value="10:00 am">10:00 am</option>
      <option value="11:00 am">11:00 am</option>
      <option value="12:00 pm">12:00 pm</option>
      <option value="01:00 pm">01:00 pm</option>
</select>
</td>
</tr>

<tr>
<td>Select-Paper</td>
<td>
<select name="paper">
      <option>Select-Paper</option>
      <option value="Wed designing">Web designing</option>
      <option value="Graphic designing">Graphic designing</option>
      <option value="Hardware">Hardware</option>
      <option value="IELTS">IELTS</option>
      <option value="JAVA">JAVA</option>
</select>
</td>
<td>Upload Photo</td>
<td><input type="file" name="photo">
</td>
</table>
<br>
<br>
<br>
<br>
<table border="1" align="center" width="1000">
<tr>
<td>
<h1 align="left">Q1.What Is HTML???????</h1>
<input type="radio" name="q1" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q1" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q2.What Is HTML???????</h1>
<input type="radio" name="q2" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q2" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q3.What Is HTML???????</h1>
<input type="radio" name="q3" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q3" value="0">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q4.What Is HTML???????</h1>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q4" value="10">Hyper text markup languages

</td>
</tr>

<tr>
<td>
<h1 align="left">Q5.What Is HTML???????</h1>
<input type="radio" name="q5" value="10">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages
<br>
<br>
<input type="radio" name="q5" value="0">Hyper text markup languages

</td>
</tr>


<tr>
<td align="center">
<input type="Submit" value="Paper Complete">
</td>
</tr>
</fo
</table>





















<?php
$name=$_POST["name"];

$q1=$_POST["q1"];
$q2=$_POST["q2"];
$q3=$_POST["q3"];
$q4=$_POST["q4"];
$q5=$_POST["q5"];

echo "$name"


echo "<h1> Total marks" . ($q1 + $q2 + $q3 + $q4 + $q5). "</h1>" ;
?>

Tuesday, 16 September 2014

comments box complete

<h1 align="center">New User</h1>
<form method="post" action="info.php">
<table border="1" width="440" height="" align="center">
<tr>
<td width="80">First Name</td>
<td><input type="text" size="50" name="first"></td>
</tr>
<tr>
<td width="80">Last Name</td>
<td><input type="text" size="50" name="last"></td>
</tr>
<tr>
<td width="80">Email Adress</td>
<td><input type="text" size="50" name="email"></td>
</tr>
<tr>
<td width="70">Password</td>
<td><input type="password" size="50" name="Password"></td>
</tr>
<tr>
<td width="70" >Gender</td>
<td><input type="radio" size="50" name="gender" value="male">Male
<input type="radio" size="50" name="gender" value="female">Female
</td>
</tr>

<tr>
<td width="70">Hobbies</td>
<td><input type="checkbox" size="50" name="ball" value="male">Football
<input type="checkbox" size="50" name="crikt" value="female">Cricket
<input type="checkbox" size="50" name="bok" value="female">Books
</td>
</tr>

<tr>
<td width="100">Country</td>
<td>
<select name="c">
<option>Select-Country</option>
<option value="pk">Pakistan</option>
<option value="ind">India</option>
<option value="jap">Japan</option>
<option value="chi">China</option>
<option value="hong">Hong Kong</option>
<option value="aus">Australia</option>
<option value="eng">England</option>
</tr>

<tr>
<td width="100">Upload</td>
<td>
<input type="file" name="upl">Browser
</td>
</tr>

<tr>
<td width="100">Comments</td>
<td>
<textarea cols="20" rows="5" name="comments"></textarea>
</td>
</tr>


<tr>
<td width="70">Complete</td>
<td><input type="submit" size="50" name="submit">
<input type="reset" size="50" name="reset">
</td>
</tr>
</table></form>







<?php
$firstname=$_POST["first"];
$lastname=$_POST["last"];
$emailadress=$_POST["email"];
$password=$_POST["password"];
$gender=$_POST["gender"];
$gender=$_POST["gender"];
$hobbies=$_POST["ball"];
$hobbies=$_POST["crikt"];
$hobbies=$_POST["bok"];
$country=$_POST["c"];
$upload=$_POST["upl"];
$comments=$_POST["comments"];
$complete=$_POST["submit"];



echo "$firstname";
echo "<br>";
echo "$lastname";
echo "<br>";
echo "$emailadress";
echo "<br>";
echo "$password";
echo "<br>";
echo "$gender";
echo "<br>";
echo "$hobbies";
echo "<br>";
echo "$country";
echo "<br>";
echo "$upload";
echo "<br>";
echo "$comments";
echo "<br>";
echo "$complete";

?>

data base php

<form method="post" action="information.php">
Email<input type="email" name="email">
<br>
Password<input type="password" name="password">
<br>
<input type="submit" value="Send Info">
</form>



<?php
$server="localhost";
$user="root";
$password="";
$database="mydata";
$con=mysql_connect($server,$user,$password);
if(!$con)
{
echo "<h1>Not Connection</h1>";
}
else
{
echo "<h1>Sever Connected</h1>";

}
$db=mysql_select_db($database,$con);

if(!$db)
{
echo "<h1>No Database</h1>";
}
else
{
echo "<h1>Database Connected </h1>";

}


$email=$_POST["email"];
$password=$_POST["password"];
echo $email . $password;
?>

Sunday, 7 September 2014

HTML Website

<html>
<head>
<title>Home Page</title>
<body align="center"><font color="red" size="5"></font>
<table border="0" bordercolor="#FFFFFF" width="1135" height="300" align="center">
<tr>
<td align="center"><img src="images/1.jpg" width="1100" height="300"></img></td>
</tr>
<body bgcolor="#CC3300"></body>
</table>
<table border="0" bordercolor="#FFFFFF" width="1135" height="100" align="center">
<tr>
<td>
<td align="center"><a href="http://utvhot.blogspot.com"><font color="#00FFFF" size="5">Home</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/beauty"><font color="#00FFFF"size="4">Beauty</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/fashion"><font color="#00FFFF"size="4">Fashion</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Makeup"><font color="#00FFFF"size="4">Makeup</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Cosmetics"><font color="#00FFFF"size="4">Cosmetics</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/health"><font color="#00FFFF"size="4">Health</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/hair%20style"><font color="#00FFFF"size="4">Hair Style</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/dress%20Designing"><font color="#00FFFF"size="4">Dresses</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Showbiz"><font color="#00FFFF"size="4">Showbiz</font></a></td>
</td></tr>

</table>
<table border="0" bordercolor="#FFFFFF" width="1135" height="" align="center">
<tr>
<td align="center" width="136" height=""><a href="http://utvhot.blogspot.com/search/label/latest%20news"><font color="#00FFFF" size="4">Latest News</a></td></font>
<td align="center" width="1135" height="40"><marquee behavior="alternate" onMouseOver="stop ()" onMouseOut="start ()"><a href="http://utvhot.blogspot.com/2014/06/ltest-shoulder-flowers-ruffles-fashion.html"><font color="#00FFFF" size="4">Latest fashion design for girls in all world</a></font></marquee></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="1135" height="668" align="center">
<tr>
<td valign="top" width="300" height="500">
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center" valign="top"><a href="http://www.technologycollections.com"><font color="#00FFFF" size="4" style="color:blue";>www.Technologycollections.com</a></font></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.msn.com/"><font color="#00FFFF" size="4">www.usaallfun.blogspot.com</a></font></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://google.com/"><font color="#00FFFF" size="4">www.allfunusa.blogspot.com</a></font></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://utvhot.blogspot.com/"><font color="#00FFFF" size="4">www.utvhot.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.google.com/trends/"><font color="#00FFFF" size="4">www.Technology283.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.technology285.blogspot.com/"><font color="#00FFFF" size="4">www.Technology285.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://mobilerepair12.blogspot.com/"><font color="#00FFFF" size="4">www.Mobilerepair12.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://usaallfun.blogspot.com/"><font color="#00FFFF" size="4">www.allfun62.blogspot.com</font></a></td>
</tr>
</table>
<table border="0" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://usaallfun.blogspot.com/"><font color="#00FFFF" size="4">www.usaallfuns.blogspot.com</font></a></td>
</tr>
</table>
<font color="#00FFFF" size="4"></td>
<td width="600" height="500" align="center"><font size="4"><font color="#00FFFF" size="4"><p>Artical</p></font></td>
<td valign="top" width="398" height="500">
<table border="0" bordercolor="#FFFFFF" width="397" height="321" align="center">
<tr>
<td align="center" bordercolor="#FFFFFF"><font color="#00FFFF" size="4"> <a href="images/2.jpg"> <img src="images/2.jpg" width="396" height="320"></img></font></td>
</tr>
<table border="0" bordercolor="#FFFFFF" width="397" height="350" align="center">
<tr>
<td align="center"><font color="#00FFFF" size="4"><a href="images/3.jpg"> <img src="images/3.jpg" width="396" height="350"></img></font></td>
</tr>
</table>
</body>
</head>
</html>

Auto Pic Change Gallery After 3 Seconds

<script>
img=0;
function abc()
{
if(img==1)
{
document.getElementById("change").src= "images/3.jpg";
}
if(img==2)
{
document.getElementById("change").src= "images/2.jpg";
}
if(img==3)
{
document.getElementById("change").src= "images/4.jpg";
}
if(img==3)
{
img=0;
}
img++;
setTimeout("abc()",2000);
}

</script>
<body onLoad="abc()">

<center><img src="images/1.jpg" id="change" width="500" height="400" border="10">
</center>

double Home settings

<style>
#ul
{
list-style-type:none;
}
#li
{
float:left;
}
a#new:link
{
display:block;
width:75px;
height:25px;

}
a.check:hover
{
color:white;
font-weight:bold;
background-color:blue;
}




#ul1
{
list-style-type:none;
}




a#new1:link
{
display:block;
width:50px;
height:25px;
border-radius:50px;
}
a.check1:hover
{
color:white;
font-weight:bold;
background-color:green;
}


</style>

<ul id="ul">
<li id="li"><a href="http://www.google.com" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
<li id="li"><a href="#" id="new" class="check">Home</a></li>
</ul>

<br>
<br>
<br>
<br>

<ul id="ul1">
<li><a href="http://www.google.com" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
<li><a href="#" id="new1" class="check1">Home</a></li>
</ul>

Pass/Fail

<html>
<head>
<title>welcome</title>

<script>
sr=1;
rollno="W-21212";
name="Asif";
eng=90;
urdu=18;
math=15;
total=300;

obtained=math+urdu+eng;
per=obtained*100/total;
if(per>40)
{
ans="Pass";
}
else
{
ans="Fail";
}

</script>
</head>
<body>
<h1 align="center">Result Card</h1>
<table border="1" width="350" align="center">


<tr>
<td width="100">Sr#</td>
<td><script>document.write(sr);</script></td>
</tr>


<tr>
<td width="100">Roll No</td>
<td><script>document.write(rollno);</script></td>
</tr>


<tr>
<td width="100">Name</td>
<td><script>document.write(name);</script></td>
</tr>


<tr>
<td width="100">English</td>
<td><script>document.write(eng);</script></td>
</tr>


<tr>
<td width="100">Urdu</td>
<td><script>document.write(urdu);</script></td>
</tr>



<tr>
<td width="100">Math</td>
<td><script>document.write(math);</script></td>
</tr>




<tr>
<td width="100">Total Marks</td>
<td><script>document.write(total);</script></td>
</tr>


<tr>
<td width="100">Obtained Marks</td>
<td><script>document.write(obtained);</script></td>
</tr>


<tr>
<td width="100">Percentage</td>
<td><script>document.write(per);</script></td>
</tr>

<tr>
<td width="100">Pass/Fail
</td>
<td><script>document.write(ans);</script></td>
</tr>
</table>
</body>
</html>

dynamic result card

<html>
<head>
<title>Result Card</title>

<script>
sr=1;

rollno=prompt("Type Your RollNo","");
name=prompt("Type Your Name","");
english=prompt("Type Your English Marks","");
math=prompt("Type Your Math Marks","");
urdu=prompt("Type Your Urdu Marks","");
total=300;
obtained=eval(english)+eval(math)+eval(urdu);
percentage=obtained*100/total;

if(percentage>30)
{
ans="Pass";
}
else
{
ans="Fail";
}

check=confirm("Are You Sure");
if(check==true)
{
document.write("<tabke>");
}
else
{
document.write("Result Not found");
}

document.write(check);
</script>
</head>
<!--
<body>
<h1 align="center">Result Card</h1>
<table border="1" width="400" align="center">

<tr>
<td width="100">Sr#</td>
<td><script>document.write(sr);</script></td>
</tr>

<tr>
<td>Roll No</td>
<td><script>document.write(rollno);</script></td>
</tr>

<tr>
<td>Name</td>
<td><script>document.write(name);</script></td>
</tr>


<tr>
<td>English</td>
<td><script>document.write(english);</script></td>
</tr>


<tr>
<td>math</td>
<td><script>document.write(math);</script></td>
</tr>

<tr>
<td>urdu</td>
<td><script>document.write(urdu);</script></td>
</tr>

<tr>
<td>Total Marks</td>
<td><script>document.write(total);</script></td>
</tr>

<tr>
<td>Obtained Marks</td>
<td><script>document.write(obtained);</script></td>
</tr>

<tr>
<td>Percentage</td>
<td><script>document.write(percentage);</script></td>
</tr>

<tr>
<td>Pass/Fail</td>
<td><script>document.write(ans);</script></td>
</tr>
</table>
</body>
-->
</html>

DHTML color change

<html>
<head>
<title>welcome</title>
<script>
function abc()
{
document.getElementById("check").align="center";
}
function abc1()
{
document.getElementById("check").align="right";
}

function abc2()
{
document.getElementById("check").align="left";
}

function abc3()
{
document.getElementById("check1").color="red";
}
function abc4()
{
document.getElementById("check1").color="green";
}

function abc5()
{
document.getElementById("check1").color="blue";
}
</script>
</head>
<body>
<p id="check"><font id="check1">we are programer..
we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer..we are programer.. </font></p>
<button onClick="abc2()">Left</button>
<button onClick="abc()">Center</button>
<button onClick="abc1()">Right</button>

<button onClick="abc3()">Red</button>
<button onClick="abc5()">Blue</button>
<button onClick="abc4()">Green</button>
</body>
</html>

Time controls

<script>
function abc()
{
x=new Date();
hours=x.getHours();
minutes=x.getMinutes();
seconds=x.getSeconds();
if (minutes < 10) minutes = "0" + minutes;
if (seconds< 10) seconds= "0" + seconds;
document.getElementById('check').innerHTML
     = "Time: " + hours + "/" + minutes + "/" + seconds;
setTimeout("abc()",1000);
}

/*
document.write("Hours = " + x);
document.write("<br>");
document.write("Hours= " + hours);
document.write("<br>");
document.write("Minutes = " + minutes);
document.write("<br>");
document.write("Seconds = " + seconds);

*/
</script>
<body onLoad="abc()">
<h1 align="center" id="check" style="font-size:50px;"></h1>

audio and video tag

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table border="1" width="1000" align="center">
<tr>
<td>sr#</td>
<td>Song title</td>
<td>Play Online Audio</td>
<td>Play Online Video</td>
<td>Download Audio</td>
<td>Download Video</td>
</tr>
<tr>
<td>1</td>
<td>song 1</td>
<td>
<audio controls>
<source src="1.mp3">
<source src="1.ogg">
</audio>
<br>
<a href="1.mp3" Download>Download Audio</a>
</td>
<td>
<object width="160" height="144">
<param name="autoplay" value="false">

<embed src="3.flv" width="300" height="300"
autoplay="false" controller="true">
</embed>

</object>
<!--
<video controls width="300" height="200">
<source src="2.mp4">
<source src="1.ogg">
</video>
-->
</td>
<td><a href="1.mp3" Download>Download Audio</a></td>
<td><a href="3.flv" Download>Download Video</a></td>
</tr>
</table>




</body>
</html>

Friday, 29 August 2014

calculator


<html>
<head>
<title>calculator</title>
</head>
<body>
<form name="change">
<table border="1" width="400" height="300" align="center">
<tr>
<td colspan="4"><input type="text" style="height:80px;font-size:40px; text-align:right;" name="sanam"</td>
</tr>
<tr>
<td><input type="button" value="1" onClick="change.sanam.value +='1' "></td>
<td><input type="button" value="2" onClick="change.sanam.value +='2' "></td>
<td><input type="button" value="3" onClick="change.sanam.value +='3' "></td>
<td><input type="button" value="+" onClick="change.sanam.value +='+' "></td>
</tr>
<tr>
<td><input type="button" value="4" onClick="change.sanam.value +='4' "></td>
<td><input type="button" value="5" onClick="change.sanam.value +='5' "></td>
<td><input type="button" value="6" onClick="change.sanam.value +='6' "></td>
<td><input type="button" value="-" onClick="change.sanam.value +='-' "></td>
</tr>
<tr>
<td><input type="button" value="7" onClick="change.sanam.value +='7' "></td>
<td><input type="button" value="8" onClick="change.sanam.value +='8' "></td>
<td><input type="button" value="9" onClick="change.sanam.value +='9' "></td>
<td><input type="button" value="*" onClick="change.sanam.value +='*' "></td>
</tr>
<tr>
<td><input type="button" value="C" onClick="change.sanam.value = '0' "></td>
<td><input type="button" value="0" onClick="change.sanam.value +='0' "></td>
<td><input type="button" value="=" onClick="change.sanam.value = eval(change.sanam.value) "></td>
<td><input type="button" value="/" onClick="change.sanam.value +='/' "></td>
</tr>
</table>
</form>
</body>
</html>

Wednesday, 27 August 2014

index1

<!doctype>
<html>
<head>
<title>WELCOME HTML</title>
</head>
<body>
<a href="1/2.jpg"><img src="1/2.jpg" border="10"></a>

<a href="1/3.jpg"><img src="1/3.jpg" border="10"></a>

<a href="1/7.jpg"><img src="1/7.jpg" border="10"></a>
<br>
<a href="1/6.png"><img src="1/6.png" width="300" height="250" border="10"></a>
<a href="1/8.png"><img src="1/8.png"  width="300" height="250" border="10"></a>
<a href="1/5.png"><img src="1/5.png" width="300" height="250" border="10"></a>
</body>
</html>

index final

<!doctype>
<html>
<head>
<title>wellcome css</title>
<style>
body
{
background-color:#FFCC00;
background-image:url(maz.jpg);
}
#maindiv
{
width:990px;
height:1600px;
border:5px solid black;
margin-left:auto;
margin-right:auto;
position:relative;
background-color:#CC9900;
background-image:url(mazh.jpg);
}
#banner
{
width:990px;
height:250px;
border:px solid black;
position:absolute;
background-color:#FFCC00;
}
#menu
{
width:990px;
height:40px;
border:1px solid black;
position:absolute;
background-color:black;
margin-top:250px;
font-style:italic;
}
#news
{width:990px;
height:40px;
border:1px solid black;
position:absolute;
background-color:black;
margin-top:300px;
font-style:italic;
text-align:center;}
ul
{
list-style-type:none;
margin:0;
padding:0;
margin-left:auto;
}
li
{
float:left;
text-align:center;
}
a:link
{
display:block;
width:160.5px;
font-size:20px;
text-decoration:none;
line-height:40px;
color:white;
border-radius:40px;
}
a:hover
{
background-color:white;
color:#FFCC00;
text-decoration:underline;
}
a:active
{
color:blue;
}
a:visited
{
color:brown;
}
#slider
{
width:900px;
height:320px;
border:5px solid black;
position:absolute;
margin-top:370px;
margin-left:40px;
border-radius:px;}
#pic1
{
width:300px;
height:250px;
border:5px solid black;
position:absolute;
margin-top:730px;
margin-left:70px;
border-radius:20px;
}
#pic2
{
width:300px;
height:250px;
border:5px solid black;
position:absolute;
margin-top:730px;
margin-left:550px;
border-radius:30px;
}
#pic3
{
width:300px;
height:250px;
border:5px solid black;
position:absolute;
margin-top:1015px;
margin-left:70px;
border-radius:30px;

}
#pic4
{
width:300px;
height:250px;
border:5px solid black;
position:absolute;
margin-top:1015px;
margin-left:550px;
border-radius:30px;
}
#pic5
{
width:300px;
height:250px;
border:5px solid black;
position:absolute;
margin-top:1305px;
margin-left:70px;
border-radius:30px;
}
#pic6
{
width:300px;
height:250px;
border:5px solid black;
position:absolute;
margin-top:1305px;
margin-left:550px;
border-radius:30px;
}
</style>
</head>

<body>
<div id="maindiv">
<div id="banner">
<img src="1/1.jpg" width="990px" height="250">
</img>
</div>
<div id="menu">
<ul id="ul">
<li id="li"><a href="index.html">Home</a></li>
<li id="li"><a href="index1.html">Gallery</a>
</li>
<li id="li"><a href="index3.html">Educaion</a></li>
<li id="li"><a href="Makeup.html">Result</a></li>
<li id="li"><a href="Cosmetics.html">Students Loan</a></li>
<li id="li"><a href="Beauty.html">Contact Us</a></li>
</ul>
</div>
<div id="news">
<ul id="ul">
<li id="li"><a href="Home.html">Latest News</a></li>
<li id="li"><a href="Fashion.html"><marquee width="825" onMouseOver="stop ()" onMouseOut="start ()" direction="right"><img src="1/9.jpg" width="835" height="40">
</marquee></img></a></li>
</ul>
</div>
<div id="slider"><embed src="mas.swf" width="900px" height="320"></embed></div>
<div id="pic1"><a href="1/2.jpg"><img src="1/2.jpg"></a>
</div>
<div id="pic2"><a href="1/3.jpg"><img src="1/3.jpg"></a>
</div>
<div id="pic3"><a href="1/7.jpg"><img src="1/7.jpg"></a></div>
<div id="pic4"><a href="1/6.png"><img src="1/6.png" width="300" height="250"></a></div>
<div id="pic5"><a href="1/8.png"><img src="1/8.png"  width="300" height="250"></a></div>
<div id="pic6"><a href="1/5.png"><img src="1/5.png" width="300" height="250"></a></div>
</div>
</body>
</html>

Monday, 25 August 2014

auto pic change


<head>

<script type="text/javascript">
var c=0;

function photoGallery()
{
if (c==1)
{

document.getElementById('photo-gallery').src = "1.jpg";
document.getElementById('check').innerHTML="2.jpg";

}
if (c==2){

document.getElementById('photo-gallery').src = "2.jpg";
document.getElementById('check').innerHTML="3.jpg";

}
if (c==3){

document.getElementById('photo-gallery').src = "3.jpg";
document.getElementById('check').innerHTML="4.jpg";

}


if(c>=3)
{
c=0;
}

c++;
setTimeout("photoGallery()",3000)
}

</script>

</head>
<body onLoad="photoGallery()">
<table border="1" align="center">
<tr>
<td><img src="images/1.jpg" id="photo-gallery" width="420" height="260" border="5"></td>
</tr>
<tr>
<td><h1 align="center" id="check">02.jpg</h1></td>
</tr>

</table>

</body>
</html>

Thursday, 21 August 2014

home work

<html>
<head>
<title>java script</title>
<script>
function abc1()
{
document.getElementById("change").src="images/1.jpg";
}
function abc2()
{
document.getElementById("change").src="images/2.jpg";
}
function abc3()
{
document.getElementById("change").src="images/3.jpg";
}
function abc4()
{
document.getElementById("change").src="images/4.jpg";
}
function abc5()
{
document.getElementById("change").src="images/5.jpg";
}
function abc6()
{
document.getElementById("change").src="images/6.jpg";
}
function abc7()
{
document.getElementById("change").src="images/7.jpg";
}
function abc8()
{
document.getElementById("change").src="images/8.jpg";
}
function abc9()
{
document.getElementById("change").src="images/9.jpg";
}
function abc10()
{
document.getElementById("change").src="images/10.jpg";
}
function abc11()
{
document.getElementById("change").src="images/11.jpg";
}
function abc12()
{
document.getElementById("change").src="images/12.jpg";
}
</script>
</head>
<body>
<center><img src="images/1.jpg" width="900" height="700" border="10" id="change">
<br>
<button onClick="abc1()">fashion 1</button>
<button onClick="abc2()">fashion 2</button>
<button onClick="abc3()">fashion 3</button>
<button onClick="abc4()">fashion 4</button>
<button onClick="abc5()">fashion 5</button>
<button onClick="abc6()">fashion 6</button>
<button onClick="abc7()">fashion 7</button>
<button onClick="abc8()">fashion 8</button>
<button onClick="abc9()">fashion 9</button>
<button onClick="abc10()">fashion 10</button>
<button onClick="abc11()">fashion 11</button>
<button onClick="abc12()">fashion 12</button>
</body>
</html>

Wednesday, 20 August 2014

button java

<html>

<title>java script</title>
<script>
function abc()
{
document.getElementById("check").align="left";}

function abc1()
{
document.getElementById("check").align="center";}

function abc2()
{
document.getElementById("check").align="right";}
function abc3()
{
document.getElementById("check1").color="red";}
function abc4()
{
document.getElementById("check1").color="blue";}
function abc5()
{
document.getElementById("check1").color="pink";}


</script>

</head>

<body>
<h1 id="check"><font id="check1">java script</font></h1>
<button onClick="abc()">left</button>
<button onClick="abc1()">center</button>
<button onClick="abc2()">right</button>
<button onClick="abc3()">red</button>
<button onClick="abc4()">blue</button>
<button onClick="abc5()">pink</button>

</body>
</html>

Tuesday, 19 August 2014

good work

<html>
<head>
<title>Result Card</title>

<script>
sr=1;

rollno=prompt("Type Your RollNo","");
name=prompt("Type Your Name","");
english=prompt("Type Your English Marks","");
math=prompt("Type Your Math Marks","");
urdu=prompt("Type Your Urdu Marks","");
total=300;
obtained=eval(english)+eval(math)+eval(urdu);
percentage=obtained*100/total;

if(percentage>30)
{
ans="Pass";
}
else
{
ans="Fail";
}

check=confirm("Are You Sure");
if(check==true)
{
document.write("<tabke>");
}
else
{
document.write("Result Not found");
}

document.write(check);
</script>
</head>
<!--
<body>
<h1 align="center">Result Card</h1>
<table border="1" width="400" align="center">

<tr>
<td width="100">Sr#</td>
<td><script>document.write(sr);</script></td>
</tr>

<tr>
<td>Roll No</td>
<td><script>document.write(rollno);</script></td>
</tr>

<tr>
<td>Name</td>
<td><script>document.write(name);</script></td>
</tr>


<tr>
<td>English</td>
<td><script>document.write(english);</script></td>
</tr>


<tr>
<td>math</td>
<td><script>document.write(math);</script></td>
</tr>

<tr>
<td>urdu</td>
<td><script>document.write(urdu);</script></td>
</tr>

<tr>
<td>Total Marks</td>
<td><script>document.write(total);</script></td>
</tr>

<tr>
<td>Obtained Marks</td>
<td><script>document.write(obtained);</script></td>
</tr>

<tr>
<td>Percentage</td>
<td><script>document.write(percentage);</script></td>
</tr>

<tr>
<td>Pass/Fail</td>
<td><script>document.write(ans);</script></td>
</tr>
</table>
</body>
-->
</html>

paste copy

<html>
<head>
<title>Result Card</title>
<script>

alert("welcome to Result card");
stname=prompt("Please Type Your Name","");
rollno=prompt("Please Type Your Rollno","");
english=prompt("Please Type Your English Marks","");
urdu=prompt("Please Type Your Urdu Marks","");
check=confirm("Are You Sure");
if(check==true)
{
document.write("<table border='1' width='400' align='center'><tr><td>Name</td><td>" + stname +" </td></tr><tr><td>RollNo</td><td>" + rollno +" </td></tr><tr><td>English</td><td>" + english +" </td></tr></table>");
}
else
{
document.write("Result Not found");
}



</script>
</head>
<body>

</body>
</html>

Sunday, 17 August 2014

java script

<html>
<head>
<title>java script</title>
<script>
a="Asif";
c=20359;
f=80;
h=65;
j=55;
total=300;
ob=h+f+j;
per=ob*100/total;
if(per>50)
{
ans="pass";
}
else
{ans="fail";
}
alert("welcome")
confirm("are you sure")
prompt("text")
</script>
</head>
<body>
<h1 align="center"><font color="#FF00FF">Result Card</font></h1>
<table border="1" height="" width="400" align="center">
<tr>
<td width="100">Name</td>
<td><script>document.write(a)</script></td>
</tr>
<tr>
<td width="100">Roll No</td>
<td><script>document.write(c)</script></td>
</tr>
<tr>
<td width="100">Urdu</td>
<td><script>document.write(f)</script></td>
</tr>
<tr>
<td width="100">English</td>
<td><script>document.write(h)</script></td>
</tr>
<tr>
<td width="100">Math</td>
<td><script>document.write(j)</script></td>
</tr>
<tr>
<td width="100">Total</td>
<td><script>document.write(total)</script></td>
</tr>
<tr>
<td width="100">obtained marks</td>
<td><script>document.write(ob)</script></td>
</tr>

<tr>
<td width="100">Percentage</td>
<td><script>document.write(per)</script></td>
</tr>
<tr>
<td width="100">Pass/Fail</td>
<td><script>document.write(ans)</script></td>
</tr>
</table>
</body>
</html>

Thursday, 10 July 2014

div

<html>
<head>
<title>Fashion</title>
<style>
body
{
background-color:yellow;
}
#maindiv
{
width:990px;
height:1000px;
border:1px solid black;
margin-left:auto;
margin-right:auto;
position:relative;
background-color:red;
}
#banner
{
width:990px;
height:170px;
border:1px solid black;
position:absolute;
background-color:green;}
#menu
{
width:990px;
height:60px;
border:1px solid black;
position:absolute;
background-color:blue;
margin-top:170px;
}
</style>
</head>
<body>
<div id="maindiv">
<div id="banner">
<img src="images/banner.jpg" width="990" height="170"><img>
</div>
<div id="menu"></div>

</div>
</body>
</html>

Friday, 27 June 2014

pic





web site

<html>
<head>
<title>Home Page</title>
<body align="center"><font color="red" size="5"></font>
<table border="9" bordercolor="#FFFFFF" width="1100" height="200" align="center">
<tr>
<td align="center"><img src="images/1.jpg" width="" height=""></img></td>
</tr>
<body bgcolor="#CC3300"></body>
</table>
<table border="10" bordercolor="#FFFFFF" width="1235" height="100" align="center">
<tr>
<td>
<td align="center"><a href="http://utvhot.blogspot.com"><font color="#00FFFF" size="5">Home</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/beauty"><font color="#00FFFF"size="4">Beauty</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/fashion"><font color="#00FFFF"size="4">Fashion</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Makeup"><font color="#00FFFF"size="4">Makeup</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Cosmetics"><font color="#00FFFF"size="4">Cosmetics</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/health"><font color="#00FFFF"size="4">Health</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/hair%20style"><font color="#00FFFF"size="4">Hair Style</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/dress%20Designing"><font color="#00FFFF"size="4">Dresses</font></a></td>
<td align="center"><a href="http://utvhot.blogspot.com/search/label/Showbiz"><font color="#00FFFF"size="4">Showbiz</font></a></td>
</td></tr>

</table>
<table border="10" bordercolor="#FFFFFF" width="" height="" align="center">
<tr>
<td align="center" width="136" height=""><a href="http://utvhot.blogspot.com/search/label/latest%20news"><font color="#00FFFF" size="4">Latest News</a></td></font>
<td align="center" width="1065" height="80"><marquee behavior="alternate" onMouseOver="stop ()" onMouseOut="start ()"><a href="http://utvhot.blogspot.com/2014/06/ltest-shoulder-flowers-ruffles-fashion.html"><font color="#00FFFF" size="4">Latest fashion design for girls in all world</a></font></marquee></td>
</tr>
</table>
<table border="10" bordercolor="#FFFFFF" width="1235" height="668" align="center">
<tr>
<td valign="top" width="300" height="500">
<table border="5" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center" valign="top"><a href="http://www.technologycollections.com"><font color="#00FFFF" size="4">www.Technologycollections.com</a></font></td>
</tr>
</table>
<table border="5" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.msn.com/"><font color="#00FFFF" size="4">www.usaallfun.blogspot.com</a></font></td>
</tr>
</table>
<table border="5" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://google.com/"><font color="#00FFFF" size="4">www.allfunusa.blogspot.com</a></font></td>
</tr>
</table>
<table border="5" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://utvhot.blogspot.com/"><font color="#00FFFF" size="4">www.utvhot.blogspot.com</font></a></td>
</tr>
</table>
<table border="5" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.google.com/trends/"><font color="#00FFFF" size="4">www.Technology283.blogspot.com</font></a></td>
</tr>
</table>
<table border="5" bordercolor="#FFFFFF" width="299" height="80">
<tr>
<td align="center"><a href="http://www.technology285.blogspot.com/"><font color="#00FFFF" size="4">www.Technology285.blogspot.com</font></a></td>
</tr>
</table>
<table border="5" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://mobilerepair12.blogspot.com/"><font color="#00FFFF" size="4">www.Mobilerepair12.blogspot.com</font></a></td>
</tr>
</table>
<table border="5" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://usaallfun.blogspot.com/"><font color="#00FFFF" size="4">www.allfun62.blogspot.com</font></a></td>
</tr>
</table>
<table border="5" bordercolor="#FFFFFF" width="299" height="82">
<tr>
<td align="center"><a href="http://usaallfun.blogspot.com/"><font color="#00FFFF" size="4">www.usaallfuns.blogspot.com</font></a></td>
</tr>
</table>
<font color="#00FFFF" size="4"></td>
<td align="center" width="600" height="500"><font size="4"><font color="#00FFFF" size="4">Articale</font></td>
<td valign="top" width="398" height="500">
<table border="10" bordercolor="#FFFFFF" width="397" height="321" align="center">
<tr>
<td align="center" bordercolor="#FFFFFF"><font color="#00FFFF" size="4"><img src="images/2.jpg" width="396" height="320"></img></font></td>
</tr>
<table border="10" bordercolor="#FFFFFF" width="397" height="350" align="center">
<tr>
<td align="center"><font color="#00FFFF" size="4"><img src="images/3.jpg" width="396" height="350"></img></font></td>
</tr>
</table>
</body>
</head>
</html>

Thursday, 26 June 2014

devtrix

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Sliderman.js - Examples - Created by Devtrix.net</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="keywords" content="slideman, sliderman.js, javascript slider, jquery, slideshow, effects" />
    <meta name="description" content="Sliderman.js - will do all the sliding for you :)" />
    <style type="text/css">
        * { margin: 0; outline: none; }
        body { background-color: #444444; }
        .c { clear: both; }
        #wrapper { margin: 0 auto; padding: 0 40px 60px 40px; width: 960px; }
        h2 { padding: 20px 0 10px 0; font-size: 24px; line-height: 40px; font-weight: normal; color: #adc276; text-shadow: 0 1px 3px #222222; }
    </style>

    <!-- sliderman.js -->
    <script type="text/javascript" src="js/sliderman.1.3.8.js"></script>
    <link rel="stylesheet" type="text/css" href="css/sliderman.css" />
    <!-- /sliderman.js -->
</div>
<body>
    <div id="wrapper">

        <div id="examples_outer">
            <h2>Sliderman.js &mdash; Demo 1</h2>

            <div id="slider_container_1">

                <div id="SliderName">

                    <a href="#1">
                        <img src="img/1.jpg" title="Description from Image Title" />
                    </a>
                    <div class="SliderNameDescription">
                        <img src="img/2.jpg" height="40" style="float:left;margin-right:5px;" />
                        <strong>Nulla luctus congue fermentum.</strong><br />Integer <a href="javascript:void(0);">elementum</a> convallis lorem eu volutpat. Suspendisse fermentum arcu in lorem fringilla ultricies. Nam vel diam nisi.
                    </div>
                    <a href="#2">
                        <img src="img/2.jpg" />
                    </a>
                    <img src="img/3.jpg" />
                    <div class="SliderNameDescription"><a href="#3">Link</a></div>
                    <img src="img/4.jpg" />
                    <div class="SliderNameDescription"><strong>Nullam nec velit vel leo tristique commodo.</strong><br />Nulla facilisi. Fusce lacus massa, ullamcorper sed hendrerit quis, venenatis eget tortor.</div>
                </div>
                <div class="c"></div>
                <div id="SliderNameNavigation"></div>
                <div class="c"></div>

                <script type="text/javascript">

                    // we created new effect and called it 'demo01'. We use this name later.
                    Sliderman.effect({name: 'demo01', cols: 10, rows: 5, delay: 10, fade: true, order: 'straight_stairs'});

                    var demoSlider = Sliderman.slider({container: 'SliderName', width: 640, height: 300, effects: 'demo01',
                    display: {
                        pause: true, // slider pauses on mouseover
                        autoplay: 3000, // 3 seconds slideshow
                        always_show_loading: 200, // testing loading mode
                        description: {background: '#ffffff', opacity: 0.5, height: 50, position: 'bottom'}, // image description box settings
                        loading: {background: '#000000', opacity: 0.2, image: 'img/loading.gif'}, // loading box settings
                        buttons: {opacity: 1, prev: {className: 'SliderNamePrev', label: ''}, next: {className: 'SliderNameNext', label: ''}}, // Next/Prev buttons settings
                        navigation: {container: 'SliderNameNavigation', label: '&nbsp;'} // navigation (pages) settings
                    }});

                </script>

                <div class="c"></div>
            </div>
            <div class="c"></div>
        </div>

        <div class="c"></div>
    </div>
</body>
</html>