Tuesday, June 5, 2012

Square Root of a Number

Square Root of a Number. Before understanding what the square root of a number is, it is important to understand the meaning of root of a number. The root of a number is an equal factor of the number. For example, find the root of 25

First, we need to factor 25 :
25 = 1 × 25
25 = 5 × 5
The root of 25 is 5 because 5 is the equal factor for 25
We call 5 the square root of 25
The symbol : 


How to find the square root :
1. Trial and error. 
This is the most common way to resolve the matter of the square root and is suitable for children who have been smoothly calculate the square or multiplication. For example we will calculate the square  roots 64.
a.  So we try 5 × 5 = 25 (too small).
b.  Try the 9 × 9 = 81 (too big).
c.  Try the 7 × 7 = 49 (too small).
d.  Try the 8 × 8 = 64 (right).    
     So we get the square root of 64 is 8.

2.  Factorization. 
This method is quite attractive and practical.  For example, what is the root of 64    
64 => 2 × 32
     => 2 x 2 x 16
     = 4 × 16
Then the root of 64 => root 4 x root 16                            
    => 2 x 4 => 8
3. Approaching
This method is a variation and the continuation of trial and error. After practicing a few times, we will be very proficient in this way.For example, what is the root of 1681?    
The most sensible approach is 40 × 40 = 1600.     
Because the unit value of 1681 is 1 so the roots of the unit 1 or 9.     
In this case we choose 1.  So we get the answer 40 +1 = 41  ( 41 x 41 = 1681)

Posted by: Denmas Tugino
Godheg Updated at: Tuesday, June 05, 2012

CSS List Style with Image

With CSS you can set the list of different markers in both the ordered list (indicated using numbers or letters) or an unordered list (marked using a bullet) and set the image as a marker list. We know it in the HTML tag to set the display <ol> "ordered list", and to set the display <ul> "unordered list". CSS List Style with Image, to arrange for an image used as a list. The value used is the location URL of the image .

CSS code :


<style type="text/css">
ul  {
list-style-image:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiv75vMAOtkaNpzkL97Z9bFs47feE2e7Y9lM7LvAZgRLxZka-m4H24NnAiKrl3hToG33o5BQyF865C0EYBF_aoWdTaKsFIo5mKyGb9PTsIcjzd50I1cdmULJy5wPKjPypwSBEbdG7ggRhy/s1600/bunga.jpg');}
</style>
<ul>
<li><a href="http://godheg.blogspot.com/search/label/Tips%20and%20Trick">Tips and Trick</a></li>
<li><a href="http://godheg.blogspot.com/search/label/Blogger">Blogger</a></li>
<a href="http://godheg.blogspot.com/search/label/Blogger"> </a>
<li> <a href="http://godheg.blogspot.com/search/label/Wordpress">Wordpress</a></li>
<a href="http://godheg.blogspot.com/search/label/Wordpress"></a></li>
</ul>
Result :
Note : The red code is the image url

Posted by: Denmas Tugino
Godheg Updated at: Tuesday, June 05, 2012

Monday, June 4, 2012

How to Upload Javascript File

Uploading .js files to other hosting sites may take much time to load the blogger page. Google code allows you to upload .js files and many other files such as .xml,zip to the google server which is very fast so that your script files will load quickly. Its all free. How to Upload Javascript File ?

Go to http://code.google.com, login with your gmail. Find and click Project Hosting on Google Code section was then locate. Create a new project for a while and then will appear a pop-up like this:

1. Project name = name of your project (it will appear in the url address of Javascript) 
    The project name must be all lowercase
2. Project summary = Summary of Your projeck
3. Project Description = Enter the description of your project 
4. Version control system= Select the Mozilla Public License 1.1 
5. Source code license = Select a version control system (Mercurial)
6. Project label (s) = input label your project 
7. Click the Create Project


After your project have been made :
Click download>>new download, fill the form with :
  • Summary  : enter one line summary
  • Description : Description of your file
Select your javascript file from your computer
Cilick : "Submit File", wait until your javascript uploaded :
If you want to coppy your javascript link, just right click your mouse (copy link address) 

Posted by: Denmas Tugino
Godheg Updated at: Monday, June 04, 2012

Friday, June 1, 2012

How to Create Auto Install Widget

As we know in general is usually the bloggers who often provide tips and tricks how to create a blog widget code just to give it. For the bloggers who have advanced skill will not have problems with HTML code. Auto Install button aims to simplify installation Widget widget code (add widget) on blogger template, so we do not need to bother to copy and paste the code into our template. Auto Install this widget button does not necessarily have to be put in your sidebar, we can put this button anywhere we want, including into the post.
If you want to create a blog tutorial article I suggest to add this button in order to facilitate installing the widget in Blogger.
<form action="http://beta.blogger.com/add-widget" method="post" target="_blank">
<input name="widget.title" value="
Widget Title" type="hidden"><textarea cols="5" name="widget.content" rows="3" style="display: none;">Script/Widget Code</textarea><input class="button" name="go" value="Install widget" type="submit">
</form>
Please change the colored text :
1.  Red colored text widget is the title that will appear in the sidebar of the blog. 
2.  Blue colored text is the script / widget code. 
3.  Green  colored tet is the words that will appear on the button that will be 
     ready for the click.


Posted by: Denmas Tugino
Godheg Updated at: Friday, June 01, 2012