아래 그림은 낙엽이 떨어지는 소스를 넣었습니다 !!
이것같이 이미지에 낚엽이 내리는 효과를 준것은 단풍나무 이미지와
낙엽이 내리는 플레쉬가 합쳐져서
만들어 졌습니다!!
위에 그림같이 하시려면 아래와 같은 방법으로 하세요!!
주위 하실껀 이미지 크기와 플레쉬 소스의
크기를 같게
해주셔야 이쁘게 낙엽이 내리는 효과를 줄수 있습니다!!
<table background="이미지 주소" width="가로크기" height="세로크기" border="1"
cellspacing="0" border=0> <tr><td>
<EMBED width="가로크기" height="세로크기" src="http://msccl.cafe24.com/zeroboard/data/mu/nanh.swf"></td></tr></table>
아래 그림은 다른 낙엽이 내리게하는 소스를 넣었습니다 !!
위에 그림같이 하시려면 아래와 같은 방법으로 하세요!!
주위 하실껀 이미지 크기와 플레시 소스의
크기를 같게
해주셔야 이쁘게 낙엽이 내리는 효과를 줄수 있습니다!!
마음에 드는 걸루 골라서 쓰세요!!
<table background="이미지 주소" width="가로크기" height="세로크기" border="1"
cellspacing="0" border=0> <tr><td>
<EMBED width="가로크기" height="세로크기" src="http://msccl.cafe24.com/zeroboard/data/mu/nanh2.swf"></td></tr></table> |
|
|
|
function popupMyAvatar() {
mname = "%B9%B0%BE%DE%B5%CE";
rurl = "http://cafe103.daum.net/reload.html";
url = "http://mall.avatar.daum.net/cgi-bin/MyAvatar?TYPE=POPUP&MNAME="+mname+"&URL="+rurl;
window.open(url, '', 'toolbar=0,status=0,width=610,height=402,scrollbars=1');
}
//친구 앨범
function popupAlbum() {
mname = "%B9%B0%BE%DE%B5%CE";
rurl = "http://cafe103.daum.net/reload.html";
url = "http://mall.avatar.daum.net/cgi-bin/ViewFriendAlbum?TYPE=POPUP&EUSERID=4dBgEFbzFXs0&MNAME="+mname+"&URL="+rurl;
window.open(url, '', 'toolbar=0,status=0,width=610,height=402,scrollbars=1');
}
//찜목록
function popupZim() {
url = "http://mall.avatar.daum.net/cgi-bin/ViewFriendWishList?TYPE=POPUP&EUSERID=4dBgEFbzFXs0&MNAME=%B9%B0%BE%DE%B5%CE&URL=http://cafe103.daum.net/reload.html"
window.open(url, '', 'toolbar=0,status=0,width=610,height=402,scrollbars=1');
}
|
// PAGE_COUNT)
return;
// Set current page of comments to global variable.
var cdepth;
if(CPAGE < p){
cdepth = L_CDEPTH;
}else{
cdepth = F_CDEPTH;
}
var url = "/_c21_/bbs_read";
var pars = "grpid=Z35w"
+ "&mgrpid="
+ "&fldid=FNKk"
+ "&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz"
+ "&datanum=1358"
+ "&ajax=1"
+ "&cpage=" + CPAGE
+ "&tpage=" + p
+ "&cdepth="+ cdepth;
// It should be a 'GET' method.
Ajax.Updater(
'commentPagingDiv',
url,
{
method: 'get',
parameters: pars,
onComplete: function(req) {
CPAGE = p;
L_CDEPTH = document.getElementById("l_cdepth").value;
F_CDEPTH = document.getElementById("f_cdepth").value;
N_CDEPTH = document.getElementById("n_cdepth").value;
}
}
);
}
function openwinTexticon() {
window.open('http://cafe.daum.net/_texticon/pop_texticon.html', 'texticon_help', 'width=340,height=410,toolbar=no,scrollbars=no,');
}
function AppendShortCommentAjax(parseq) {
cmtinfo("grpid=Z35w&mgrpid=&fldid=FNKk&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1358&parseq=" + parseq);
var f = document.bbsForm;
var emocode = f.emoticon.value;
if (emocode == null || emocode=="" && g_emoticon!=-1){
emocode = g_emoticon;
}
if (emocode == "" || typeof(emocode) == "undefined" || emocode == -1) {
emocode = "01";
}
var texticonyn = ""
if (parseq == 0) { // 댓글의 댓글이 아님.
comment = $("comment_view").value;
if ( f.texticonyn.checked ) {
texticonyn = "Y";
}
} else {
comment = document.getElementById("commentReplyText_" + parseq).value;
if ( document.getElementById("texticonyn_" + parseq).checked ) {
texticonyn = "Y";
}
}
if ( null == comment || "" == comment ) {
alert( "내용을 입력하신 뒤 등록버튼을 눌러주세요." );
document.bbsForm.comment_view.focus();
return;
}
if ( comment.length > 600 ) {
alert( "댓글은 600자 이내입니다." );
document.bbsForm.comment_view.focus();
return;
}
var url = "/_c21_/short_comment_action";
var pars = "grpid=Z35w"
+ "&mgrpid="
+ "&emoticon=" + emocode
+ "&comment=" + encodeURIComponent(comment)
+ "&texticonyn=" + texticonyn
+ "&parseq=" + parseq
+ "&act=A"
+ "&fldid=FNKk"
+ "&dataid=1358"
+ "&nickname=" + encodeURIComponent('\uACBD\uC11C\uC0AC\uB791')
+ "&grpcode=" + encodeURIComponent("loveyou3040")
+ "&ajax=1";
//navigator.userAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1); AJAX";
Ajax.Request(
url,
{
parameters: pars,
onComplete: updateBbsInfoRequest
}
);
function updateBbsInfoRequest(req) {
var url = "/_c21_/longtail_info?grpid=Z35w"
+ "&mgrpid="
+ "&fldid=FNKk"
+ "&dataid=1358"
+ "&e_userid=2Rd1ZotWMBg0"
+ "&cpage=" + CPAGE;
Ajax.Request(
url,
{
method: 'get',
onComplete: updateBbsInfoResponse
}
);
}
function updateBbsInfoResponse(req) {
try {
var info = eval('(' + req.responseText + ')');
} catch(e) {
} finally {
// Set newest page_count to global variable.
PAGE_COUNT = info.PAGE_COUNT;
CPAGE = info.SHRTCMT_CPAGE;
RECENT_MYFLDDATASEQ = info.RECENT_MYFLDDATASEQ;
}
var url = "/_c21_/bbs_read";
var pars = "grpid=Z35w"
+ "&mgrpid="
+ "&fldid=FNKk"
+ "&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz"
+ "&datanum=1358"
+ "&ajax=1";
pars = pars + "&cpage=" + (parseq == 0 ? PAGE_COUNT : CPAGE);
Ajax.Updater(
'commentPagingDiv',
url,
{
parameters: pars,
method: 'get',
onComplete: updateComment
}
);
}
function updateComment(req) {
highlight("_cmt" + RECENT_MYFLDDATASEQ);
if (parseq == 0) {
document.bbsForm.comment_view.value = "";
$("textlimit").innerHTML = '0';
//location.href="#commentTableTop";
}
_resetToDefaults();
if (CPAGE != 1 && CPAGE != PAGE_COUNT) {
gopage2(CPAGE);
}
}
}
function gopage2(p) {
cmtinfo("grpid=Z35w&mgrpid=&fldid=FNKk&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1358&cpage=" + p);
if (p < 1 || p > PAGE_COUNT)
return;
// Set current page of comments to global variable.
var cdepth = N_CDEPTH;
var url = "/_c21_/bbs_read";
var pars = "grpid=Z35w"
+ "&mgrpid="
+ "&fldid=FNKk"
+ "&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz"
+ "&datanum=1358"
+ "&ajax=1"
+ "&cpage=" + (CPAGE + 1)
+ "&tpage=" + p
+ "&cdepth="+ cdepth;
Ajax.Updater(
'commentPagingDiv',
url,
{
method: 'get',
parameters: pars,
onComplete: function(req) {
CPAGE = p;
L_CDEPTH = document.getElementById("l_cdepth").value;
F_CDEPTH = document.getElementById("f_cdepth").value;
N_CDEPTH = document.getElementById("n_cdepth").value;
}
}
);
}
function _resetToDefaults( seq ) {
COMMENT_STORE = new Array();
OPENED_SEQ = 0;
if (typeof seq != 'undefined')
$("_cmt_button" + seq).style.display = "block";
}
function cancelModify( seq ) {
cmtinfo("grpid=Z35w&mgrpid=&fldid=FNKk&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1358&seq=" + seq);
$("_cmt_wrapper" + seq).innerHTML = COMMENT_STORE[seq + 9999];
_resetToDefaults(seq);
}
function cancelAndSet(ctype, seq) {
if (OPENED_SEQ != 0) {
ops = OPENED_SEQ.split(",");
if (ops[0] == "MOD") {
cancelModify(parseInt(ops[1]));
} else {
cancelReply(parseInt(ops[1]));
}
}
OPENED_SEQ = ctype + "," + seq;
}
function viewModifyOld( seq ) {
cancelAndSet("MOD", seq);
COMMENT_STORE[seq] = $("_cmt_datestr" + seq).innerHTML;
// Store original comments data temporarily for cancel, likejazz
COMMENT_STORE[seq + 9999] = $("_cmt_wrapper" + seq).innerHTML;
var cmt = ''
$("_cmt_button" + seq).style.display = "none";
$("_cmt_wrapper" + seq).innerHTML = cmt;
updateCharComment(600, seq, 'modtextlimit');
}
function viewModify( seq ) {
cancelAndSet("MOD", seq);
COMMENT_STORE[seq] = $("_cmt_datestr" + seq).innerHTML;
// Store original comments data temporarily for cancel, likejazz
COMMENT_STORE[seq + 9999] = $("_cmt_wrapper" + seq).innerHTML;
var url = "/_c21_/short_comment_action";
var pars = "grpid=Z35w"
+ "&mgrpid="
+ "&seq=" + seq
+ "&act=E"
+ "&fldid=FNKk"
+ "&dataid=1358"
+ "&grpcode=" + encodeURIComponent("loveyou3040");
+ "&ajax=1";
Ajax.Request(
url,
{
method: 'post',
parameters: pars,
onComplete: showResponse
});
function showResponse(req) {
var result = eval( req.responseText );
var texticonYn = ("Y" == result[0]) ? "checked" : "";
var cmtText = result[1];
var cmt = ''
$("_cmt_button" + seq).style.display = "none";
$("_cmt_wrapper" + seq).innerHTML = cmt;
updateCharComment(600, seq, 'modtextlimit');
}
}
function _mod( seq ) {
cmtinfo("grpid=Z35w&mgrpid=&fldid=FNKk&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1358&seq=" + seq);
var comment = document.getElementById("comment_" + seq).value;
var texticonyn = ($("texticonyn_" + seq) != null && $("texticonyn_" + seq).checked ) ? "Y" : ""
var url = "/_c21_/short_comment_action?grpid=Z35w";
var pars = "&grpid=Z35w"
+ "&mgrpid="
+ "&comment=" + encodeURIComponent(comment)
+ "&texticonyn=" + texticonyn
+ "&seq=" + seq
+ "&act=U"
+ "&fldid=FNKk"
+ "&dataid=1358"
+ "&grpcode=" + encodeURIComponent("loveyou3040");
+ "&ajax=1";
Ajax.Request(
url,
{
method: 'post',
parameters: pars,
onComplete: showResponseInvoker
});
function showResponseInvoker( req ) {
var url = "/_c21_/short_comment_action";
var pars = "grpid=Z35w"
+ "&mgrpid="
+ "&texticonyn=" + texticonyn
+ "&seq=" + seq
+ "&act=E"
+ "&fldid=FNKk"
+ "&dataid=1358"
+ "&grpcode=" + encodeURIComponent("loveyou3040");
+ "&ajax=1";
Ajax.Request(
url,
{
method: 'post',
parameters: pars,
onComplete: showResponse
});
}
function showResponse( req ) {
var result = eval( req.responseText );
var cmtText = result[1];
// var cmt = req.responseText;
//var cmt = $("comment_" + seq).value;
// cmt = cmt.replace(//g, '>');
$("_cmt_wrapper" + seq).innerHTML = ""
+ cmtText
+ " "
+ ""
+ " " + COMMENT_STORE[seq] + ""
+ "";
highlight("_cmt" + seq);
_resetToDefaults(seq);
}
}
function _del( seq, parseq ) {
cmtinfo("grpid=Z35w&mgrpid=&fldid=FNKk&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1358&seq="+seq);
if (COMMENT_STORE[seq]) return;
if (confirm("정말 삭제하시겠습니까?")) {
var url = "/_c21_/short_comment_action";
var pars = "grpid=Z35w"
+ "&mgrpid="
+ "&seq=" + seq
+ "&act=D"
+ "&fldid=FNKk"
+ "&dataid=1358"
+ "&grpcode=" + encodeURIComponent("loveyou3040");
+ "&comment="
+ "&ajax=1"
Ajax.Request(
url,
{
method: 'post',
parameters: pars,
onComplete: showResponse
});
}
// 1: self delete, 2: only parent delete, 3:parent, self delete
function showResponse(req) {
if (navigator.userAgent.match(/MSIE/))
$("_cmt" + seq).style.height = '1px';
var result = req.responseText;
if(result == "1") {
fadeout("_cmt" + seq);
COMMENT_STORE[seq] = "DELETED";
}else if(result == "2"){
changeDeletedParent(seq);
COMMENT_STORE[parseq] = "DELETED";
}else if(result == "3"){
fadeout("_cmt" + seq);
COMMENT_STORE[seq] = "DELETED";
fadeout("_cmt" + parseq);
COMMENT_STORE[parseq] = "DELETED";
}else {
alert("서버 사정으로 인해, 댓글이 삭제 되지 않았습니다.");
}
}
}
function changeDeletedParent(seq){
var obj = document.getElementById("_cmt"+seq);
if(obj){
obj.style.padding = "5px 0 2px 12px";
obj.className = "skinTxt";
obj.innerHTML = "삭제된 댓글입니다.";
}
}
function cancelReply( seq ) {
cmtinfo("grpid=Z35w&mgrpid=&fldid=FNKk&contentval=000Luzzzzzzzzzzzzzzzzzzzzzzzzz&datanum=1358&seq=" + seq);
$("_cmt_reply" + seq).innerHTML = '';
_resetToDefaults(seq);
}
function viewReply( seq ) {
if (COMMENT_STORE[seq]) return;
cancelAndSet("REP", seq);
var div = ''
$("_cmt_button" + seq).style.display = 'none';
$("_cmt_reply" + seq).innerHTML = div;
$("commentReplyText_" + seq).focus();
COMMENT_STORE[seq] = "REPLY";
}
//전체선택/해제
function toggleAll() {
/*
var imgg = document.getElementById("select_all_button_comment");
if (imgg.src == "http://cafeimg.hanmail.net/cf_img2/bbs2/btn_select.gif") {
imgg.src = "http://cafeimg.hanmail.net/cf_img2/bbs2/btn_select_02.gif";
} else {
imgg.src = "http://cafeimg.hanmail.net/cf_img2/bbs2/btn_select.gif";
}
*/
toggleCheckboxes();
}
function toggleCheckboxes() {
var combos = document.bbsForm.sequence;
if(!combos) {
return;
}
if(combos.length > 0){
for(i = 0; i < combos.length; i++)
combos[i].checked= !combos[i].checked;
}
else
combos.checked=!combos.checked;
}
function getCommentCount(){
var cnt = 0;
var combos = document.bbsForm.sequence;
for (var i = 0; i < combos.length; i++) {
if (combos[i].checked)
cnt++;
}
if(!combos) {
return 0;
}
return cnt;
}
function goShortCommentSpam() {
form = document.bbsForm;
var checkCount = getCommentCount();
var notimsg1 = "댓글 스팸 신고는 한번에 10건까지 가능합니다.\n";
notimsg1+="번거로우시더라도 다시 해주세요.";
if(checkCount <= 0) {
alert("스팸신고 대상을 선택하세요");
return;
} else if(checkCount > 10) {
alert(notimsg1);
return;
}
var notimsg="스팸신고를 하시겠습니까?\n";
notimsg+="해당 글 삭제와 동시에 회원은 강제탈퇴되며, singomaster에게 바로 신고 접수됩니다.";
if(confirm(notimsg)) {
document.bbsForm.fldid.value='FNKk';
document.bbsForm.dataid.value='1358';
document.bbsForm.move.value='%2F_c21_%2Fbbs_list%3Fgrpid%3DZ35w%26fldid%3DFNKk%26page%3D10%26prev_page%3D1%26firstbbsdepth%3D000TYzzzzzzzzzzzzzzzzzzzzzzzzz%26lastbbsdepth%3D000Rdzzzzzzzzzzzzzzzzzzzzzzzzz';
document.bbsForm.espam1358.value='Fl6DTcmnkDqKwRn6RAM8Rq9QzSlRZdsxZ7z.WDy1lII0';
form.method = "post";
form.action = "/_c21_/bbs_spam_shrtcmt_action?grpid=Z35w&mgrpid=";
form.submit();
}
}
function delShrtCmtBatch() {
alert("댓글 삭제 권한이 없습니다");
}
// 이모티콘 레이어 띄우기
function showEmotic[안내]태그제한으로등록되지않습니다-xxonSelector(e) {
var posx = 0;
var posy = 0;
if (!e) var e = window.event;
if (e.pageX || e.pageY)
{
posx = e.pageX;
posy = e.pageY;
}
else if (e.clientX || e.clientY)
{
posx = e.clientX + document.body.scrollLeft;
posy = e.clientY + document.body.scrollTop;
}
if (navigator.userAgent.match(/MSIE/)) {
document.getElementById('emoticon_modify').style.pixelLeft= (posx - 8) + 'px';
document.getElementById('emoticon_modify').style.pixelTop= (posy - 68) + 'px';
} else {
document.getElementById('emoticon_modify').style.left = (posx - 8) + 'px';
document.getElementById('emoticon_modify').style.top= (posy - 58) + 'px';
}
document.getElementById('emoticon_modify').style.display = "block" ;
}
function hideEmotic[안내]태그제한으로등록되지않습니다-xxonSelector() {
document.getElementById('emoticon_modify').style.display = "none" ;
}
function updateCharComment(length_limit, seq, textlimit) {
var comment = '';
if (textlimit == "modtextlimit") {
comment = $("comment_" + seq);
} else {
comment = $("commentReplyText_" + seq);
}
var form = document.bbsForm;
var length = calculate_msglen(comment.value);
document.getElementById(textlimit).innerHTML = length;
if (length > length_limit) {
alert("최대 " + length_limit + "byte이므로 초과된 글자수는 자동으로 삭제됩니다.");
comment.value = comment.value.replace(/\r\n$/, "");
comment.value = assert_msglen(comment.value, length_limit, textlimit);
}
}
var modifySeqEmo = -1;
var g_emoticon = -1;
function change_emo(face_num) {
g_emoticon = face_num;
document.bbsForm.emoticon.value = face_num;
if (modifySeqEmo == -1) {
document.bbsForm.emoticon_selected.src = "http://cafeimg.hanmail.net/cf_img/icon" + (face_num < 10 ? '0' + face_num : face_num) + ".gif";
} else {
curEmoId.src = "http://cafeimg.hanmail.net/cf_img/icon" + (face_num < 10 ? '0' + face_num : face_num) + ".gif";
}
}
//
// One-shot Effects
//
function highlight(o_id) {
if ($(o_id))
Fat.fade_element(o_id, null, 800, '#FFFF99');
}
function fadeout(o_id) {
if ($(o_id)) {
opacity(o_id, 100, 0, 500);
}
}
function displaynone(o_id) {
var seq = o_id.substring(4);
$("_cmt" + seq).style.display = 'none';
if ($("_cmt_line" + seq)) {
$("_cmt_line" + seq).style.display = 'none';
$("_cmt_reply" + seq).style.display = 'none';
}
}
// ]]>
|
|