Image Highlight on “Click event” and “Mouseover” using Jquery

24 Jul

Hi Guys,

The Maphilight jquery plugging can be used to highlight the particular region on the image.

Maphilight plugging only allow you to do that on mouse over event but here I posted my code to highlighting the image on mouse over as well as click event for your reference.

We can override the default attributes like stroke, strokeWidth,  fillcolor, fillOpacity and so on, to pass the parameter as key value pair in maphilight();


$(‘#yourImageName’).maphilight(‘”{‘strokeColor’:’0000ff’, ‘fillColor’:’00ff00′,’fillOpacity’:0.6}”);

Continue reading


Do you know how to compare Database Schema in visual studio?

15 Jul

To compare two schemas by using Schema Compare

  1. If you want to compare two schemas but not save your settings as part of your database project, perform the following steps:
    1. Open the Data menu, point to Schema Compare, and click New Schema Comparison.
    2. Skip to step 3.
  2. If you want to compare two schemas and then save your settings as part of your database project, perform the following steps:
    1. In Solution Explorer, right-click the Schema Comparisons folder, point to Add, and click Schema Comparison.

The Add New Item dialog box appears.

  1. In Name, type the name that you want to give the schema comparison, and then click Add.
  • Specify the source and the target that you want to compare by clicking ProjectDatabase, or Database schema file for each schema.
  • Note
    You can specify a database schema file for the target schema, but you cannot update it. For a full list of the supported comparison scenarios, see Compare and Synchronize Database Schemas.
    1. If you clicked Database for the source or the target, connect to the data source by clicking it in the list.

    If your database is not listed, click New Connection. In the Connection Properties dialog box, identify the server on which the source or target resides and the type of authentication to use when you connect to it. Optionally, click a database on that server. When you are finished, click OK.

    After you establish a connection, it appears in Server Explorer under Data Connections.

    Continue reading