mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
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:
parent
1e17acec32
commit
88075471bc
15 changed files with 66 additions and 108 deletions
|
|
@ -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(){
|
||||
|
|
|
|||
2
modules/admin/tpl/js/admin.min.js
vendored
2
modules/admin/tpl/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue