@pranay,
$(document).ready(function () {
$('p').on('mouseover', function () {
$('#pic').show();
$(this).css({
"position":"center"
});
var myPara = document.getElementById("1");
myPara.style.color = "gold";
}).on('mouseleave', function () {
$('#pic').hide();
$(this).css({
"text-decoration": ''
});
var myPara = document.getElementById("1");
myPara.style.color = "white";
});;
});