[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 688
  • Last Modified:

Display snapshot of a webpage on mouse hover

Please let me know how I can display a small snapshot of a webpage when the mouse is hovered over a button.
The button is generated dynamically. (My website is created using ASP.NET C#)

If possible, please provide some sample code.
Thank you!
0
dshrenik
Asked:
dshrenik
2 Solutions
 
jppintoCommented:
Please check if this is what you want:

http://forums.asp.net/t/1633.aspx

jppinto
0
 
dshrenikAuthor Commented:
Not exactly. I need the snapshot of a webpage to be displayed on mouseover.
0
 
devlab2012Commented:
You can use some online service. Look at the service provided by pageglimpse.com
You can get a snapshot by simply set the "src" attribute of an <img> tag like the following:

http://images.pageglimpse.com/v1/thumbnails?url=google.com&size=medium&devkey=your_developer_key_here

where "your_developer_key_here" will be replace by your own developer key. The above line will give a snapshot of google.com

To display it on mouseover, put an image with the above type of url in a div and set css property "display" to block/none in the onmouseover and onmouseout events.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
dshrenikAuthor Commented:
When I click the link you sent, it says 'Invalid Developer Key'
0
 
guveraCommented:
0
 
puravida76Commented:
It seems you were steered to PageGlimpse just days before they announced shutting down their service later this month.

As a PageGlimpse alternative, check out ShrinkTheWeb at http://www.shrinktheweb.com (I am a co-founder) for automated website screenshots. Our reputation is great and you can click on the 'more' link (bottom right on homepage just above testimonial box) to see a short list of what our customers say about us.

We currently handle a large majority of all screenshots processed online for more than 17,000 applications and website around the world.

Cheers,

Brandon
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now