需要帮助使用代码打开delay(?)窗口 [英] Need help using code to open delay(?) window

查看:83
本文介绍了需要帮助使用代码打开delay(?)窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您前往Old Navy的站点并将鼠标悬停在他们的一件衣物上,则会弹出一个图片,上面写着"QuickLook".您可以单击QuickLook图像,然后会出现一个小的弹出窗口(不向上),您可以使用该窗口中的标签,选择尺寸,添加到购物车等.

我正在思考"这是一种javascript,但我没有哪一个.我想在自己的网站上实现此功能,而不是使用弹出窗口或更改页面来查看项目.

有人可以指导我如何在自己的网站上实现该功能吗?

If you go to Old Navy''s site and mouseover one of their clothing items, an image pops that says "QuickLook". You can click the QuickLook image and a small pop-over (not up) window appears that allows you to use tabs within that window, select size, add to cart, etc.

I''m "thinking" this is a javascript, but I don''t which one. I''d like to implement this on my site, rather than using pop-up windows or changing pages to view items.

Can anyone give me direction on how to make that work on my own website?

推荐答案

这是一个使用图片/页面偏移量绝对定位的div.

一种简单的方法是使用 ^ ].在此处 [
It is a div which is absolutely positioned using the image/page offset.

An easy way to do it is using JQuery[^]. Have a look at a couple of links here[^], the first link has a pretty good example, although you could always make the content of popup more dynamic using AJAX.


这篇关于需要帮助使用代码打开delay(?)窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆