Top Posts:


Make Money By Upload With MissUpload
5 Tips To Maximum Your Earning From HotFile + Tool
Leech Files From Rapidshare, MegaUpload, HotFile
Hostgator Winter Special 20% OFF
Showing newest posts with label Script. Show older posts
Showing newest posts with label Script. Show older posts

  • Install Facebook XFBML For Your Blog       XFBML is more flexible than iframes, but requires you use the JavaScript SDK. When use XFBML, you can add any Facebook Social Plugin without any iframe code.

    Install Facebook XFBML For Your Blog

         Example, when install Like button for your blog, you must use this iframe code:

    <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2Fpage%2Fto%2Flike&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>

         And if you want install it for all page of Blogspot, you must use <b:if> code and more! But with XFBML, you just paste this code:
    <fb:like></fb:like>

         Simple, isn't it?

         And when use XFBML, you can edit code options with ease and can use more function as thumbnail (which iframe do not support).

         Now, install XFBML with this easy step:

         1/ Open your template, search:

    <body>
         2/ Paste this code after it: NOTE: you should paste right after body tag, if not the code may not run properly.

    <div id='fb-root'/>
    <script>
        window.fbAsyncInit = function() {
        FB.init({
          appId  : &#39;130803183627286&#39;,
          status : true, // check login status
            cookie : true, // enable cookies to allow the server to access the   session
          xfbml  : true  // parse XFBML
        });
      };

        (function() {
        var e = document.createElement(&#39;script&#39;);
          e.src = document.location.protocol +   &#39;//connect.facebook.net/en_US/all.js&#39;;
        e.async = true;
          document.getElementById(&#39;fb-root&#39;).appendChild(e);
        }());
    </script>
    DONE!

         More Options:
         At red number in this code, you can change this number to your own, it's define which name of application will be displayed in facebook. Example:
    Install Facebook XFBML For Your Blog
         At this picture, the application is Full Software, you can create a application with name of your website by go to http://developers.facebook.com/setup/, fill your site name, url (must end with slash - "/", ex: http://www.vtechtip.com/) and locate. Then you will receive your app id at

    Create Facebook Application
         Copy this App ID and replace red number at above code.

        Now you can use Facebook Social Plugin with simple code as <fb:login-button> <fb:like> <fb:like-box>. View more about Facebook Social Plugin at: http://developers.facebook.com/plugins.

    more
  • 0 comments

  • Recent Posts Widget With Thumbnail, Summary for BlogSpot This is the best Recent Posts Widget ever, with all info about post and fully customize for you. All errors are fixed, add more features and fast loading.
    Features:
    - Show/Hide Thumbnail.
    - Show/Hide summaries.
    - Show/Hide date posted.
    - Show/Hide comment quantity.
    - Fully customize color border, image size, and text color, size, font.
    - Display random thumbnail for post that not contain image.
    - And much more! You can understand that when you actually install it.

    Recent Posts Widget With Thumbnail, Summary for BlogSpot

    Now, Let do it!
    SETUP - INSTALL:
    1/ Activate Full Feed in Blogger. Go to Settings > Site Feed > Allow Blog Feeds > choose Full in dropdown menu. Select Full will syndicate the full content of your post. Reader can read all your post in feed without visit your site. If you don't do this step, Recent Post can not display right thumbnail of your post, and display random thumbnail.

    2/ Go to Layout > Page Elements and Add a widget, then paste this code:


    <script type="text/javascript">

    imgr = new Array();

    imgr[0] = "http://lh4.ggpht.com/_t2Z6nkGKLVc/SuHdAIyGJFI/AAAAAAAAAlw/ZddbcX27rVY/s128/windows_7_32bit_4gb_ram_2.png";

    imgr[1] = "http://lh4.ggpht.com/_t2Z6nkGKLVc/SugcQki56yI/AAAAAAAAAn4/7VvpxuJwSJM/s128/firefox_addons_compatibility_check.png";

    imgr[2] = "http://lh6.ggpht.com/_t2Z6nkGKLVc/Suuy2rgY22I/AAAAAAAAAoc/HoCgkM79ZPY/s128/TuneUp_Utilities_2010_main.png";

    imgr[3] = "http://lh6.ggpht.com/_t2Z6nkGKLVc/SugB5dMgEZI/AAAAAAAAAnQ/Dp-0D8NwvrE/s128/vtechtip_b2.png";

    imgr[4] = "http://lh6.ggpht.com/_t2Z6nkGKLVc/SwFhLrXGA0I/AAAAAAAAAvk/69EKKkaI738/s128/Windows%207.png";

    showRandomImg = true;

    tablewidth = 248;

    cellspacing = 1;

    borderColor = "#30a1db";

    bgTD = "#fff";

    imgwidth = 70;

    imgheight = 70;

    fntsize = 12;

    acolor = "#000";

    aBold = true;

    icon = " • ";

    text = "cm";

    showPostDate = false;

    summaryPost = 50;

    summaryFontsize = 12;

    summaryColor = "#000";

    icon2 = " → ";

    numposts = 10;

    rc_feedLink = "http://www.vtechtip.com/feeds/posts/default";

    </script>

    <script type="text/javascript" src="http://sites.google.com/site/vtechtipcom/home/vtechtip_recentpost_thumb.js"></script>
    Explain:



    imgr[0] = random images url.


    showRandomImg = true if you want use random images, false if no.

    tablewidth = width of the widget.

    cellspacing = Space between cells (default one is good)

    borderColor = order color (add the background color of your template to perfectly blend it in the template)

    bgTD = background color of widget.

    imgwidth and imgheight = width and height of thumbnail.

    fntsize = font size.

    acolor = color of the title.

    aBold = do you want to bold title? (true or false)

    icon = change icon before title. Can leave blank.

    text = text stand for comment (may be cm, comments, comment(s) etc.)

    showPostDate = do you want to show post date (true of false).

    summaryPost = amount of characters of summary.

    summaryFontsize = font size

    summaryColor = font color.

    icon2 = icon before summary, can leave blank

    numposts = amount of post display in widget.

    rc_feedLink = Your blog feed url. Default is http://www.yourblogurl.com/feeds/posts/default. If you want only show recent post from specific label, you need change url to: http://www.yourblogurl.com/feeds/posts/default/-/LabelName. Ex: Use http://www.vtechtip.com/feeds/posts/default/-/Video to show recent posts from label Video.

    <script type="text/javascript" src="http://sites.google.com/site/vtechtipcom/home/vtechtip_recentpost_thumb.js"></script>: this javascript is stored in my site. it is STRONGLY Recommended to download the script and upload to your own hosting (google for free javascripts hosts) and replace that url with yours.






    DONE! You can see demo here: http://test.vtechtip.com/2009/11/recent-post-with-thumbnail-for-every.html.
    If you need support, feel free to comment, thanks!

    more
  • 3 comments

  • Prevent Visitor Right Click and Select at Your Blog                         
         Sometimes you don't want people who visit your blog can not right click or select any thing. Follow the step you can do this. Just copy and paste these code below. Where you can paste these code?
    - On a new Widget (with Blogspot, Wordpress,...)
    - On a new post that support javascript (Blogspot) - With this, code only work with single post.

    - On a template (between <body></body> tag)




    Prevent Visitor Right Click and Select at Your Blog

                                                                                                                                                                                 
        1/ Prevent Right Click And Select: Just copy and paste this script: Exp: http://test.vtechtip.com/2009/11/prevent-right-click-and-select.html


    <script language='javascript'>

    document.onselectstart=new Function('return false');

    function ds(e){return false;}

    function ra(){return true;}

    document.onmousedown=ds;

    document.onclick=ra;

    document.oncontextmenu = function (){ return false};

    </script>

    <script language='JavaScript'>

    if (top.location != self.location)

    {top.location = self.location}

    </script>
                                                           
          2/ Prevent Select Only: Ex: http://test.vtechtip.com/2009/11/prevent-right-click-only.html

    <script language='javascript'>

    document.onselectstart=new Function('return false');

    function ds(e){return false;}

    function ra(){return true;}

    document.onmousedown=ds;

    document.onclick=ra;

    </script>

    <script language='JavaScript'>

    if (top.location != self.location)

    {top.location = self.location}

    </script>

          3/ Prevent Right Click Only: Ex: http://test.vtechtip.com/2009/11/prevent-right-click-only_01.html

    <script language='javascript'>

    document.onselectstart=new Function('return false');

    function ds(e){return false;}

    function ra(){return true;}

    document.oncontextmenu = function (){ return false};

    </script>

    <script language='JavaScript'>

    if (top.location != self.location)

    {top.location = self.location}

    </script>

    more
  • 6 comments

Go to page:

/

Links:

Computers BlogsComputer Blogs - BlogCatalog Blog DirectoryDigNow.netTechnology Blogs - Blog RankingsTopOfBlogs ComputersPayPal Viet Nam
Exchange link with tech site/blog. Click hereSoftware Free DownloadXem Tivi OnlineDownload 3D HD Movies
rantop.com

Monthly Posts:

Comunications:




All My Video

Most Read:

Exchange Links With Tech, Webmaster Blogs:

Guides:

Blogger - Wordpress Tips:

Latest Comments:

Followers

Computer Video Tutorials | Make Money Online | Computer | Video Tutorials | Domain/Hosting Guides | Blog Tips | Blogger Templates | Windows 7 | Software | Domain | Hosting | Guides | Coupon - Promotion codes