小编Tim*_*Tim的帖子

使用Twitter中的Twitter Bootstrap jquery模式链接到另一个页面

我只是希望这个模态出现并显示另一个页面的内容,但我不能让它工作,因为我是Jquery的新手.有没有办法修改下面的代码,以便在模态弹出窗口中显示'/ contact /'的内容?

----------
# this content is on http://myurl.com/contact/
 <div style="display: none;" id="myModal" class="modal hide fade">
 <p>this is my email app here...</p>
</div>
----------
# this is the button on a 'show' page where i want someone to push to bring up the contents of the above page in the modal.
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch Email</a>
Run Code Online (Sandbox Code Playgroud)

jquery ruby-on-rails twitter-bootstrap

3
推荐指数
1
解决办法
5746
查看次数

标签 统计

jquery ×1

ruby-on-rails ×1

twitter-bootstrap ×1