Grey Box:New Javascript Popup Box

GreyBox logo
A pop-up window that doesn’t suck.

Introduction

GreyBox can be used to display websites, images and other content in a beautiful way.

Why use GreyBox:

  • It does not conflict with pop-up blockers
  • It’s only 22 KB!
  • It’s super easy to setup
  • It’s super easy to use
  • You can easily alter the style as it is controlled through CSS

Where could it be used?

  • Showing external pages
  • AJAX uploading of files
  • Showing internal pages (login, user preference, properties, contact formulas etc.)
  • Showing a video or a flash animation
  • Showing images
  • Showing product information
  • Admin sections

What browsers are supported?

  • Safari
  • Firefox 1.5+
  • Internet Explorer 5.5+
  • Opera 8.5+

Other browsers may also be supported.

Download

Advertisements

Send Email Using PHPMailer and GMail

Here is the script :

include "phpMailer2/class.phpmailer.php";
 $mailer = new PHPMailer();
 $mailer->IsSMTP();
 $mailer->Host = 'ssl://smtp.gmail.com';
 $mailer->Port = 465;
 $mailer->SMTPAuth = TRUE;
 $mailer->Username = 'sample@gmail.com';  // Change this to your gmail adress
 $mailer->Password = 'samplexxx';  // Change this to your gmail password
 $mailer->From = 'sample@gmail.com';  // This HAVE TO be your gmail adress
 $mailer->FromName = 'Your Website'; // This is the from name in the email, you can put anything you like here
 $mailer->IsHTML( true );
 $mailer->Subject = 'Your Website: ' . $subject;
 $mailer->Body = 'Name: 
‘ . $name . ‘
';
 $mailer->Body .= 'Email: 
‘ . $email . ‘
';
 $mailer->Body .= 'Message: 
‘ . $message . ‘
';
 $mailer->AddAddress( myfriendsemail@yahoo.com );  // This is where you put the email address of the person you want to mail
 if(!$mailer->Send())
 {
echo "
“;
echo ”

Message was not sent

“;
echo “Mailer Error: ” . $mailer->ErrorInfo;
echo ”

";
 }
 else
 {
echo "
“;
echo “Your message has been sent.”;
echo “
";
  $action = 'something';
 }
%d bloggers like this: