ASP.NET - how to make below anchor controll show imageon mouseover??

Asked By mani on 24-Jan-12 04:30 AM
hi..i have below anchor tag and image..
how to make mouse over this anchor tag to display that image in popup simply??any help???


<p>
    <a name="img">sdsd</a>


<img alt="" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhQQERUQEREVFBAUGBkXFhEXFhUXFhsXFxYVGBUWGBUaHCYeGBknGRkWHy8gIygpLC4sFR4xNTAqNSYrLCkBCQoKBQUFDQUFDSkYEhgpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKf/AABEIANIA8AMBIgACEQEDEQH/xAAcAAEAAwEBAQEBAAAAAAAAAAAABgcIBQQDAgH/xABNEAABAwICBQcDEQcDAwUAAAABAAIDBBEFEgYHEyExCCJBUWFxgRSRsxcYMjQ1QlJUVWJyc4KSlNHTI0Njk6GisSSD0hYzUxWywcLD/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/ALxREQEREBERAREQEREBERAUT0j1o4fQOdHPUgzN3GGNrnvB6jYWae8hSxZx5Q+B7HEI6kDm1MYufnxWa7+wxoLa0E1p0+LzTRQxyRmJrXDaZczmkkOOVpNrHL0++Cmiyjqex7yTFqdxJDJiYH90u5t+wSZD4LVyAiIgIiICLkY1pbSUQvU1UUR+C54znuYOcfAKAY5yiKKK7aaKWod0OsIo/vOu7+1Bay+c07WNLnuDWji5xAA7ydwWbMc1/wCIT3EOypmHhkbnfb6b7i/aGjwUCxXHqirdmqaiWZ3QZHudbuBNh4INWHWbhxqI6RlWySaVwY0R3e3M7cAXtBaN+7j0qULElBWuhlZMw2fG5r2n5zSHD+oW0sNrmzwxzs9hKxr29z2hw/oUHpREQEREBERAREQEREBERAREQEREBZ/1+ac09UWUEI2kkEmZ84IytOVzXRN+Ed4ueALbbze1say9IXUGGVFQw2lDQyM9IfI4MB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qR3OkiaLmI33kDjszx3ex39FkFgattb8FdAI6uaOGsYAHZyGNk4APYTuuelvXwFl+9Oa7BdtDX1k0Uk1ODkije2Qv6Wh0bb5gHXIuQASbrMSIJXrE0/kxep2rhkgju2GLjlabXLj0vNhfuA6F7dT2i7q7E4TlOxp3CaR3QMhuxve54At1B3Uubobq9q8UeGwRkRX51Q8ERN6+d753zRc93Fag0N0PhwumbTQD5z5D7J77AFzv8AdAQd1fxzb7jvHUiIKY1o6P00ct46WBl3C+WKNt+ZffYda6up7BKe0kvk8O1Y7mybNmdu4exda48F/EQWoiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiIM+coLCoYZYnRQxxueSXFjGtLjYb3EDf4rg6k8NinxDJNFHK0NByyMa8XzDfZwIREGnoYWsAa1oa0bg0AAAdQA4BftEQf/Z" style="width: 148px; height: 142px;" /></p>
kalpana aparnathi replied to mani on 24-Jan-12 04:33 AM
use this link:

http://www.javascript-coder.com/button/javascript-button-p1.phtml
smr replied to mani on 24-Jan-12 04:43 AM
hi

You can use css for this

I have done this below example

css:

<


style type="text/css">



.img:hover

{


background-image:url('http://www.wallpaperama.com/post-images/forums/200901/11-880-aaaa.jpg');

}


</style>

In body tag





<a href="#" class="img">Click Here To Show Image</a>