Jump to content

Help with this script!


Shadow316

Recommended Posts

Hey this is for a forum template in phpbb,

Theres an image button, With the word Private message in white color font, well when some one gets a new message i want it to switch to my image with the the word Private message in red color font,


this is the only thing i found that deals with notifcation of a new message, i may be wrong




[code]--the switch--

<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->

--end the switch-- [/code]

[code]this is some other code twords the bottom i found with relating to the PM's images

<a onmouseover="changeImages( /*CMP*/'pms',/*URL*/'templates/Charcoal2/images/pms_on.jpg');return true" onmouseout="changeImages( /*CMP*/'pms',/*URL*/'templates/Charcoal2/images/pms.jpg');return true" href="{U_PRIVATEMSGS}"><img src="templates/Charcoal2/images/pms.jpg" alt="" name="pms" height="37" width="111" border="0"></a></td> [/code]
Link to comment
https://forums.phpfreaks.com/topic/14100-help-with-this-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.