Download many free icons.
1039 Free icon.
Download by clicking on the following links.
Download many free icons.
1039 Free icon.
Download by clicking on the following links.
Posted by Amr at 11:32 PM 0 comments
Javascript simple code to add the current url to bookmarks (FireFox), or Favorites (IE).
function addToBookMarks()
{
if(document.all) //IE
window.external.AddFavorite(location.href,document.title);
else if(window.sidebar)window.sidebar.addPanel //FireFox
(document.title,location.href,'');
}
Posted by Amr at 10:56 PM 3 comments
Labels: JavaScript
Download many free icons.
1039 Free icon.
Download by clicking on the following links.
Posted by Amr at 12:23 AM 1 comments
Labels: Icons
I wrote a simple vb.net code to convert from Fraction to decimal easily:
Private Function FractionToDecimal(ByVal frac As String) As String
Dim decimalVal As String = "0"
Dim upper As Decimal = 0
Dim lower As Decimal = 0
Dim remain As Decimal = 0
If frac.IndexOf("/") <> -1 Then
If frac.IndexOf(" ") <> -1 Then
remain = CType(frac.Substring(0, frac.IndexOf(" ")), Decimal)
frac = frac.Substring(frac.IndexOf(" "))
End If
upper = CType(frac.Substring(0, frac.IndexOf("/")), Decimal)
lower = CType(frac.Substring(frac.IndexOf("/") + 1), Decimal)
decimalVal = (remain + (upper / lower)).ToString
End If
Return decimalVal
End Function
Posted by Amr at 2:51 AM 3 comments
Change from decimal to fraction using javascript:
I got a sample after searching on google and found a good sample, i can't remember the website link, but i tried it in a website and it worked fine with me.
Number.prototype.fraction=fraction;
function fraction(item){
if(item.value != "" && item.value.indexOf(".")!=-1 && item.value.indexOf("/")==-1)
{
decimal=item.value
if(!decimal){
decimal=this;
}
whole = String(decimal).split('.')[0];
decimal = parseFloat("."+String(decimal).split('.')[1]);
num = "1";
for(z=0; z<String(decimal).length-2; z++){
num += "0";
}
decimal = parseInt(decimal*num);
num = parseInt(num);
for(z=2; z<decimal+1; z++){
if(decimal%z==0 && num%z==0){
decimal = decimal/z;
num = num/z;
z=2;
}
}
item.value= ((whole==0)?"" : whole+" ")+decimal+"/"+num;
}
}
Posted by Amr at 12:41 AM 0 comments
Labels: JavaScript
Download many free icons.
1039 Free icon.
Download by clicking on the following links.
Posted by Amr at 7:39 PM 1 comments
Labels: Icons
Download ICDL books for free.
communication
Database
Excel
IT
P. Point
Using the Computer
Word
Posted by Amr at 10:36 PM 3 comments
Labels: Books
Build your own custom igoogle theme:
You can build it yourself easily:
http://code.google.com/apis/themes/docs/dev_guide.html
And you can use a small tool creating it fast
http://hawidu.com/themes/
Enjoy...
Posted by Amr at 9:23 PM 0 comments
Labels: Google