Stoyan Bukovich On .Net

  • JQuery Fancybox image gallery with mouseover zoom

    I've been looking around for image zoom mouse over effect that works with my existing fancybox gallery and after a few hour googling I came up with simple and clean solution on my own. The good thing is that you don't need even a single row of javascript because it is CSS based and is cross-browser compatible (at least of whan I test it so far: IE, FF, Chrome, Safari, Opera)

    So this is the CSS style:

    a.elements img{width:100px;height:100px;}
    a.elements:hover > img{width:200px;height:200px;z-index:1000;position:relative;top:-50px;left:-50px;}
    .wrapper{position:relative;width:100px;height:100px;}

    And the image with the wrapper and Fancybox:

    <div class="wrapper"><a href="4.jpg" mce_href="4.jpg" class="elements" rel="group1"><img src="4.jpg" mce_src="4.jpg" alt="" /></a></div>

    Hope it helps you.

  • SMTP Authentication required, hmailserver and ASP.NET 4

    The problem:

    2 hours trying to send an e-mail message from my ASP.NET contact form (this time in .NET 4), and the only exception I am having is SMTP authentication required.
    Reading 30 more minutes the hmailservers' forum and the tones of different configurations. Non of them works I am keep getting SMTP authentication required message...

    The funny things is that I am reusing my code written in ASP.NET 2 for sending e-mail for years without any problem on different server. I am completly confused, where is the problem the hmailserver configuration or code error, who knows... and suddenly google helps again with this mySmtpClient.EnableSsl = False so simple isn't it?!

    Looks like in ASP.NET 4 they changed the SMTP SSL to TRUE by default hmm.


    Hope it helps.

  • asp.net send mail with vb.net

    Sending mail is with asp.net is simple, you can find it yourself with the next a few lines of code which are handled by button click event: