Point module cosmetic issues.

Remove email masking '...'.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12437 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-12-20 05:17:41 +00:00
parent 1e17acec32
commit 88075471bc
15 changed files with 66 additions and 108 deletions

View file

@ -313,34 +313,6 @@ jQuery(function($){
});
};
$('input[type="file"].overlap').fileTypeOverlap();
// Email Masking
$.fn.xeMask = function(){
this
.each(function(){
var $this = $(this), text = $this.text();
var reg_mail = /^([\w\-\.]+?)@(([\w-]+\.)+[a-z]{2,})$/ig;
if(reg_mail.test(text)) {
$this
.html(text.replace(/(@.+)$/, '<span class="ellipsis">...</span><span class="cover">$1</span>'))
.find('>.ellipsis')
.css({position:'absolute',zIndex:1})
.hover(
function(){ $(this).next('.cover').mouseover() },
function(){ $(this).next('.cover').mouseout() }
)
.end()
.find('>.cover')
.css({zIndex:2,opacity:0})
.hover(
function(){ $(this).css('opacity',1).prev('span').css('visibility','hidden') },
function(){ $(this).css('opacity',0).prev('span').css('visibility','visible') }
)
.end();
}
})
};
$('.masked').xeMask();
// Table Col Span
$.fn.tableSpan = function(){
this.each(function(){

File diff suppressed because one or more lines are too long