Categories
jQuery PHP WordPress

How to pass dynamic values from PHP to CSS/JS in WordPress

There are situations when you have to use some values stored in DB or values being calculated in PHP script based upon different conditions in the java-script and css code. This can be achieved by writing the inline js/css code directly inside the php script. But in WordPress, this can be done very easily with […]

Categories
jQuery PHP Software Tricks WordPress

How to disable responsiveness in the admin theme of WordPress 3.8

How to disable responsiveness in the admin theme of WordPress 3.8 ? How do I disable responsiveness of WP 3.8 admin ? Is there any way to disable responsiveness ? I want to disable the responsive hiding feature for tablets and mobile for the newly introduced WordPress 3.8 admin back end. The question comes, Why […]

Categories
jQuery

Lightweight and better responsive navigation menu with “responsive-nav.js”

Responsive Nav is a tiny JavaScript plugin which weighs only 1.7 KB minified and Gzip’ed, and helps you to create a toggled navigation for small screens. It uses touch events and CSS3 transitions for the best possible performance. It also contains a “clever” workaround that makes it possible to transition from height: 0 to height: […]

Categories
jQuery Node.js

In Node.js everything runs in parallel, except your code !!

In Node.js everything runs in parallel, except your code. What this means is that all I/O code that you write in Node.js is non-blocking, while (conversely) all non-I/O code that you write in Node.js is blocking.

Categories
jQuery PHP WordPress

Mashable changed its platform from WordPress to Ruby on Rails

Mashable, the latest in social media, tech, world news, business, entertainment related blog was based upon wordpress cms. Recently it has changed its look and feel with completely new style and fully responsive layout. Ruby on Rails with Backbone JS and Handlebarsare the platforms used to built the new site. Features like Adaptive Design, “Next […]

Categories
Facebook jQuery PHP WordPress

Loading facebook social plugin into AJAX generated dynamic content. [Solved]

To include Facebook social plugins(ex: Facebook Comments http://developers.facebook.com/docs/reference/plugins/comments/) into our site, we use some java-script and some HTML structure provided by facebook. It works fine until you have AJAXified your pages. If your site refreshes each page on each request then facebook social plugins work perfect. Problem occurs when the HTML structure is loaded via […]

Categories
jQuery PHP Social Life Software Tricks Technology

How to display profile image in google search

May be you want to display your google profile image next to the search result for your blogs in Google search. If you google something, you can see some small images next to the search results. These are nothing but the google profile images of the blog authors. When you see that photo show up […]