Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, August 29, 2012

Design Cross-browser using Modernizr - Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser. http://modernizr.com/



Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user's browser.

Why use Modernizr?

Taking advantage of cool new web technologies is great fun, until you have to support browsers that lag behind. Modernizr makes it easy for you to write conditional JavaScript and CSS to handle each situation, whether a browser supports a feature or not. It's perfect for doing progressive enhancement easily.

Saturday, August 25, 2012

Sending Email using gmail

Sending Email:


NameSpace:


using System.Net.Mail;

 

Coding:


MailMessage om = new MailMessage("suthahar@gmail.com", "jssuthahar@gmail.com");

//om.CC

//  om.Bcc

om.Subject = "Welcome to  Suthahar bogs";

om.Body = value;

om.IsBodyHtml = true;

om.Priority=MailPriority.High;

SmtpClient os=new SmtpClient();

os.Host = "smtp.gmail.com";

os.Credentials=new System.Net.NetworkCredential("suthaharmcpd@gmail.com","*******");

os.EnableSsl = true;

os.Send(om);

Response.Write("<script>alert('mail send')</script>");