Wednesday, March 20, 2013

Youtube Video Overlay issue with web page

As part of our new website redesign,there was a issue with youtube video overlay with existing content on webpage so found this article which resolves the issue by adding parametre which indicates video to be transparent mode.

http://maxmorgandesign.com/fix_youtube_iframe_overlay_and_z_index_issues/



   $(document).ready(function() {
    $("iframe").each(function(){
        var ifr_source = $(this).attr('src');
        var wmode = "wmode=transparent";
        if(ifr_source.indexOf('?') != -1) {
            var getQString = ifr_source.split('?');
            var oldString = getQString[1];
            var newString = getQString[0];
            $(this).attr('src',newString+'?'+wmode+'&'+oldString);
        }
        else $(this).attr('src',ifr_source+'?'+wmode);
    });
});

Sunday, March 17, 2013

beauty masks and tips

Avocado face mask

http://www.spontaneouschick.com/2012/06/14/4-avocado-face-masks-that-work/

Fun Friday and Saturday blast

I am always happy on my Fridays  and I am more happy today since I am gonna meet my friends tonight for dinner and booze of course ;) I came home and all set to go buy my hubby called me and told he was stuck in office with important work and gonna be in home after couple of hours. I am kinda off disappointed and thought my Friday night was not as fun as I thought and started watching tv.

Finally after waiting for couple of hours my hubby came and we left to party and everyone was kinda off already in party mode and as usual my friends gave us warm welcome and had my all time fav chilli chicken and gobi fry and  unlike to have to very popular cocktail we tried new one strawberry daiquiri which was great drink. We all boozed up and happily n joyed Friday night and came back and Saturday afternoon to home all vexed and sleepy.



Thursday, March 7, 2013

Google Analytics Event Tracking


Today i was implementing event tracking on my own custom email overlay and it sounds kinda off tough job to do but it turn out pretty simple.
It sucks when you have to wait 24 hrs to see your code is working or not though.
Followed below link for instructions

http://www.sitepoint.com/google-analytics-track-javascript-ajax-events/
http://www.kaushik.net/avinash/google-analytics-help-questions-answers-tips-ideas-suggestions/