fancybox 相关问题

FancyBox是一种工具,它为您的网页上的图像,html内容和多媒体添加缩放功能提供了一种漂亮而优雅的方式。

如何从 cero 创建一个 fancybox 并向其附加内容

我正在使用 FancyBox 库创建模式,当我使用文档中提到的基本方法通过将“data-fancybox”属性添加到标签时,一切正常......

回答 0 投票 0

如何使用 Fancybox 5 在单击传单标记时显示照片

这可能吗? 到目前为止,这是我的代码 var marker = L.geoJSON(geojsonFeatureCamera, { pointToLayer: function (feature, latlng) { 返回 L.circleMarker(latlng,

回答 0 投票 0

Fancybox 不显示 PDF 但会下载它

我正在使用 FancyBox 显示 PDF 文件。当直接通过文件系统访问文件时,它工作得很好。 但是,由于我们的文件限制,我无法通过...

回答 1 投票 0

每行都有 Fancybox 画廊

我有一个填充我的 DataTable 的 ViewBag,在 DataTable 中,每一行都有一个缩略图。现在我想做的是,如果我点击缩略图,它会显示每一行的画廊,只有他们的

回答 1 投票 0

How to add link on a imagem popup fancybox?

我的项目中有这个代码 dados_globais['popup'] && $this->router->fetch_class() == "home") { foreach ($this->dados_globais['

回答 1 投票 0

如何在移动设备上禁用 fancybox?

我目前正在使用fancybox的灯箱在网站上显示PDF。但我只想在移动设备上禁用它,以便 PDF 正常下载。那可能吗? 我已经尝试过...

回答 0 投票 0

带旋转木马/滑动的花式盒子

我遇到了相关花式盒子的问题。我想实现 UI: images in fancybox with carousel option to slide the items。 这是我需要实现的用户界面: 这是我的代码: 我遇到了相关花式盒子的问题。我想实现用户界面:带有旋转木马选项的 fancybox 中的图像来滑动项目。 这是我需要实现的用户界面: 这是我的代码: <link rel="stylesheet" type="text/css" href="jquery.fancybox.min.css"> <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.css'> <div class="gallery-section"> <div class="container-fluid" id="nospace"> <div class="gallery-box"> <div class="box vertical"> <a href="assets/img/portfolio/1.jpg" data-fancybox="gallery1"> <img src="assets/img/portfolio/1.jpg" class="img-fluid"> </a> </div> <div class="box"> <a href="assets/img/portfolio/2.png" data-fancybox="gallery1"> <img src="assets/img/portfolio/2.png" class="img-fluid"> </a> </div> <div class="box vertical"> <a href="assets/img/portfolio/8.png" data-fancybox="gallery1"> <img src="assets/img/portfolio/8.png" class="img-fluid"> </a> </div> <div class="box"> <a href="assets/img/portfolio/3.png" data-fancybox="gallery1"> <img src="assets/img/portfolio/3.png" class="img-fluid"> </a> </div> <div class="box vertical"> <a href="assets/img/portfolio/4.png" data-fancybox="gallery1"> <img src="assets/img/portfolio/4.png" class="img-fluid"> </a> </div> <div class="box vertical"> <a href="assets/img/portfolio/6.png" data-fancybox="gallery1"> <img src="assets/img/portfolio/6.png" class="img-fluid"> </a> </div> <div class="box"> <a href="assets/img/portfolio/7.png" data-fancybox="gallery1"> <img src="assets/img/portfolio/7.png" class="img-fluid"> </a> </div> <div class="box"> <a href="assets/img/portfolio/5.png" data-fancybox="gallery1"> <img src="assets/img/portfolio/5.png" class="img-fluid"> </a> </div> </div> </div> </div> <script src='https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/jquery.fancybox.min.js'></script> 有人可以帮我解决这个问题吗?谢谢。如果您有任何问题,请告诉我。 你可以在轮播幻灯片元素中放置多个元素。然后,例如,使用 CSS 创建两列。使用 Tailwind CSS 和 Carousel 4 的示例: <div class="carousel__slide grid grid-cols-2 gap-4"> <a href="https://lipsum.app/id/1/900x600" data-fancybox="gallery"> <img src="https://lipsum.app/id/1/600x400" /> </a> <a href="https://lipsum.app/id/2/900x600" data-fancybox="gallery"> <img src="https://lipsum.app/id/2/600x400" /> </a> </div>

回答 1 投票 0

我无法使用 python selenium 关闭 fancybox

我尝试使用以下代码关闭花式框,但出现错误。它不是通过“Esc”键关闭的。所以我用硒来做。 我尝试使用以下代码关闭花式框,但出现错误。它不是通过“Esc”键关闭的。所以我用硒来做。 <body id="info-frame"><div id="insider-notification-content" style="width: 100%; height: 100%; background-color: rgb(255, 255, 255); position: relative; overflow: hidden; border-radius: 6px;"><form id="question-group-form"><div class="swiper-container swiper-container-horizontal swiper-initialized swiper-horizontal swiper-pointer-events" style="width: 100%; height: 100%;"><div class="swiper-wrapper" style="transform: translate3d(0,0,0);" id="swiper-wrapper-1210dcb24461c005a" aria-live="polite"><div class="swiper-slide insider-slide ui-resizable swiper-slide-active" id="page-1612346351761" style="width: 573px; height: 315px;" role="group" aria-label="1 / 1"><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se" style="z-index: 90; display: none;"></div><div id="wrap-text-1612872835308" class="selectable-element element-wrap element-text ui-draggable ui-draggable-handle" style="position: absolute; left: 40px; top: 130px; z-index: 1;"><div id="text-1612872835308" class="element-content ui-resizable" style="width: 477.969px; height: auto; min-height: 29px; padding: 5px; font-family: Roboto, sans-serif; box-shadow: none; border-radius: 6px;"><div class="editable element-editable" id="editable-text-1612872835308" style="outline: none; overflow-wrap: break-word; word-break: break-word;"><div style="text-align: center;"><span style="font-family:Roboto,sans-serif;"><strong>Artık Trendyol'da satış yapmaya hazırsınız!</strong><br><strong>E-Ticaret Danışmanlığı</strong>&nbsp;ekibi olarak operasyonel ve ticari konularda destek olmak amacıyla&nbsp;<strong>0212 919 18 00</strong>&nbsp;numaramızdan sizi arayacağız.<br><br>​​​​​​​Size ulaşabilmemiz için numaramızı telefonunuza kaydetmenizi, eğer iletişim bilgileriniz güncel değilse güncellemenizi rica ederiz.</span><br></div></div></div></div><div id="wrap-image-1670934724987" class="selectable-element element-wrap element-image ui-draggable ui-draggable-handle" style="position: absolute; left: 230px; top: 20px; z-index: 1;"><div id="image-1670934724987" class="element-content ui-resizable" style="overflow: hidden; width: 117.806px; height: 83px;"><a id="link-image-1670934724987" class="element-link" style="width: 100%; height: 100%; display: block; color: rgb(255, 255, 255);"><img src="https://image.useinsider.com/partnertrendyol/5359/Mj4h8PGc4RPyhjq8bovI1670934723.png" id="img-image-1670934724987" class="element-image" style="display: block; width: 100%; height: 100%;"></a></div></div></div></div><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span><span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span></div><div class="selectable-element element-wrap swiper-pagination-wrap default-pagination ui-draggable ui-draggable-handle" style="position: absolute; z-index: 10;display: none;"><div id="pagination" class="element-content ui-resizable"><div class="swiper-button-prev swiper-button-disabled swiper-button-lock" tabindex="-1" role="button" aria-label="Previous slide" aria-controls="swiper-wrapper-1210dcb24461c005a" aria-disabled="true"><i class="fa fa-angle-left"></i></div><div class="swiper-pagination swiper-pagination-bullets swiper-pagination-horizontal swiper-pagination-lock" id="pagination-123"><span class="swiper-pagination-bullet swiper-pagination-bullet-active"></span></div><div class="swiper-button-next swiper-button-disabled swiper-button-lock" tabindex="-1" role="button" aria-label="Next slide" aria-controls="swiper-wrapper-1210dcb24461c005a" aria-disabled="true"><i class="fa fa-angle-right"></i></div></div></div></form><div id="wrap-close-button-1628150585681" class="selectable-element element-wrap element-close-button ui-draggable ui-draggable-handle" style="position: absolute; left: 540px; top: 10px; z-index: 1;"><div id="close-button-1628150585681" class="element-content" style="width: auto; height: auto; color: rgb(159, 162, 167); text-align: center; cursor: pointer; font-size: 18px; line-height: 1;"><i class="fa fa-times element-close-button" id="icon-close-button-1628150585681"></i></div></div></div></body> abc = WebDriverWait(driver, 30).until(EC.element_to_be_clickable((By.XPATH, '//*[@id="icon-close-button-1628150585681"]'))) abc.click() 我确定 xpath 是正确的。我只想点击 x 符号: <i class="fa fa-times element-close-button" id="icon-close-button-1628150585681"></i>

回答 0 投票 0

从 iframe 关闭 fancybox

我有一个 Fancybox,可以从 iframe 打开联系表单。在 iframe 中,我有一个关闭按钮,但它不起作用。 我已经尝试过 $.fancybox.close();和 parent.jQuery.fancybox.clos...

回答 2 投票 0

Internet Explorer 的 Fancybox Iframe 错误

我遇到了 Internet Explorer 的错误。 iframe 的大小不正确,它显示在页面的左上角而不是中间。 在 Firefox 和 Chrome 中,一切正常

回答 1 投票 0

如何修复 React 应用程序中的 fancybox 编译错误

我将 fancybox 更新到最新版本,并为我的 React App 启动了 npm start。但是,我遇到了这些错误消息: 编译有问题: ./src/Pages/Fancybox.jsx 5:0-80 中的错误 男...

回答 0 投票 0

Fancybox v4 在从 DOM 中删除元素时关闭

我有一个功能,可以从表格中删除一行,该行绑定到行中的一个按钮,表格显示在名为 Fancybox div 的 ajax 上。我从 DOM Fancybox 中删除行的那一刻关闭......

回答 0 投票 0

打开Fancybox时,Fancybox Base64String图片消失了

当我使用图片的路径时,Fancybox可以完美地工作,就像下面的例子一样("完美地工作 "的意思是,当我点击图片来激活Fancybox时,原始图片不会消失)。

回答 1 投票 0

将fancybox 1迁移到fancybox 3。

我有一个相当大的(对我来说)使用fancybox 1开发的网站,我正试图升级到Fancybox 3,但有一些问题。我所有的iframe内容的高度都是100px左右。我已经花了大约...

回答 1 投票 0

自动打开fancyBox?

我目前正在尝试让fancyBox jQuery插件在网站首页加载时自动打开。我对Javascript和jQuery很陌生,需要一些指导。I ...

回答 6 投票 3

如何将Fancybox用单独的.js文件正确初始化到WordPress中?

我搜索了一下,在这里找到了这个使用wp_add_inline_script的方法。而且它的工作原理。但是如果我想把我的初始化脚本保留在其他的.js文件中呢?这就是我一开始想要的。我如何...

回答 1 投票 0

删除Wordpress上Fancybox容器上的 "溢出:隐藏 "内联样式。

如何删除fancybox-content div中的 "overflow:hidden; "内联样式?我使用的是FancyBox 3.5.7。似乎Wordpress覆盖了代码。在为WordPress编码之前,内联样式是 ...

回答 1 投票 0

如何在beforeShow上设置标题 - Fancybox 3。

I face the issue where I add button to caption i need to change button depend of action I manage to do it with caption : function( instance, item ) { var id = item.opts.$orig......

回答 1 投票 0

如何在手机分辨率下改变图片下的标题位置 - Fancybox 3

默认情况下,Fancybox 3的标题是在平板电脑上的图片下方,但是在手机上(350x800)标题并不在图片下方,而是在页面的底部。我怎么能让标题就在图片下面呢?

回答 1 投票 0

jQuery lib(fancybox)样式找不到,在reactjs中导入css导致错误。

我已经安装了jquert lib FancyBox npm install @fancyappsfancybox --save,并按照官方文档操作。但是这些规则并没有应用到fancybox dom-elements上,如何应用fancybox的样式,因为...

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.