The Banjaara Book

Travel, Fashion & Lifestyle Blog

Saturday, 24 Jan 15

Fuschia Giveaway - Win 5 Gift Hampers


Like this post?

Show your appreciation to the author by clicking on the heart and subscribing

not upvote Image

Contribute to the discussion








You can Participate in Our Twitter Giveaway Here- https://twitter.com/thekopargaonkar/status/558695474920562688




And On Facebook Here - https://www.facebook.com/lifecameraandfashion/photos/a.238800429631159.1073741828.238724096305459/376398439204690/?type=1
`; $(document).ready(function() { }); $('#facebook-share-link').click(function(e){ e.preventDefault(); $('#facebook-share-link').attr('href',"https://www.facebook.com/sharer/sharer.php?u="+window.location.href); window.open($(this).attr('href'), 'fbShareWindow', 'height=450, width=550, top=' + ($(window).height() / 2 - 275) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0'); return false; }); $('#tumblr-share-link').click(function(e){ e.preventDefault(); $('#tumblr-share-link').attr('href',"http://www.tumblr.com/share/link?url="+window.location.href); window.open($(this).attr('href'), 'fbShareWindow', 'height=450, width=550, top=' + ($(window).height() / 2 - 275) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0'); return false; }); $('#facebook-share-link-mobile').click(function(e){ e.preventDefault(); $('#facebook-share-link-mobile').attr('href',"https://www.facebook.com/sharer/sharer.php?u="+window.location.href); window.open($(this).attr('href'), 'fbShareWindow', 'height=450, width=550, top=' + ($(window).height() / 2 - 275) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0'); return false; }); $('#tumblr-share-link-mobile').click(function(e){ e.preventDefault(); $('#tumblr-share-link-mobile').attr('href',"http://www.tumblr.com/share/link?url="+window.location.href); window.open($(this).attr('href'), 'fbShareWindow', 'height=450, width=550, top=' + ($(window).height() / 2 - 275) + ', left=' + ($(window).width() / 2 - 225) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0'); return false; }); $('.hint-card').remove(); $('.ql-toolbar').remove(); function Utils() { } $('.upvotes').unbind().click(function(e){ var elementid = $(this).parents('.id').attr('id'); var $click = $(this); $.ajax({ type: "GET", dataType: "json", url: "/get_session_user", success: function(data){ if (data!=null){ $.ajax({ type: "POST", data: { id: elementid }, dataType: "json", url: "/upvote_hack", success: function(data){ } }); var $upvote = $click.children('.upvote'); if($upvote.hasClass('upvoted')){ $upvote.removeClass('upvoted'); $upvote.addClass('unupvoted'); $upvote.attr('src','/images/like-onhover.svg'); var upvotenum = +$click.children('.count').text() - 1 ; $click.children('.count').text(upvotenum); } else { $upvote.removeClass('unupvoted'); $upvote.addClass('upvoted'); $upvote.attr('src','/images/like-full.svg'); var upvotenum = +$click.children('.count').text() + 1 ; $click.children('.count').text(upvotenum); } } else { window.location.href = "http://www.winkl.co/login_page?from="+window.location.href+"&blog_subdomain=thebanjaarabook&no_follow=true"; } } }); }); $('.follow').unbind().click(function(e){ var elementid = $(this).parents('.id').attr('id'); var $click = $(this); $.ajax({ type: "GET", dataType: "json", url: "/get_session_user", success: function(data){ if (data!=null){ $.ajax({ type: "POST", data: { id: elementid }, dataType: "json", url: "/follow_hack", success: function(data){ } }); var $follow = $click.children('.follow'); if($follow.hasClass('followed')){ $follow.removeClass('followed'); $follow.addClass('notfollowed'); $follow.attr('src','/images/bookmark-normal.svg'); var follownum = +$click.children('.count').text() - 1 ; $click.children('.count').text(follownum); } else { $follow.removeClass('notfollowed'); $follow.addClass('followed'); $follow.attr('src','/images/bookmark-full.svg'); var follownum = +$click.children('.count').text() + 1 ; $click.children('.count').text(follownum); } } else { window.location.href = "http://www.winkl.co/login_page?from="+window.location.href+"&blog_subdomain=thebanjaarabook&no_follow=true"; } } }); }); $('#email-subscribe').click(function(e){ var email = $('#subscribe-emailid').val(); if(email!=""){ $('#email-subscribe').addClass('hidden'); $('#loading-submit').removeClass('hidden'); $.ajax({ type: "POST", data: { name: "Fuschia Giveaway - Win 5 Gift Hampers ", email: email, instagram: "6603", source: "Blog Post Subscription Form" }, dataType: "json", url: "/add_lead", success: function(data){ if(data['status']==true){ $('#subscribe-form').addClass('hidden'); $('#subscribe-success').removeClass('hidden'); } else { prompt("Looks like something went wrong. Try again."); } } }); } else{ prompt("Please enter an email id."); } }); $('#email-subscribe2').click(function(e){ var email = $('#subscribe-emailid2').val(); if(email!=""){ $('#email-subscribe2').addClass('hidden'); $('#loading-submit2').removeClass('hidden'); $.ajax({ type: "POST", data: { name: "Fuschia Giveaway - Win 5 Gift Hampers ", email: email, instagram: "6603", source: "Blog Post Subscription Form" }, dataType: "json", url: "/add_lead", success: function(data){ if(data['status']==true){ $('#subscribe-form2').addClass('hidden'); $('#subscribe-success2').removeClass('hidden'); } else { prompt("Looks like something went wrong. Try again."); } } }); } else{ prompt("Please enter an email id."); } }); function prompt(text) { var x = document.getElementById("snackbar") x.innerHTML = text // Add the "show" class to DIV x.className = "show"; setTimeout(function(){ x.className = x.className.replace("show", ""); }, 2000); } $.ajax({ type: "POST", data: { blog_id: "335", hack_id: "6603", user_hex: "9cf9abc8dac4c8d3d9f34108d7ffa58c", referer: "" }, dataType: "json", url: "/add_view", success: function(data){ } }); $('iframe').css('max-width',$('#editor-container').width()); if (typeof ($('.ql-video')[0])!=undefined){ $('.ql-video')[0].width = $('#editor-container').width(); $('.ql-video')[0].height = ($('#editor-container').width()/16)*9; } $(window).resize(function(){ $('iframe').css('max-width',$('#editor-container').width()); if (typeof ($('.ql-video')[0])!=undefined){ $('.ql-video')[0].width = $('#editor-container').width(); $('.ql-video')[0].height = ($('#editor-container').width()/16)*9; } });

More from The Banjaara Book

I

Tuesday, 26 Mar 13

I am Mean