欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

layer.js open 隱藏滾動條的例子

 更新時間:2019年09月05日 08:59:55   作者:記憶的殘缺  
今天小編就為大家分享一篇layer.js open 隱藏滾動條的例子,具有很好的參考價值,希望對大家有所幫助。 一起跟隨小編過來看看吧

我就廢話不多說了,直接上代碼讓大家看看吧!

$('img.echart-trand').click(function() {
 
 var host = $(this).data('host');
 var role = $(this).data('role');
 
 console.log('host',host);
 console.log(window.width);
 
 var labeltitle = host;
 if(role==4)labeltitle = $(this).data('title');
 
 var width = $(window).width() + "px";
 var height = $(window).height() + "px";
 layer.open({
  type: 2,
  title: labeltitle + ' - 投放關(guān)系圖',
  shadeClose: true,
  move: false,
  scrollbar: false, // 父頁面 滾動條 禁止
  // maxmin: true,
  area: [width, height],
  // content: ['/home/index/echartTest?role=2&wd='+host,'no'], //ifrma 滾動條 禁止顯示 頁面
  content: ['/home/index/echartTest?role='+role+'&wd=' + host],
 });
});

以上這篇layer.js open 隱藏滾動條的例子就是小編分享給大家的全部內(nèi)容了,希望能給大家一個參考,也希望大家多多支持腳本之家。

相關(guān)文章

最新評論