Quote:
Originally Posted by PoetJA-1975
Now this seems nice! Question though - I've already installed New PM Notification - would love to implement the ajax feature... Anyway - that I could have the blinking notification of your hack appear in the navbar like the New PM Notification mod?
|
Yes, this is possible by changing the "New PM Notification" code in the
navbar template to:
HTML Code:
<td class="alt2" valign="top" nowrap="nowrap">
<span id="ajaxnewpmdiv">
<a href="/forum/private.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/newpm.gif" alt="You have a new PM" border="0"></a>
</span>
</td>
Since the visibility of the
ajaxnewpmdiv element is controlled by JavaScript code, anything within the
<span id="ajaxnewpmdiv"> ... </span> block will be "revealed" when a new private message arrives.
- Dan