• Saran

  • Saran Chamling loves the web technology, and enjoys designing, exploring and writing about it @sanwebe.com. You can find him at Twitter, Google or Facebook.

Saran's Article(s)

  • Set Authorized Redirect URIs in Google API console

    Once you have created your Google OAuth API Keys, you may be wondering how to authorize redirect URIs for your applications? or may you are receiving Error:redirect_uri_mismatch error. You can correct it by following these simple steps below.
  • Joomla Module to Display Twitter Buttons

    Joomal module will display twitter buttons in any Joomla template positions.  Module can be configured to display any twitter button you want. There are four buttons: Follow on Twitter, Share on Twitter,  Twitter Hashtag and Twitter Mention. Each button can be configured exactly like  Twitter Button Generator, all you need to do is enter your twitter username and you are ready to go.
  • .htacess redirect from subdomain to full URL

    Sometimes, Google or other search engines start to crawl your subdomains, indexing everything without your knowledge. And your search results start to appear something like this – http://subdomain.mainsite.com/page.html, instead of http://mainsite.com/page.html. All paths to pages are same except the subdomain added to the URL. To redirect all your subdomains to main site URL, add following line in your .htaccess file. [cc lang=”htaccess”] RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?[^.]+.mymainsitename.com.*$ RewriteRule (.*) http://mymainsitename.com/$1 [L] [/cc]
  • jQuery Move Div Left/right/up/down

    We can smoothly move any element using jQuery .animate() method, the method basically changes value of css property of the element gradually to perform animation effect, the example shows how easily we can move DIV box to left, right, up and down with .animate() method.