fix bug iframe

This commit is contained in:
lh_wang
2015-08-10 23:14:35 +08:00
parent dd403fd69d
commit adaadc4a3c
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -43,31 +43,31 @@ define('home/tools', function(require, exports, module){
var height = document.body.clientHeight;
$('#tools_tucao').on('click', function(){
common_div.fadeIn();
common_div_iframe.attr('src', "http://vczero.github.io/meitu/toupiao/danmu.html");
common_div_iframe.css('height', height);
common_div_iframe.css('width', width);
common_div.fadeIn();
});
$('#tools_huodong').on('click', function(){
common_div.fadeIn();
common_div_iframe.attr('src', "http://123.57.39.116:9797/toupiao/activity.html");
common_div_iframe.css('height', height);
common_div_iframe.css('width', width);
common_div.fadeIn();
});
$('#tools_fenxiang').on('click', function(){
common_div.fadeIn();
common_div_iframe.attr('src', "http://123.57.39.116:9797/toupiao/histroy.html");
common_div_iframe.css('height', height);
common_div_iframe.css('width', width);
common_div.fadeIn();
});
$('#tools_tou').on('click', function(){
common_div.fadeIn();
common_div_iframe.attr('src', "http://123.57.39.116:9797/toupiao/vote.html");
common_div_iframe.css('height', height);
common_div_iframe.css('width', width);
common_div.fadeIn();
});
$('.common_close').on('click', function(){
+1 -1
View File
@@ -283,7 +283,7 @@
<div class="btn add_face_btn ">
<img src="./img/chat_bottombar_icon_face.png" style="width:30px;height:30px;"/>
</div>
<div class="chat_textarea" contenteditable="true">
<div class="chat_textarea" contenteditable="true" style="outline:none;">
</div>
<button type="button" class="send_chat_btn" name="button">