기준은 default_ajax 모바일 스킨입니다.
비슷할꺼에요 아마...
핵심은 .click(); 이겁니다
해당 파일은 modules/board/m.skins/default_ajax/read.html
먼저 첨부파일입니다.
42행쯤에
1 | < button type = "button" class = "tg" title = "open/close" ></ button > |
이것을
1 | < button type = "button" class = "tg tgr" title = "open/close" ></ button > |
이걸로 바꿉니다 참쉽죠?
그리고 댓글쓰기창은
80행 쯤에있습니다 역시나 위와같이 tgr만 추가해주시면 되구요
마지막 중요※※
sol님의 답변참조했습니다 ^^ (http://www.xpressengine.com/qna/20350796)
제일 끝으로 내려갑니다.
그럼 144행에 )); <-이렇게 되있을겁니다.
거기서 .click()를 추가시켜
)).click();
이렇게 만들어줍니다.
몇줄때와보면..
1 2 3 4 5 6 | loadPage({$oDocument->document_srl}, {$lastpage}); } }); }); //]]> </ script > |
이것을
1 2 3 4 5 6 | loadPage({$oDocument->document_srl}, {$lastpage}); } }).click(); }); //]]> </script> |