Shadow316 Posted July 9, 2006 Share Posted July 9, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/14100-help-with-this-script/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.