mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
mobile temp
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7673 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ceffd850b5
commit
97ca6dfe15
23 changed files with 452 additions and 248 deletions
38
modules/message/m.skins/default/message.js
Normal file
38
modules/message/m.skins/default/message.js
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* 로그인 후 */
|
||||
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('');
|
||||
});
|
||||
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