PM notification pop-up

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

How does OZZU does it? I know that it has being said about it before but I still don't know how to do...

Here is the CSS for the DIV that I have now...
Code: [ Select ]
.pmNotify {
position: absolute;
top: 15px;
left: 15px;
z-index: 7;
background-color: #CECECE;
width: 200px;
height: 50px;
}
  1. .pmNotify {
  2. position: absolute;
  3. top: 15px;
  4. left: 15px;
  5. z-index: 7;
  6. background-color: #CECECE;
  7. width: 200px;
  8. height: 50px;
  9. }

How can I make it so that the user can close the DIV with a simple [close] link?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

I'm using the following javascript to do that...

http://www.webmasterworld.com/forum91/441.htm

Except I don't need and don't use the showdiv thing... the only thing is, it shows again when you refresh the page, but I guess that's fine :)
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6243
  • Loc: Seattle, WA

Post 3+ Months Ago

PHP outputs either a 0 or a 1 depending on whether or not there's a PM, and JavaScript uses this value as a boolean value to determine whether or not to display the div.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 52 guests
  • 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 post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.