Jump to content


Photo

Help with this script!


  • Please log in to reply
No replies to this topic

#1 Shadow316

Shadow316
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 09 July 2006 - 03:22 PM

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




--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--


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>





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users