mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 15:19:57 +09:00
message module update
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7681 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f5e4778372
commit
f7360ef38d
3 changed files with 124 additions and 78 deletions
|
|
@ -3,36 +3,23 @@ function completeMessageLogin(ret_obj, response_tags, params, fo_obj) {
|
|||
var url = current_url.setQuery('act','');
|
||||
location.href = url;
|
||||
}
|
||||
|
||||
/* 오픈아이디 로그인 후 */
|
||||
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('');
|
||||
/* 로그인 폼 토글 */
|
||||
$(function($){
|
||||
var gLogin = $('#gLogin');
|
||||
var oLogin = $('#oLogin');
|
||||
oLogin.hide();
|
||||
$('a[href=#oLogin]').click(function(){
|
||||
gLogin.hide();
|
||||
oLogin.show();
|
||||
});
|
||||
$('a[href=#gLogin]').click(function(){
|
||||
gLogin.show();
|
||||
oLogin.hide();
|
||||
});
|
||||
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