head 파트가 어렵네요 > 그누4 질문답변

그누4 질문답변

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

head 파트가 어렵네요 정보

head 파트가 어렵네요

본문

이것은 head 파트 부분인데  인덱스 부분이 해드 파트 밑으로 가서 정상적으로는  옆으로 가야 하는

데 도와 주십시요 간단한 문제인데 제가 초보라서 하기가 힘드네요

몇번 시도 했는데 안되네요.. 



<Script>
var timerID,
    srcElemActive,
    count = 0,
    oldColor;

var clrArray = new Array(
        '000000', '000000', '000000', '000000', // blue
        '000000', '000000', '000000', '000000', // green
        '000000', '000000', '000000', '000000' // red
);

var ie = navigator.appName=='Microsoft Internet Explorer'?true:false,
    op = window.opera?true:false,
    ns = navigator.vendor?true:false;


function ChangeColor() {
    if(srcElemActive) srcElemActive.style.color = '#' + clrArray[count++];
    if(count == (clrArray.length - 1)) count = 0;
}

// makeRainbow function
function makeRainbow(evt) {
    if(op) return;
    var srcElem = getObject(evt);
    var temp = "";
    if(srcElem.tagName == "A" && srcElem.href != '') {
          srcElemActive = srcElem;
          oldColor = srcElem.style.color;
        timerID = setInterval("ChangeColor()", 200);
    }
    return true;
}

// stopRainbow function
function stopRainbow(evt) {
    var srcElem = getObject(evt);
    if(op && srcElem.className != 'rate_item') return;
    if(srcElemActive && srcElem.tagName == "A" && srcElem.href != '') {
          srcElemActive = null;
          srcElem.style.color = oldColor;
        clearInterval(timerID);
    }
}

// getObject function
function getObject(evt) {
    var srcElem;
    if(ie) {
          srcElem = event.srcElement;
    } else {
          srcElem = evt.target;
    }
    return srcElem;
}

document.onmouseover = makeRainbow;
document.onmouseout = stopRainbow;
</script>
</head>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include ("new_menu.php");

//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 1004;
?>

<!-- 상단 배경 시작 -->
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>



<table width="958" cellspacing="1" cellpadding="1">
<tr>
    <td width="952" background="<?=$g4['path']?>/img/"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="952" height="150">
      <param name="movie" value="http://xn--9d0bo79bpmeq2k.com/swf/2.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="6.0.65.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://xn--9d0bo79bpmeq2k.com/swf/2.swf" width="952" height="150">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object></td>
</tr>
</table>
<script type="text/javascript">
function fsearchbox_submit(f)
{
    if (f.stx.value.length < 2) {
        alert("검색어는 두글자 이상 입력하십시오.");
        f.stx.select();
        f.stx.focus();
        return false;
    }

    // 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
    var cnt = 0;
    for (var i=0; i<f.stx.value.length; i++) {
        if (f.stx.value.charAt(i) == ' ')
            cnt++;
    }

    if (cnt > 1) {
        alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
        f.stx.select();
        f.stx.focus();
        return false;
    }

    f.action = "<?=$g4['bbs_path']?>/search.php";
    return true;
}
</script>
<!-- 검색 끝 -->
<table border="0" width="190" cellpadding="0" cellspacing="0" height="378">
    <tr>
        <td colspan="6" height="62"><?=outlogin("basic"); // 외부 로그인 ?></td>
    </tr>
    <tr>
        <td colspan="6" height="62"><img src="../img/menu.jpg" width="186" height="62" border="0"></td>
    </tr>
    <tr>
        <td width="10" bgcolor="#3F931A" rowspan="10" height="111">&nbsp;</td>
        <td width="18" height="25">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
        <td width="146" height="25"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=gospel">말씀요약&nbsp;
            <?=new_count(gospel);?>
        </a></td>
        <td width="2" height="25"></td>
        <td width="10" bgcolor="#3F931A" rowspan="10" height="111">&nbsp;</td>
        <td width="4" height="25"></td>
    </tr>
    <tr>
        <td width="18" height="25">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
        <td width="146" height="25"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=freeboard">초원게시판&nbsp;
            <?=new_count(freeboard);?>
        </a></td>
        <td width="2" height="25"></td>
        <td width="4" height="25"></td>
    </tr>
    <tr>
        <td width="18" height="25">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
        <td width="146" height="25"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=dd_04">목양수필&nbsp;
                  <?=new_count(dd_04);?></a></td>
        <td width="2" height="25"></td>
        <td width="4" height="25"></td>
    </tr>
   
    <tr>
        <td width="18" height="25">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
        <td width="146" height="25"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=stbib">성경공부&nbsp;<?=new_count(stbib);?></a></td>
        <td width="2" height="25"></td>
        <td width="4" height="25"></td>
    </tr>
    <tr>
        <td width="18" height="25">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
        <td width="146" height="25"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=qt">큐티나눔&nbsp;<?=new_count(qt);?></a></td>
        <td width="2" height="25"></td>
        <td width="4" height="25"></td>
    </tr>
    <tr>
        <td width="18" height="25">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
        <td width="146" height="25"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=chnews">교회/교우소식&nbsp;<?=new_count(chnews);?></a></td>
        <td width="2" height="25"></td>
        <td width="4" height="25"></td>
    </tr>
   
    <tr>
      <td height="25">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
      <td height="25"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=pray">기도요청&nbsp;
          <?=new_count(pray);?>
      </a></td>
      <td height="25"></td>
      <td height="25"></td>
    </tr>
    <tr>
      <td height="25">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
      <td height="25"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=intro">교우사업장소개&nbsp;
          <?=new_count(intro);?>
      </a></td>
      <td height="25"></td>
      <td height="25"></td>
    </tr>
    <tr>
      <td height="30">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
      <td height="30"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=today">오늘의포토&nbsp;
          <?=new_count(today);?>
      </a></td>
      <td height="30"></td>
      <td height="30"></td>
    </tr>
    <tr>
        <td width="18" height="23">&nbsp;<img src="../img/icon01.gif" alt="" width="6" height="10" /></td>
        <td width="146" height="23"><a href="http://xn--9d0bo79bpmeq2k.com//bbs/board.php?bo_table=chomiss">초원선교회&nbsp;
            <?=new_count(chomiss);?>
        </a></td>
        <td width="2" height="23"></td>
        <td width="4" height="23"></td>
    </tr>
    <tr>
        <td colspan="6" height="62"><img src="../img/s.jpg" width="186" height="62" border="0"></td>
    </tr>
    <tr>       
        <td colspan="6" height="62"><?=visit("grinbi_visit")?></td>
    </tr>     
</table><td width=18></td>
<!-- 중간 -->
    <td width=683 valign=top>
     
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로