홈 화면에서 이 부분에 넣고 싶은데요...

홈 화면에서 이 부분에 넣고 싶은데요...

QA

홈 화면에서 이 부분에 넣고 싶은데요...

본문

완전 생짜 초보입니다.

head.php 부분을 보고 이리저리 바꿔가면서 해보는데...

마음먹은대로 잘 안되네요...

 

b6c57dfda0100b2dc55eadef25202daa_1424036446_1148.JPG

표시 한 부분에 이미지라든지 링크를 넣고 싶은데...

어떻게 코드를 짜서 넣어야 될지...ㅠ.ㅠ

 

직접 질문을 해도 답이 없네요. ^^;
 

이 질문에 댓글 쓰기 :

답변 2

홈페이지 주소 알려주세요..넣는부분 알려드릴게요 

<div id="hd_wrapper">

    </ul></div>
            <a href="http://psy031.cafe24.com"><img src="http://psy031.cafe24.com/img/logo.jpg" alt="테스트사이트"></a>
        </div>

        <fieldset id="hd_sch">
            <legend>사이트 내 전체검색</legend>
            <form name="fsearchbox" method="get" action="http://psy031.cafe24.com/bbs/search.php" onsubmit="return fsearchbox_submit(this);">
            <input type="hidden" name="sfl" value="wr_subject||wr_content">
            <input type="hidden" name="sop" value="and">
            <label for="sch_stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
            <input type="text" name="stx" id="sch_stx" maxlength="20">
            <input type="submit" id="sch_submit" value="검색">
            </form>

            <script>
            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;
                }

                return true;
            }
            </script>
        </fieldset>

        <div id="text_size">
            <!-- font_resize('엘리먼트id', '제거할 class', '추가할 class'); -->
            <button id="size_down" onclick="font_resize('container', 'ts_up ts_up2', '');"><img src="http://psy031.cafe24.com/img/ts01.gif" alt="기본"></button>
            <button id="size_def" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up');"><img src="http://psy031.cafe24.com/img/ts02.gif" alt="크게"></button>
            <button id="size_up" onclick="font_resize('container', 'ts_up ts_up2', 'ts_up2');"><img src="http://psy031.cafe24.com/img/ts03.gif" alt="더크게"></button>
        </div>

        <ul id="tnb">
                        <li><a href="회원가입http://psy031.cafe24.com/bbs/register.php">회원가입</a></li>
            <li><a href="로그인http://psy031.cafe24.com/bbs/login.php"><b>로그인</b></a></li>
                        <li><a href="FAQhttp://psy031.cafe24.com/bbs/faq.php">FAQ</a></li>
            <li><a href="1:1문의http://psy031.cafe24.com/bbs/qalist.php">1:1문의</a></li>
            <li><a href="http://psy031.cafe24.com/bbs/current_connect.php">접속자
1</a></li>
            <li><a href="새글http://psy031.cafe24.com/bbs/new.php">새글</a></li>
    </ul></div>​

 

head.php 보시면

위에 부분이 상단 전체를 나타내는 코드구요.저부분 끝나는 곳에 넣고 싶으면

저 소스 끝나는 다음 라인에 다음 코딩을 하시면 됩니다..

<div> <img src="이미지주소" /> </div> //여기가 상단로고 아래에 넣는거고요.

<hr>


 
 

<nav id="gnb">

 

head.php에 그리고 더 아래 보시면 이부분이 나와요

<!-- 콘텐츠 시작 { -->
    </div>
    <div id="aside">
        <?php echo outlogin('basic'); // 외부 로그인  ?>
        <?php echo poll('basic'); // 설문조사  ?>

        <여기다 추가하시면 두번째 부분이 나옵니다 >

       <div><img src="이미지주소" /> </div> //이런식으로

     </div>​

 

 

 

 

답변을 작성하시기 전에 로그인 해주세요.
전체 59,641
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT