'Geolocation' seems to be the best dish being served today. Every web-portal, every mobile app wants to be sensitive to a persons location. Everyone wants to see information that is 'relative' or location sensitive. Whether its a deal portal, travel portal, social network - giving users information that is relevant to their location bring not … Continue reading Geolocation, Rails and MongoDB- a recipe for success
blog
How To Set Up Active Scaffold With Rails 3 Using jQuery
Create new rails project Add active_scaffold gem to bundler Setup active scaffold to use jQuery Generate active scaffold for resource city & zone Add Associations Migrate database Start Server Visit Browser URL: http://localhost:3000/cities Snap
Ghostype input Placeholder for search text fields using jQuery
>Placeholder DemoGhostpe Demo $(document).ready(function(){ var search = "#home-search"; var chars = $(search).attr('placeholder').split(''); $.each(chars, function(i, v){ setTimeout(function() { $(search).val((chars.slice(0, i+1).join(''))); }, 100*i); }); });jQuery placeholder plugin can be used to display default text inside input text fields.HTML5 introduced type search fields with placeholder attribute support. <input class="query" id="home-search" placeholder="Enter search text here" type="search" />It should display … Continue reading Ghostype input Placeholder for search text fields using jQuery
