Quote:
Originally Posted by Milad
I think it's better to add a click-able link per post, on clicking that link the highlighted text will be quoted.
|
Instead of this:
Quote:
REPLACE WITH:
Code:
<div id="post_message_$post[postid]" onmouseup="quickquote('$post[musername]', '$post[postid]');">
$post[message]
</div>
|
Do something like this:
Quote:
REPLACE WITH:
Code:
<div id="post_message_$post[postid]">
$post[message]
</div>
<div>
<a href="javascript:;" onclick="quickquote('$post[musername]', '$post[postid]');"><img src="quickquote.jpg" /></a>
</div>
|
Untested, but that should work. The key point is changing onmouseup to onclick which will trigger the quote transfer when the item is clicked, instead of when you've raised your mouse button after highlighting.