|
#1
|
||||
|
||||
|
comments content not in pop-up - how?
I'de like to show comments content not in pop-up window, but directly in page under given image.
Yes, I know my question is lame ... but any tips/link will be appreciated. Thx in advance. |
|
#2
|
||||
|
||||
|
I already know the answer. I apologise for my stupid question.
|
|
#3
|
|||
|
|||
|
Perhaps you could share with me then?
|
|
#4
|
||||
|
||||
|
Quote:
Here: http://www.pixelpost.org/faq/faq.php...tegory_id=3#11 Tag <IMAGE_COMMENTS> |
|
#5
|
|||
|
|||
|
>I'de like to show comments content not in pop-up window
so do i! and a still have not found the answer. <IMAGE_COMMENTS> shows all commnet, right? but i do not know how to replace it. replace <COMMENT_POPUP>? |
|
#6
|
|||
|
|||
|
please! Compare some of the templates which come with PixelPost!
In one of the templates the popup is used, and in the light-template you see the following: Code:
<div id="comments">
<a href='#addcomment' onclick="flip('add-comment'); gotocomments(); return false;">Add Comment</a>
<IMAGE_COMMENTS>
</div>
<div id="add-comment">
<script type='text/javascript'>
<!--
function gotocomments()
{
document.location = '#addcomment';
}
-->
</script>
<script language='javascript' type='text/javascript'>flip('add-comment');</script>
<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
<a name="addcomment">Message:</a><br />
<textarea name='message' rows='2' cols='40'></textarea><br />
<label for="name">Name:</label><br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/><br />
<label for="url">Website URL, if any:</label><br />
<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/><br />
<label for="email">Email (not visible to others):</label><br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/><br />
<input type='checkbox' value='set' name='vcookie' id="saveinfo" />Save User Info<br /><br />
<input type='submit' value='Add' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
</form>
</div>
|
|
#7
|
|||
|
|||
|
thank you Connie !
i tryed this code that you showed. but i want to make like this , All comment are not visible at first, and if it clicks, a comment will appear. i checked some of the templates but, i culdn't find out! sorry, about this question... |
|
#8
|
||||
|
||||
|
Quote:
------------ <div id="image-info"> <span class="addcomment">+ <COMMENT_POPUP> [<IMAGE_COMMENTS_NUMBER>]</span> <IMAGE_COMMENTS> <span class="title"><IMAGE_TITLE></span> - <IMAGE_DATETIME> ------------ |
|
#9
|
|||
|
|||
|
thank you empiryk!
i did put the code , it's OK! but i still wanted to hide all comment at first... |
|
#10
|
||||
|
||||
|
Quote:
|
| Post Reply |
| Thread Tools | |
|
|