Find the right widget for your site on the Internet, or download it on the resource, which is dedicated to the creation of such elements for webmasters.You can use either an external program, the code for which it will be enough to insert a page, and a separate file with the extension .js, which can be downloaded from the Internet.JS file must be saved on your computer in the same directory or in a separate folder with respect to a HTML-file of your page.
Open the page of your site on which you want to add a widget, using a text editor used.You can also use a standard notepad utility that is available in Windows by default.To access it, right-click on your page, and
select "Open with" and in the list that appears, select "Notepad."
Navigate to the desired area code where you want the widget.Then enter the following code:

& lt; script type = "text / javascript" src = "http: // adres_sayta / path to vidzheta.js" & gt; & lt; / script & gt;
The type parameter specifies the type of plug-in widget (Java Script), and Section src specifies the address of the expansion of the Internet.If you are using a downloaded file or your own JS, src parameter, you can specify an absolute or relative path to the file with the extension .js.For example, if a document is located in the folder widget.js widget, which is located in the same directory as the file being edited HTML, enter:

& lt; script type = "text / javascript" src = "widget / widget.js" & gt; & lt; /script & gt;
Save the edited file using the option "File" - "Save" and test the widget on your page.Installing extensions for your site is complete.