mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 15:19:57 +09:00
planet의 글 번호로 접속시 해당 글의 날짜로 이동하고 name을 이용해 스크롤 되어 있도록 개선
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5214 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7992a7e888
commit
7e908a0d2f
2 changed files with 20 additions and 3 deletions
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
|
||||
<!--@foreach($content_list as $no => $item)-->
|
||||
<a name="document_{$item->document_srl}"></a>
|
||||
<div id="commentBody:{$item->get('document_srl')}" class="commentBody <!--@if($planet->getMid() == $item->getPlanetMid())-->myPlanet<!--@end-->">
|
||||
<!--// Original Text -->
|
||||
<div class="comment">
|
||||
|
|
@ -100,3 +101,9 @@
|
|||
</div>
|
||||
<!--@end-->
|
||||
<span class="tl"></span><span class="tr"></span><span class="bl"></span><span class="br"></span>
|
||||
|
||||
<!--@if($document_srl)-->
|
||||
<script type="text/javascript">
|
||||
xAddEventListener(window,'load', function() { try { location.href=location.href.replace(/#(.+)$/,'')+"#document_"+{$document_srl}; } catch(e) { } } );
|
||||
</script>
|
||||
<!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue