Home > Web Front-end > HTML Tutorial > html5关于data-role="popup"的问题_html/css_WEB-ITnose

html5关于data-role="popup"的问题_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-21 09:27:00
Original
1389 people have browsed it

<div data-role="popup" id="popupPic" data-position-to="window" data-overlay-theme="a" data-theme="d" data-corners="false">												<img  src=""   style="max-width:90%"/ alt="html5关于data-role="popup"的问题_html/css_WEB-ITnose" >					</div>
Copy after login


现在的情况是 进到页面 第一次点击的时候位置会偏离屏幕 不会显示在屏幕正中央 但是之后的点击都没有问题   是会显示在屏幕正中央的  求助为什么?


回复讨论(解决方案)

确定这个事HTML5的属性?怎么感觉这个应该是一个框架中的结构呢。

如果真是写这几个属性就能居中的话,那。。。

Open panel

            
         html5关于data-role=

测试了下,没有出现楼主说的那种情况

Open panel

            
         html5关于data-role=

测试了下,没有出现楼主说的那种情况
我知道原因了  用本地图片就是正常的  用网络地址图片连接 第一次就会出现  所以加了个延迟执行就好了


Open panel

            
         html5关于data-role=

测试了下,没有出现楼主说的那种情况
我知道原因了  用本地图片就是正常的  用网络地址图片连接 第一次就会出现  所以加了个延迟执行就好了
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
html5 validation for symfony 2.1
From 1970-01-01 08:00:00
0
0
0
The difference between HTML and HTML5
From 1970-01-01 08:00:00
0
0
0
html5 show hide
From 1970-01-01 08:00:00
0
0
0
Can PDF files run HTML5 and Javascript?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template