Thursday, March 27, 2014

Beutifull Contact Us Form for Website with code



Source Code For this contact Form
  
<style>

body{
background:url(images/body_bg.png);
}
#contact_form{
width:310px;

}
.close{
background:url('images/cross.png') NO-REPEAT;
position:relative;
z-index:100;
top:7px;
left:95%;

width:310px;
height:20PX;
}
.table{
width:300px;                                                                              /*cross.png */
background:orange;
padding:10px;                                                                          /*tick.gif*/
border-radius:3px;
}                                                                                                 /*button_cancel.png   download this images places in                                                                                                                               images folder*/ 
.table td {
padding:3px;
font-family:geneva;
}
.table td input{
height:28px;
margin:3px;
width:200px;
border-radius:3px;
border:none;
box-shadow:4px 1x 2px 14x #000 inset;
background:#fff;
}
.table td textarea{
height:80px;
margin:3px;
width:200px;
border-radius:3px;
border:none;
box-shadow:4px 1x 2px 14x #000 inset;
}
.table td input:valid{
background:url('tick.gif')#fff no-repeat;
background-position:right center; 
}
.table td input:focus{
background:url('button_cancel.png')#fff no-repeat;
background-position:right center; 
}
</style>
<body>
<div id="contact_form">
<div class="close"></div>
<div style="clear:both">
</div>
<table class="table">
<form>
<tr><td></td><td valign=top></td></tr>
<tr><td valign=top><label for="name">Name </label></td><td valign=top><input type="text" id="name"name="name" required></td></tr>
<tr><td valign=top><label for="name">Mobile</label></td> <td valign=top><input type="text" id="name"name="name" required></td></tr>
<tr><td valign=top><label for="name">Email </label></td><td valign=top><input type="email" id="name"name="name" required></td></tr>
<tr><td valign=top><label for="name">Address </label></td><td valign=top><input type="text" id="name"name="name" required></td></tr>
<tr><td valign=top><label for="name">Message </label></td><td valign=top><textarea></textarea></td></tr>
<tr><td valign=top></td><td valign=top><input type="submit" name="submit" value="Submit" style="width:120px; height:40px;background:rgb(245, 219, 170)"></td></tr>
</form>
</table>
</div>

Friday, March 21, 2014

Small Shopping Cart Example With session Using php

<?php
session_start();
$cart="";
if (isset($_POST['domainadd']))
{
    $domain = $_POST['domainadd'];
    $cart = $_SESSION['cart'];
    $cart[] = $domain;
    $_SESSION['cart'] = $cart;
}
if ($cart)
{
print("<table border=2 width=200>");
for($j=0;$j<count($cart);$j++){
print "<tr><td>". $cart[$j] ."<a><span class=style7>[remove]</span></a></td></tr>";
}
print("</table>");
}
?>
<form method="post">
<input name='domainadd' type="text">
<input type="submit" name="submit">

Thursday, March 6, 2014

Cheapest Web Designing Services In INDIA





  • Type Of Website
  • Domain Name
  • Server
  • Space
  • Database
  • Email Ids
  • Slider/Banner
  • Pages
  • Blog
  • No of Forms
  • SMI
  • Bronze




  • Template
  • .in/.com
  • Linux/Window
  • 500 MB
  • NO
  • 2
  • 1
  • 10
  • NO
  • 1
  • NO
  • 5000
  • Silver




  • Creating
  • .in/.com/.net
  • Linux/Window
  • 750 MB
  • 1
  • 5
  • 2
  • 15
  • NO
  • 2
  • No
  • 10000
  • Gold




  • Creating
  • .in./.com/.net
  • Linux/Window
  • 1 GB
  • 2
  • 10
  • 5
  • 20
  • YES
  • 5
  • YES
  • 15000
  • Diamond




  • Creating
  • .in./.com/.net
  • Linux/Window
  • 1.5 GB
  • 3
  • 15
  • 5
  • 25
  • YES
  • 5
  • YES
  • 20000
  • Platinum




  • Creating
  • .in/.com/.net
  • Linux/Window
  • 2 GB
  • 5
  • 20
  • 5
  • 25+
  • YES
  • 5+
  • YES
  • 25000

  • Saturday, March 1, 2014

    How TO display Student Result Using Javascript


    Source Code Of The Program
    <html>
    <head>
    <script>
    function mks()

    {

    var name1=document.form.name.value;
    var roll1=document.form.roll.value;
    var sc1=document.form.sc.value;
    var math1=document.form.math.value;
    var eng1=document.form.eng.value;

    var marks=eval(parseInt(sc1)+parseInt(math1)+parseInt(eng1));
    var per=eval((marks*100)/300);


    /*document.getElementById('result').innerHTML="Name"+name1+"<br>Roll"+roll1+"<br>Science"+sc1+"<br>Math"+math1+"<br>English"+eng1+'<br>Marks Obtain'+marks+'<br>Percentage'+per;*/


    //location.href='http://google.com';
    document.getElementById('result').innerHTML='name:'+name1+"<br> Roll"+roll1+"<br>marks: "+marks+"<br>Percentage"+per;
    }
    </script>
    </head>
    <body>
    <form name='form'>
    name: <input type='text' name='name'><br>
    Roll: <input type='text' name='roll'><br>
    Science: <input type='text' name='sc'><br>
    Math: <input type='text'name='math'><br>
    English: <input type='text' name='eng'><br>

    </form>
    <div style="background:red; height:30px; width:80px;" onclick='javascript:mks()'>submit</div>
    <div id='result'></div>
    </body>
    </html>





    name:
    Roll:
    Science:
    Math:
    English:
    submit