나의 성장과정  
Front Page
Tag | Location | Media | Guestbook | Admin   
 
greybox 1탄 - 활용 환경 준비

                                                      greybox

소개
  GreyBox can be used to display websites, images and other content in a beautiful way.

BASE

1. 패키지를 받아 로컬서버에 위치한다.

2. 사용할 리소스(html, jsp...)의 <head>에 아래 내용을 코딩하면 준비는 끝.
   
파란폰트는 로컬 커스터마이징한곳


    <script type="text/javascript">
        var GB_ROOT_DIR = "/rain/greybox/";
    </script>
   
    <script type="text/javascript" src="js/AJS.js"></script>
    <script type="text/javascript" src="js/AJS_fx.js"></script>
    <script type="text/javascript" src="js/gb_scripts.js"></script>


로컬 커스터마이징
 greybox의 자원들(이미지,loader_frame.html,js)은 GB_ROOT_DIR에 종속적이다.
 (즉, GB_ROOT_DIR을 잘못 설정해주면, greybox를 활용할 수 없다.)


   [내경우의 예]

    greybox 테스트파일
    http://localhost/rain/greybox/mock_Greybox.html     
 
    greybox 지원자원들
    /rain/greybox/image/*
    /rain/greybox/js/*
    /rain/grebox/css/*


   >> 지원자원 경로들을 바꿨기때문에 안에 경로들도 바꿔준다.
  1. gb_scripts.js  
       - .gif 로 검색하면 6개 나온다. 각 로컬 이미지 경로에 맞춘다.
  2. loader_frame.html
      - 8,10 Line : js 위치 수정
      - 39 Line    : gif 위치수정


하다가 잘 안되면 댓글.
TIP. 잘 안될땐 FireBug를 이용하여 어디를 고쳐야할지 판단하는게 큰 도움이 됐다.


BLOG main image
Simple is beatiful!
 Notice
 Category
분류 전체보기 (755)
전직 (0)
일상 (7)
진행중 (6)
3Fs (14)
미정 (3)
Serendipitous! (6)
지르자 : 맥북 (5)
(5)
FaceBook (3)
 TAGS
자바스크립트 DOM 접근지정자 Eclipse Debug JavaScript URL URLConnection laserjet HP CP1215 Safari color 사파리 primitive JS Java 커피 네트워크 tomcat
 Calendar
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
 Recent Entries
 Recent Comments
 Archive
 Link Site
상상할 수 있는 힘이 ..
즐겁게살자
인생의 소중한 꿈
{fly to the ocean.com}
누노의 컴퓨토피아
한RSS
[지인]I can\'t stop. Love. Lo…
[원츄]OK 괜찮아 다 잘 될거야
[원츄]애자일 이야기
[원츄]IBM Developerworks
 Visitor Statistics
Total :
Today :
Yesterday :
rss