Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
再次修复IE6图片显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
alswl committed Nov 7, 2011
1 parent 5b7a2f3 commit 7811dec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jQuery.jEmotion.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ var jEmotion = {
* 插入html到页面
*/
insertHtml: function(imagePath, smilesMaps) {
var html = '<style>#je_emotions{width:364px; position:absolute;border:1px solid #aaa;border-top:none;z-index:9999; text-align:center;padding:3px;padding-bottom:6px;background:#fff;} #je_emotions span img{float:left;cursor:pointer;margin:1px 1px; border:#cacaca 1px solid} #je_emotions span:hover img{border:1px solid #f51d69} </style>';
var html = '<style>#je_emotions{width:364px; position:absolute;border:1px solid #aaa;border-top:none;z-index:9999; text-align:center;padding:3px;padding-bottom:6px;background:#fff;} #je_emotions a img{float:left;cursor:pointer;margin:1px 1px; border:#cacaca 1px solid;visibility:visible;} #je_emotions a:hover img{border:1px solid #f51d69} </style>';
html += '<div id="je_emotions">';
for (i in smilesMaps) {
html += '<span>' +
jEmotion.code2img(i, imagePath, smilesMaps) + '</span>';
html += '<a href="javascript:;">' +
jEmotion.code2img(i, imagePath, smilesMaps) + '</a>';
}
html += '</div>'
$("body").append(html);
Expand Down

0 comments on commit 7811dec

Please sign in to comment.