mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
login form 에 title 노출
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7016 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bb8cc8383a
commit
e4318249d6
2 changed files with 33 additions and 6 deletions
|
|
@ -9,3 +9,30 @@ function completeMessageOpenIDLogin(ret_obj, response_tags) {
|
|||
var redirect_url = ret_obj['redirect_url'];
|
||||
location.href = redirect_url;
|
||||
}
|
||||
|
||||
function doLogin(o,filter){
|
||||
jQuery('input.inputText',o).each(function(){
|
||||
var t = jQuery(this);
|
||||
if(t.attr('title').length>0 && t.attr('title') == t.val()) t.val('');
|
||||
});
|
||||
procFilter(o,filter);
|
||||
initLoginTitleMsg();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function initLoginTitleMsg(){
|
||||
jQuery('.gLogin, .mLogin').find('input.inputText').focus(function(){
|
||||
var t = jQuery(this);
|
||||
if(t.attr('title').length>0 && t.attr('title')==t.val()) t.val('');
|
||||
}).blur(function(){
|
||||
var t = jQuery(this);
|
||||
if(t.attr('title').length>0 && t.val()=='') t.val(t.attr('title'));
|
||||
}).focus().blur();
|
||||
}
|
||||
|
||||
jQuery(function(){
|
||||
initLoginTitleMsg();
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue