Add new record into global resource with the name Language, and asign the value 1033 to english variable, and another value for another variable. After that, add the follwoing code to html tag, such us, TD:
27/01/2011
Modify the direction of basic HTML tag using global resource
Read more...
26/01/2011
Set default value into text box, such us search text box
<head>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
</head>
<body>
<script>
$(document).ready(function() {
$("#search")
.val("Search...")
.css("color", "#ccc")
.focus(function(){
$(this).css("color", "black");
if ($(this).val() == "Search...")
{
$(this).val("");
}
})
.blur(function(){
$(this).css("color", "#ccc");
if ($(this).val() == "")
{
$(this).val("Search...");
}
});
});
</script>
<input type="text" id="search">
</body>
Read more...
10/01/2011
Div with scroll, Like multi line text box
To create div with scroll like multi line text box, only using CSS to apply this idea.
Into HEAD tag, Add the following code
<style>
div.Terms {
background:#ffffff none repeat scroll 0 0;
border:1px solid #a0a0a0;
margin:5px;
padding:5px;
position:relative;
width:1000px;
height:300px;
overflow:auto;
}
div.Content {
margin:10px;
padding:5px;
border:0px solid #666;
width:950px;
zheight:500px;
}
</style>
Into BODY tag, add the following code
<table> <tr> <td> The Terms: <br /> </td> </tr> <tr> <td> <div class="Terms" id="Terms"> <div class="Content"> The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content The Content </div> </div> </td> </tr> </table>
Read more...
14/12/2010
MultiLine TextBox Issue With Chrom Browser
To prevent users from enlargement the multi line text box control,add the following CSS property:
resize: none
Only!!!
resize: none
Only!!!
Read more...
11/12/2010
Riyadh Community Summit - 23 December 2010
You are invited to the following event:
Riyadh Community Summit (December2010)
Date:
Thursday, December 23, 2010 from 12:30 PM - 5:30 PM (GMT+0300)
Location:
King Fahad - North Between Exit 4 and 5 Going to Al Qassim
Riyadh 11512
Saudi Arabia
For more information click here
Read more...
Subscribe to:
Posts (Atom)