How to add Multiple Google Maps on one page?

Techniques, Tutorials, Web Design & Programming
Here is how you can generate multiple maps on the same page using Google Map API V3. [caption id="attachment_1230" align="aligncenter" width="463"] Multiple-Google-Map[/caption] HTML [code] <div id="map_canvas" style="width:700px; height:500px; margin-left:80px;" ></div> <div id="map_canvas2" style="width:700px; height:500px; margin-left:80px;" ></div> [/code] JavaScript [code] <script type="text/javascript"> var map,map2; function initialize(condition) { // create the map var myOptions = { zoom: 14, center: new google.maps.LatLng(0.0, 0.0), mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); map2 = new google.maps.Map(document.getElementById("map_canvas2"), myOptions); } </script> [/code] Conclusion Integrating multiple Google Maps on a single web page can significantly enhance user experience and provide valuable information. By following this step-by-step guide, you can easily create and customize multiple maps using the Google Maps JavaScript API. Whether you're building a travel portal, a location-based directory, or any other project, multiple maps can…
Read More

Best Filter Plugins for WordPress Blog

WordPress, wordpress plugins
Awesome Filterable Portfolio The plugin lets you create a very modern and outstanding filterable portfolio. More Info | Download WordPress Options The plugin allows you to easily add options to your products, themes or plugins. More Info | Download Advanced Post Manager The plugin allows you to turbo charge your posts admin for any custom post type with sortable filters and columns, and auto-registration of meta-boxes. More Info | Download WP Hide Post The plugin enables you to control the visibility of items on your blog by making posts/pages hidden on some parts of your blog, while still visible in other part. More Info | Download wpautop control The plugin allows you to add a global setting to turn the wpautop filter on and off as well as to override…
Read More

How to hide WordPress admin for your subscribers?

CMS, Web Design & Programming, Web Development Services, WordPress
These functions will help you for hiding  WordPress admin for your subscribers. We’ve used a capability of “edit_posts” which is just outside of the roles of a Subscriber user. If the user is logged in, but can’t edit posts, then hide the admin bar on the frontend of the website. If the user is logged in, but can’t edit posts, do not allow them to access the WordPress admin panel. This code could go in functions.php of your theme or in a plugin you create. /** * Disable admin bar in frontend for subscribers. */ function themeblvd_disable_admin_bar() { if( ! current_user_can('edit_posts') ) add_filter('show_admin_bar', '__return_false'); } add_action( 'after_setup_theme', 'themeblvd_disable_admin_bar' ); /** * Redirect to homepage and not allow access to * WP admin for Subscribers. */ function themeblvd_redirect_admin(){ if ( !…
Read More

Web Design Basics

Blog
In the last 25 years the internet has changed substantially, and consumer behavior has changed even more. Websites now dominates the way we communicate, the way we shop, and the way we make decisions both online and also in the face-to-face world. Every web designer has a secret or two. Hard-won workflows, hidden hacks, and insider knowledge that are the mark of true experience and the stuff that separates great web design training from good. You have to remember that the choices are all yours, because it's your site, and you have to decide what you like. Choices like which colors, styles, fonts, graphics and writing styles to use are all very personal choices and not to be made lightly. Here, we've managed to persuade some of the web's busiest…
Read More

How to Create a MySQL Database in Azure?

Blog
This guide will show you how to use ClearDB to create a MySQL database from the Azure Store and how to create a MySQL database as a linked resource when you create a Azure Web Site . ClearDB is a fault-tolerant database-as-a-service provider that allows you to run and manage MySQL databases in Azure datacenters and connect to them from any application. Table of Contents How to: Create a MySQL database from the Azure Store How to: Create a MySQL database as a linked resource for Azure Web Site Read More
Read More