if(document.login.chat_id.value != ""){
document.login.chat_id.style.backgroundImage = "";
}
|
|
|
function urlsend()
{
f = document.spread;
if( f.comment.value == "http://" || f.comment.value == "" )
{
alert("퍼뜨리신 주소를 입력해주세요.");
f.comment.focus();
return;
}
if( f.comment.value.indexOf("http://") == -1 )
{
alert("퍼뜨리신 주소에 반드시 'http://'를 입력하셔야 합니다.");
f.comment.value = "http://" + f.comment.value
f.comment.focus();
return;
}
f.submit();
}
function selectcopy(){
var doc = document.body.createTextRange();
doc.moveToElementText(document.getElementById("copyBody"));
doc.select();
doc.execCommand('copy');
alert("복사 되었습니다~!\n\n카페나 블로그에 가셔서 붙여넣기(Ctgr + V) 해주세요~~");
backDiv = document.getElementById('backgroundDiv');
backDiv.parentNode.removeChild(backDiv);
document.getElementById('bannerS').style.display = "none";
document.getElementById('bannerV').style.display = "none";
}
function spreadbanner()
{
width = document.body.clientWidth;
height = document.body.clientHeight;
var backDiv = document.createElement('div');
cssText="background-color:#EEEEEE; border:0px; position:absolute; left:0px; top:"+document.body.scrollTop+"px; width:"+width+"px; height:"+height+"px; opacity:0.5;filter:alpha(opacity=50);z-index:10;";
backDiv.style.cssText=cssText;
backDiv.id = "backgroundDiv";
document.body.appendChild(backDiv);
view_div();
}
function view_div()
{
var btop = document.body.scrollTop + 10;
var bleft = (document.body.clientWidth / 2) - 150;
document.getElementById('bannerS').style.display = "inline";
document.getElementById('bannerV').style.top = btop;
document.getElementById('bannerV').style.left = bleft;
document.getElementById('bannerV').style.display = "inline";
selectcopy();
}
function loginMove(val)
{
if( confirm("로그인 하셔야 글쓰기가 가능합니다.\n로그인 하시겠습니까?") )
{
if(val != "")
{
location.href="http://www.azoomma.com/customer_center/login_index.htm?back_url=http://azoomma.com/Event/dongwonmall/event4/board_write.htm?topic="+val;
}else
{
location.href="http://www.azoomma.com/customer_center/login_index.htm?back_url=http://azoomma.com/Event/dongwonmall/event4/board_write.htm";
}
}
}
function loginMove2()
{
if( confirm("로그인 하셔야 글쓰기가 가능합니다.\n로그인 하시겠습니까?") )
{
location.href="http://www.azoomma.com/customer_center/login_index.htm?back_url=http://azoomma.com/Event/dongwonmall/event4/";
}
}
|