Javascript网站预览?(Javascript website preview?)

编程入门 行业动态 更新时间:2024-10-26 02:28:44
Javascript网站预览?(Javascript website preview?)

当您发布链接时,我可以在类似于Facebook的链接上做网站预览吗? 与图像和简短的描述

can i do a website preview on a link similar to facebook when you post a link? with image and short description

最满意答案

我们在一个月前就已经去过了,有几个网站可以发布一个网址,它会创建一个可以链接到的图像。 虽然它需要时间,所以没用。

然后我们创建了一个带有iframe的小工具提示,并将该网站放入iframe中。 你可以告诉框架大小的内容,所以效果是你有一个小版本的网站。

显而易见的问题,我们没有立即看到,是工具提示内容是可点击的。 :)但是,如果您在离开链接时清除了工具提示,那么用户应该无法访问它。

we had a go at this about a month ago and there are a couple of sites that you can post a url to and it'll create an image that you can link to. though it takes time so it's not useful.

we then created a small tooltip with an iframe and put the site within the iframe. you can tell the frame to size the contents so the effect was that you got a small version of the site.

the obvious problem, that we didn't see immediately, was that the tooltip contents were clickable. :) But if you clear the tooltip as you move off the link then the user should not be able to get to it.

更多推荐

link,网站,电脑培训,计算机培训,IT培训"/> <meta name="description" con

本文发布于:2023-08-08 00:03:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1466762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网站   Javascript   preview   website

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!