信息框出现位置的理解
来源:互联网 发布:无创dna数据看性别图 编辑:程序博客网 时间:2024/06/05 19:57
- //这是一些对信息提示出现在不同地方的不同代码//
- //信息提示出现在左上角//
- function topLeft(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'show',
- style:{
- right:'',
- left:0,
- top:document.body.scrollTop+document.documentElement.scrollTop,
- bottom:''
- }
- });
- }
- //信息提示出现在中间上方//
- function topCenter(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'slide',
- style:{
- right:'',
- top:document.body.scrollTop+document.documentElement.scrollTop,
- bottom:''
- }
- });
- }
- //信息提示出现在右上角//
- function topRight(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'show',
- style:{
- left:'',
- right:0,
- top:document.body.scrollTop+document.documentElement.scrollTop,
- bottom:''
- }
- });
- }
- //信息提示出现在左靠边//
- function centerLeft(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'fade',
- style:{
- left:0,
- right:'',
- bottom:''
- }
- });
- }
- //信息提示出现在中间//
- function center(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'fade',
- style:{
- right:'',
- bottom:''
- }
- });
- }
- //信息提示出现在右靠边//
- function centerRight(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'fade',
- style:{
- left:'',
- right:0,
- bottom:''
- }
- });
- }
- //信息提示出现在左下角//
- function bottomLeft(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'show',
- style:{
- left:0,
- right:'',
- top:'',
- bottom:-document.body.scrollTop-document.documentElement.scrollTop
- }
- });
- }
- //信息提示出现在中间下方//
- function bottomCenter(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'slide',
- style:{
- right:'',
- top:'',
- bottom:-document.body.scrollTop-document.documentElement.scrollTop
- }
- });
- }
- //信息提示出现在右下角//
- function bottomRight(){
- $.messager.show({
- title:'My Title',
- msg:'The message content',
- showType:'show'
- });
- }
0 0
- 信息框出现位置的理解
- 深入理解View(一):View的位置参数信息
- clucene的位置信息
- VIew的位置信息
- iOS经典讲解之地图定位请求位置信息时出现的问题
- 木马程序的信息存储位置
- 获取当前的位置信息
- 二分 第一次出现的位置,最后一次出现的位置
- 查找字符串出现的位置
- //第一次x出现的位置
- token一般出现的位置
- 查找元素出现的位置
- 统计字符串出现的位置
- 让悬浮框在指定的位置出现(js)
- 信息熵的理解
- 信息熵的理解
- 信息增益的理解
- VC动态内存大小信息的存放位置
- 软件开发注意事项
- 2016年5月20日总结
- 软件设计师考试2
- table 行上移 下移 置顶 删除
- 如何监听Tabbar的点击
- 信息框出现位置的理解
- spark分布式安装 spark集群搭建 hadoop集群搭建
- 一个最简单的Servlet服务
- Java虚拟机模型
- 简单的文件处理
- jetson tk1 上面如何编译opencv程序
- Android之ListView内容数据刷新
- 实习入职第二天:maxMemory()--totalMemory()--freeMemory()
- 初次写博客