【问题标题】:thickbox content not loading厚盒内容未加载
【发布时间】:2013-03-08 09:00:44
【问题描述】:

我创建了一个页面,使用window.open方法从另一个页面调用。

现在,当我从新打开的窗口打开厚框时,它只显示浅黑色背景,而不是厚框的内容。 我的代码是这样的:

我已经包含了thickbox.js 和thickbox.css

这是我的 HTML 代码

<a href='#' id='createProfileNo' onclick="return addVideoUseful(false);">No</a>

<div id="editrowContainer" style="display: none;">
    <div>
        <label>comment:</label>
        <textarea cols="20" rows="4"></textarea>
    </div>
</div>

这是我的 Javascript 函数

function addVideoUseful(isUseful)
{
   tb_show('title', '#TB_inline?keepThis=true&amp;TB_iframe=true&amp;height=500&amp;width=600&amp;modal=true&amp;inlineId=editrowContainer')
}

请给我您宝贵的建议......

【问题讨论】:

    标签: javascript jquery thickbox


    【解决方案1】:

    你的意思是下面这个div!!

    <div id="editrowContainer" style="display: none;">
    

    如果是,则从该 div 中删除此样式 style="display: none;"

    这使您的 div 不会在该 div 中显示任何内容..

    我希望这会有所帮助,:)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多