코프

최근갤러리에어서

이미지에 마우스 대면 테두리색이 나오게 하고 싶은데 어딜고쳐야할까요??
아무리 봐도 잘 모르겠네요..
그리고 최근 갤러리 스킨에서 제목도 나오게 하고 싶은데..제대로 나오질 않네요..
이것좀 봐주시겠어요?ㅜㅜ

<?
if (!defined("_GNUBOARD_")) exit; //
?>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" id="table1">

<tr>

</td>
<td width="1" bgcolor="#d9d9d9"></td>
</tr>
<tr height="1">
<td bgcolor="#d9d9d9" colspan="3"></td>
</tr>
</table>

<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" id="table6">
<tr height="5"><td width="1" bgcolor="#d9d9d9" height="3"></td>
<td colspan="2" height="3"></td>
<td width="1" bgcolor="#d9d9d9" height="3"></td></tr>
<? for ($i=0; $i<count($list); $i++) {?>
<tr>
<td width="1" bgcolor="#d9d9d9"></td>
<td width="5"></td>
<td height="21">

<table width=100% cellpadding=0 cellspacing=0 style="border-collapse:collapse;" style="border-top-width:0; border-right-width:0; border-bottom-width:0; border-left-width:0; border-top-color:rgb(181,181,181); border-right-colorrgb(181,181,181); border-bottom-color:rgb(181,181,181); border-left-color:rgb(181,181,181); border-style:solid;" id="table7">
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>

<tr>
<td width="100%" style="border-width:0; border-color:black; border-style:solid;">
<table width=0 border=0 id="table8">
<tr>
<?
for ($i=0; $i<count($list); $i++)
{
if ($i > 0)
echo '';

$title = get_text($list[$i][wr_subject]);
$content = cut_str(get_text($list[$i][wr_content]), 80);
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
if (!file_exists($img) || !$list[$i][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";

echo <<<HEREDOC
<td width='0' valign='top' align=''>
<table border="0" id="table2" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" id="table3" cellspacing="1" bgcolor="#DFDAC8">
<tr>
<td bgcolor="#f32af5">
<a href="{$list[$i][href]}">
<img style="FILTER: alpha(opacity=100)" onmouseover="this.style.filter = 'alpha(opacity=50)';" onmouseout="this.style.filter='none';" border="0" src="{$img}" width="96" height="80"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
HEREDOC;
}
?>
</tr>
</table>
<? if (count($list) == 0) { ?>아직없음.<? } ?></tr></table>
</td>
<!--게시물 추출 글자 설정 끝-->
<td width="1" bgcolor="#d9d9d9"></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><? } ?>
<tr height="5"><td width="1" bgcolor="#d9d9d9" height="3"></td>
<td colspan="2" height="3"></td>
<td width="1" bgcolor="#d9d9d9" height="3"></td></tr>
<tr height="1">
<td bgcolor="#d9d9d9" colspan="4"></td>
</tr>
</table>
|

댓글 3개

onmouseover에 this.style.border-color=#000000 를 추가하세요.
제목은 $list[$i][wr_subject] 입니다. 원하는 곳에 넣으세요.
제목나오게...
$content = cut_str(get_text($list[$i][wr_content]), 80); 아래줄에
$subject = cut_str(get_text($list[$i][wr_subject), 60); 해보세요...
뒷쪽 60이라는 숫자를 크게 혹은 작게 바꾸시면 제목으로 출력되는 글자수가 늘었다 줄었다... 합니다.

이미지 아래줄에 출력원하시면...
<img style="FILTER: alpha(opacity=100)" onmouseover="this.style.filter = 'alpha(opacity=50)';" onmouseout="this.style.filter='none';" border="0" src="{$img}" width="96" height="80"></a></td>
</tr>
<tr><td>{$subject}</td></tr> 해보세요.
============================
제목말구여.마우스 오버시에 테두리에 색상이 넣는거요..ㅜㅜ
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
14년 전 조회 1,557
14년 전 조회 1,165
14년 전 조회 1,701
14년 전 조회 1,263
14년 전 조회 751
14년 전 조회 734
14년 전 조회 545
14년 전 조회 730
14년 전 조회 1,609
14년 전 조회 1,540
14년 전 조회 1,582
14년 전 조회 1,013
14년 전 조회 1,118
14년 전 조회 1,874
14년 전 조회 815
14년 전 조회 1,020
14년 전 조회 1,525
14년 전 조회 1,199
14년 전 조회 968
14년 전 조회 1,119