[jQuery] 왼쪽에 숨겨진 레이어를 보여주자
2013.08.09 14:35
4330
0
https://eond.com/341177
object(HotopayModel)#831 (23) { ["error"]=> int(0) ["message"]=> string(7) "success" ["variables"]=> array(0) { } ["httpStatusCode"]=> int(200) ["module"]=> string(7) "hotopay" ["module_info"]=> NULL ["origin_module_info"]=> NULL ["module_config"]=> NULL ["module_path"]=> string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/" ["xml_info"]=> NULL ["module_srl"]=> NULL ["mid"]=> NULL ["act"]=> NULL ["template_path"]=> NULL ["template_file"]=> NULL ["layout_path"]=> NULL ["layout_file"]=> NULL ["edited_layout_file"]=> NULL ["stop_proc"]=> bool(false) ["user"]=> object(Rhymix\Framework\Helpers\SessionHelper)#830 (20) { ["member_srl"]=> int(0) ["user_id"]=> NULL ["user_name"]=> NULL ["nick_name"]=> NULL ["email_address"]=> NULL ["phone_number"]=> NULL ["homepage"]=> NULL ["blog"]=> NULL ["birthday"]=> NULL ["denied"]=> NULL ["status"]=> NULL ["is_admin"]=> string(1) "N" ["is_site_admin"]=> NULL ["profile_image"]=> NULL ["image_name"]=> NULL ["image_mark"]=> NULL ["signature"]=> NULL ["description"]=> NULL ["group_list"]=> array(0) { } ["menu_list"]=> array(0) { } } ["request"]=> object(Rhymix\Framework\Request)#10 (13) { ["method"]=> string(3) "GET" ["compat_method"]=> string(3) "GET" ["url"]=> string(28) "coding/341177/comment/465049" ["hostname"]=> string(8) "eond.com" ["domain"]=> NULL ["protocol"]=> string(5) "https" ["callback_function"]=> string(0) "" ["_route_status":protected]=> int(200) ["_route_options":protected]=> object(stdClass)#11 (5) { ["cache_control"]=> bool(true) ["check_csrf"]=> bool(true) ["is_forwarded"]=> bool(false) ["is_indexable"]=> bool(true) ["enable_session"]=> bool(true) } ["module"]=> string(5) "board" ["mid"]=> string(6) "coding" ["act"]=> string(16) "dispBoardContent" ["args"]=> array(6) { ["category"]=> string(6) "341166" ["page"]=> int(1) ["document_srl"]=> string(6) "341177" ["comment_srl"]=> string(6) "465049" ["mid"]=> string(6) "coding" ["act"]=> string(16) "dispBoardContent" } } ["ajaxRequestMethod"]=> array(2) { [0]=> string(6) "XMLRPC" [1]=> string(4) "JSON" } ["gzhandler_enable"]=> bool(true) }

기본적인 사용은 여기에서 가져왔습니다.

http://oscarotero.com/jquery/


잠시 일이 있어 간단하게 코드만 적어놓고 갑니다. =3=33


위 소스를 이용해 만든 예제 입니다.


twitter_slide_widget.zip


위 예제의 스크린샷입니다. 

기본으로 화살표가 숨겨져 있고, 화살표를 누르면 숑~ 하는 느낌으로 나타납니다. 예쁘근영!

(팁으로, 화살표는 패딩값을 10픽셀 이상 줬습니다. 그만큼 왼쪽으로 마진값을 넣어줬구요. 오른쪽 패딩값은 넉넉하게 20픽셀 줬습니다.)


디자인을 추가하자면, 탭형식으로 공지사항, 트위터, 페이스북, 등록된 상품 이런 최근 게시물을 넣을 수 있습니다.

jQuery 슬라이드로 휙휙 이동하게끔 보여지면, 작은 공간을 충분히 잘 활용할 수도 있구요. ^^


scr_jquery_animate_toggle.png

라이믹스는 이온디와 함께

HTML5/CSS3
-
+
닫기

마이페이지

로그인을 해주세요

네이버로 로그인