Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...
Author Message
BamBamPSK
Regular
Regular


Joined: Nov 11, 2003
Posts: 61

PostPosted: Sun Jan 18, 2004 9:40 am Reply with quote

ok im looking for some one to help me out a bit......i know most people have the pop up blockers and others dont have the pop up window enabled so what i was wondering is if there is a way to make the PM links "glow" or blink? to draw attention to itsself so they know they have a new PM...this would only glow or blink when a new pm is in their box and is always on by default.

_________________
Image 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sun Jan 18, 2004 2:07 pm Reply with quote

There are many options to accomplish this. Real quickly, and this is just throw together code, you could try this. In your user info block code, assuming you are using one of the more common ones, you should have code like this
Code:
   $content .= "<img src=\"images/blocks/email-r.gif\" height=\"10\" width=\"14\">"._BUNREAD.": <b>$newpms</b><br />\n";
Modify it to this
Code:
   if ($newpms>0) $content .= "<img src=\"images/blocks/email-r.gif\" height=\"10\" width=\"14\"><span style=\"position:relative; height:10;filter:glow(Color=#009966,Strength=3)\">"._BUNREAD."</span>: <b>$newpms</b><br />\n";

    else $content .= "<img src=\"images/blocks/email-r.gif\" height=\"10\" width=\"14\">"._BUNREAD.": <b>$newpms</b><br />\n";
and play around with it. Bottom line you will probably want to add some sort of style attribute to a span tag to surround the UNREAD message text.
 
View user's profile Send private message
BamBamPSK
PostPosted: Sun Jan 18, 2004 2:34 pm Reply with quote

thanks
 
ecvej
Hangin' Around


Joined: Oct 10, 2004
Posts: 45
Location: Northampton, UK

PostPosted: Mon Nov 15, 2004 3:48 pm Reply with quote

Only registered users can see links on this board! Get registered or login!

I made the status bar flash there when users have a PM. You might want to edit your javascript.php instead of your header.php. (I had special reasons for editing my header.php)
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Seeking applications ...

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©