Gadgets

Hello friends..
      At this time you finds that every website includes some gadgets.Gadgets are used to interact with users.
Like..gadget for facebook like ,share this page etc. So, every designer should know the basic domain of the gadgets and should know that how to create them??..
     Here , I will explain you that how to create the gadgets for your site.To write the code for a gadget you may need the all basic concept  of -
  • xml
  • html
  • javascript
So, every gadget starts with xml code , and inside that you can define html or javascript code for the working of desired output..
1.   In xml code start with module tag . As, name clarifies, module tag is used for creating modules within the code. Inside module tag use moduleprefs tag in which you  have to define title and scrolling type, etc.
2.  After that choose content type using content tag.You may choose any one of the type given -
                - html,
                - url,
                - list, etc. 
3.  A widely chosen type is html.I will explain you using html.If you are using html type than you have to use CDATA section in that code.
4.  Now inside that section you may put your javascript code using script tag in html. Inside the javascript code        
   put your logic of content.
5.  close all tags serially which are open.
Finally ,  your gadget is ready.
For further inquiry mail us by clicking here :   mail us

No comments:

Post a Comment