Wednesday, December 06, 2006

Link Preview -- Snap of the Target


A link preview functionality has been added to this blog. Now when you hover over a link, a snap of the target site will be fetched and previewed in a snap box (kind of tooltip). The obvious benefit is to decide between going for the target or remaining on the page depending upon your liking of preview. This service can provide your readers a better reading experience without having to leave your page now and then. Snap.com freely provides this facility, even you do not need to register, just enter your site's url and script will be generated for you which you can paste in the head section of your page. If it works fine, very good. In some cases when your site follows strict Doctype conventions as is the case with this blog, you have to do slight changes in the code. Just find out the portion of the code that resembles the highlighted portion of the above code snippet and simply delete it. This is because the script is not well formed as it contains "defer" attribute without any value and hence not well formed.

No comments: