How to create url preview in javascript?

Posted by Razor Storm on Stack Overflow See other posts from Stack Overflow or by Razor Storm
Published on 2010-04-26T18:09:56Z Indexed on 2010/04/26 18:13 UTC
Read the original article Hit count: 180

Filed under:
|
|

Can someone help me with creation of a url preview script in javascript?

What I mean is this. Say I have a link on my site, I want the user to be able to mouse over the link, and have an image pop up that shows what the target of the link looks like.

Don't worry about the css, I got that working, I just need the actual script to show the image.

Currently I am doing it by showing up an iframe that actually renders the page, but this is not scalable and looks ugly.

No, having the page display premade images is not an option, since the links will be linking to dynamically generated user content.

thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html