묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
야후만화에서의 만화보기창처럼 구현하고 싶습니다.
2003.04.30 17:04
제가 궁금한 것은 이미지경로(만화로 치자면 만화본문 이미지)를 어떻게 적용시켜야 할지 애매해서 입니다.
<object classid............뒤부분의 param name부분을 수정하면 될것 같은데..
잘 모르겠네요..-.-;
html소스를 첨부할 수 없어서 소스를 그대로 넣어봅니다.
해석가능하신 분들 가르쳐주시면 감사하겠습니다.
-------------------------------------------------------------------------------------------------
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html;charset=euc-kr">
<link rel=stylesheet type="text/css" href="http://kr.comics.yahoo.com/css/ykr2.css">
<STYLE type="text/css">
OBJECT { background-image: url(http://img.yahoo.co.kr/comics/wait.gif);
background-repeat: no-repeat;
background-position : center center;
}
</STYLE>
<script language="JavaScript">
function ContentsProperty()
{
document.form1.ToonsX.ContentsProperty()
}
function GoToBack()
{
document.form1.ToonsX.GoToBack();
document.form1.PageNo.value = document.form1.ToonsX.GetCurrentPage();
}
function GoToNext()
{
document.form1.ToonsX.GoToNext();
document.form1.PageNo.value = document.form1.ToonsX.GetCurrentPage();
}
function GoToPage()
{
nPage = document.form1.PageNo.value;
document.form1.ToonsX.GoToPage(nPage);
}
function GetCurrentPage()
{
nPage = document.form1.ToonsX.GetCurrentPage();
alert("현재 " + nPage + "페이지입니다.");
}
function GetTotalPage()
{
nPage = document.form1.ToonsX.GetTotalPage();
alert("전체 " + nPage + "페이지입니다.");
}
function ZoomSelect()
{
nZoom = document.form1.Zoom.value;
document.form1.ToonsX.ZoomSelect(nZoom);
}
function AutoPage()
{
nAutoTime = document.form1.auto.options[document.form1.auto.selectedIndex].value;
document.form1.ToonsX.AutoPage(nAutoTime);
}
function SetMagnifying()
{
document.form1.ToonsX.SetMagnifying();
}
function GoToOther(theP)
{
theC = document.form1.select2.options[document.form1.select2.selectedIndex].value;
parent.document.location.href="http://kr.comics.yahoo.com/cgi/index.cgi?c="+theC+"&p="+theP;
}
</script>
<script for="ToonsX" EVENT="ReturnCurPage(page)" LANGUAGE="JavaScript">
document.form1.PageNo.value = page;
curpage.innerText = page;
focus();
document.pvimg.src = "http://kr.fortune.yahoo.com/comics/free.html";
document.pvimg2.src = "http://kr.fortune.yahoo.com/comics/free.html";
</script>
<script for="ToonsX" EVENT="ReturnTotPage(page)" LANGUAGE="JavaScript">
totpage.innerText = page;
</script>
</head>
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false" topmargin="0" leftmargin="0" bgcolor="#072434" text="#6699CC">
<script>
window.resizeTo(1024, 758);
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name="form1" onSubmit="javascript:GoToPage(); return false">
<tr>
<td bgcolor="#0C3F5A" width=100% height="38">
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30%" height="45">
<p align="justify"> <font size="4" face="새굴림,새굴림" color="#CCCCCC"><sup><b>테스트</b></sup></font> <b><strong><font face="서울들국화,새굴림" size="6" color="white"><i><em>TEST</em></i></font></strong></b></td>
<td height="45">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align=center> <font color="#8FCFF3" class="ssbody">페이지전환 </font> </td>
<td>
<select name="auto" onChange="javascript:AutoPage()">
<option value="0">수동
<option value="5">5초
<option value="8">8초
<option value="10">10초
<option value="13">13초
<option value="15">15초
<option value="20">20초
</select>
</td>
<td class="ssbody">
<p><font color="#8fcff3">현재페이지</font></p>
</td>
<td class="ssbody"> <font color="#8fcff3">/ </font></td>
<td> <span class="ssbody"><font color="#8FCFF3">바로가기</font></span></td>
<td class=ssbody>
<input type="text" name="PageNo" size="3">
<a href="javascript:GoToPage()"><img src="http://img.yahoo.co.kr/comics/viewer_go.gif" width="23" height="14" border="0" onClick="javascript:GoToPage()"></a></td>
<td width="8"></td>
<td align=right valign=top> <div><font color="#8FCFF3"><a href="javascript:GoToBack()"><img src="http://img.yahoo.co.kr/comics/arrow_pp.gif" width="31" height="35" border="0" alt="이전페이지"></a></font></div>
</td>
<td width="8"></td>
<td valign=top> <div><a href="javascript:GoToNext()"><img src="http://img.yahoo.co.kr/comics/arrow_n.gif" width="31" height="35" border="0" alt="다음페이지"></a>
<img border=0 height=0 width=0 src="http://kr.fortune.yahoo.com/comics/free.html" name=pvimg>
<img border=0 height=0 width=0 src="http://kr.fortune.yahoo.com/comics/free.html" name=pvimg2>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#1F70BF" height="1"></td>
</tr>
<tr>
<td bgcolor="#072434" height="100%" valign="top">
<center>
<object classid="clsid:B0C9EAC7-BD8C-44AD-B89C-86EDFDAA7C56" id="ToonsX" width="1010" height="675"
codebase="http://kr.download.yahoo.com/comics/ToonsXYahoo.cab#version=1,0,1,1">
<param name="Param1" value="comicssvr.yahoo.co.kr">
<param name="Param3" value="whoopeeda2&c/10201003_001.tns&TR&200304291956">
<param name="Param4" value="OKgtQUiXS2e52EYEg64xqyUx0oQ">
<param name="DoublePage" value="TRUE">
<param name="JAPAN" value="FALSE">
<param name="Mohenz" value="">
<param name="ErrorMessage" value="1">
</object>
</center>
</td>
</tr>
</form>
</table>
</body>
</html>
<object classid............뒤부분의 param name부분을 수정하면 될것 같은데..
잘 모르겠네요..-.-;
html소스를 첨부할 수 없어서 소스를 그대로 넣어봅니다.
해석가능하신 분들 가르쳐주시면 감사하겠습니다.
-------------------------------------------------------------------------------------------------
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html;charset=euc-kr">
<link rel=stylesheet type="text/css" href="http://kr.comics.yahoo.com/css/ykr2.css">
<STYLE type="text/css">
OBJECT { background-image: url(http://img.yahoo.co.kr/comics/wait.gif);
background-repeat: no-repeat;
background-position : center center;
}
</STYLE>
<script language="JavaScript">
function ContentsProperty()
{
document.form1.ToonsX.ContentsProperty()
}
function GoToBack()
{
document.form1.ToonsX.GoToBack();
document.form1.PageNo.value = document.form1.ToonsX.GetCurrentPage();
}
function GoToNext()
{
document.form1.ToonsX.GoToNext();
document.form1.PageNo.value = document.form1.ToonsX.GetCurrentPage();
}
function GoToPage()
{
nPage = document.form1.PageNo.value;
document.form1.ToonsX.GoToPage(nPage);
}
function GetCurrentPage()
{
nPage = document.form1.ToonsX.GetCurrentPage();
alert("현재 " + nPage + "페이지입니다.");
}
function GetTotalPage()
{
nPage = document.form1.ToonsX.GetTotalPage();
alert("전체 " + nPage + "페이지입니다.");
}
function ZoomSelect()
{
nZoom = document.form1.Zoom.value;
document.form1.ToonsX.ZoomSelect(nZoom);
}
function AutoPage()
{
nAutoTime = document.form1.auto.options[document.form1.auto.selectedIndex].value;
document.form1.ToonsX.AutoPage(nAutoTime);
}
function SetMagnifying()
{
document.form1.ToonsX.SetMagnifying();
}
function GoToOther(theP)
{
theC = document.form1.select2.options[document.form1.select2.selectedIndex].value;
parent.document.location.href="http://kr.comics.yahoo.com/cgi/index.cgi?c="+theC+"&p="+theP;
}
</script>
<script for="ToonsX" EVENT="ReturnCurPage(page)" LANGUAGE="JavaScript">
document.form1.PageNo.value = page;
curpage.innerText = page;
focus();
document.pvimg.src = "http://kr.fortune.yahoo.com/comics/free.html";
document.pvimg2.src = "http://kr.fortune.yahoo.com/comics/free.html";
</script>
<script for="ToonsX" EVENT="ReturnTotPage(page)" LANGUAGE="JavaScript">
totpage.innerText = page;
</script>
</head>
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false" topmargin="0" leftmargin="0" bgcolor="#072434" text="#6699CC">
<script>
window.resizeTo(1024, 758);
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name="form1" onSubmit="javascript:GoToPage(); return false">
<tr>
<td bgcolor="#0C3F5A" width=100% height="38">
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30%" height="45">
<p align="justify"> <font size="4" face="새굴림,새굴림" color="#CCCCCC"><sup><b>테스트</b></sup></font> <b><strong><font face="서울들국화,새굴림" size="6" color="white"><i><em>TEST</em></i></font></strong></b></td>
<td height="45">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align=center> <font color="#8FCFF3" class="ssbody">페이지전환 </font> </td>
<td>
<select name="auto" onChange="javascript:AutoPage()">
<option value="0">수동
<option value="5">5초
<option value="8">8초
<option value="10">10초
<option value="13">13초
<option value="15">15초
<option value="20">20초
</select>
</td>
<td class="ssbody">
<p><font color="#8fcff3">현재페이지</font></p>
</td>
<td class="ssbody"> <font color="#8fcff3">/ </font></td>
<td> <span class="ssbody"><font color="#8FCFF3">바로가기</font></span></td>
<td class=ssbody>
<input type="text" name="PageNo" size="3">
<a href="javascript:GoToPage()"><img src="http://img.yahoo.co.kr/comics/viewer_go.gif" width="23" height="14" border="0" onClick="javascript:GoToPage()"></a></td>
<td width="8"></td>
<td align=right valign=top> <div><font color="#8FCFF3"><a href="javascript:GoToBack()"><img src="http://img.yahoo.co.kr/comics/arrow_pp.gif" width="31" height="35" border="0" alt="이전페이지"></a></font></div>
</td>
<td width="8"></td>
<td valign=top> <div><a href="javascript:GoToNext()"><img src="http://img.yahoo.co.kr/comics/arrow_n.gif" width="31" height="35" border="0" alt="다음페이지"></a>
<img border=0 height=0 width=0 src="http://kr.fortune.yahoo.com/comics/free.html" name=pvimg>
<img border=0 height=0 width=0 src="http://kr.fortune.yahoo.com/comics/free.html" name=pvimg2>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#1F70BF" height="1"></td>
</tr>
<tr>
<td bgcolor="#072434" height="100%" valign="top">
<center>
<object classid="clsid:B0C9EAC7-BD8C-44AD-B89C-86EDFDAA7C56" id="ToonsX" width="1010" height="675"
codebase="http://kr.download.yahoo.com/comics/ToonsXYahoo.cab#version=1,0,1,1">
<param name="Param1" value="comicssvr.yahoo.co.kr">
<param name="Param3" value="whoopeeda2&c/10201003_001.tns&TR&200304291956">
<param name="Param4" value="OKgtQUiXS2e52EYEg64xqyUx0oQ">
<param name="DoublePage" value="TRUE">
<param name="JAPAN" value="FALSE">
<param name="Mohenz" value="">
<param name="ErrorMessage" value="1">
</object>
</center>
</td>
</tr>
</form>
</table>
</body>
</html>