http://www.pdapi.com/cs/JSI/v1/prime/?pub=3&email=[email]&ExitURL=http://www.favecrafts.com/index.php/hct/Latest-Free-eBooks&ca=1'; ebook_obj.user_feedback = false; ebook_obj.ebID = '533'; $(document).ready( function() { //alert('ebookPopup_getJavascript ready'); $("#ebookPopupDiv table").animate( { left:'0px' }, 3000 ); $('#ebookSignUpForm').ajaxForm( { beforeSubmit: ajaxFormPreSubmit_ebookSignUpForm, dataType: 'json', timeout: 20000, error: function(XMLHttpRequest, textStatus, errorThrown){ //alert(errorThrown); }, complete: function(){ $('#ebookSignUpForm').fadeTo("slow", 1.0); $('#ebookPopupDiv .loader').hide(); $('#ebookPopupDiv .privacyText').hide(); $('#ebookPopupDiv .userFeedback').html(ebook_obj.user_feedback).show(); }, success: function(json) { var isNewSignup = 0; if (json.is_new_signup == true) { isNewSignup = 1; } var response_code = json.response_code; var alert_str = 'ebookPopup_getJavascript success' + "\n"; alert_str += 'json.result: ' + json.result + "\n"; alert_str += 'json.fname: ' + json.fname + "\n"; alert_str += 'json.lname: ' + json.lname + "\n"; alert_str += 'json.phone: ' + json.phone + "\n"; alert_str += 'json.email: ' + json.email + "\n"; alert_str += 'json.is_new_signup: ' + json.is_new_signup + "\n"; alert_str += 'isNewSignup: ' + isNewSignup + "\n"; alert_str += 'json.response_code: ' + json.response_code + "\n"; alert_str += 'response_code: ' + response_code + "\n"; //alert(alert_str); ebook_obj.logEbookSubmit(isNewSignup,response_code); //return; if (json.result > 0) { // show some feedback ebook_obj.user_feedback = 'Thanks for signing up! If the page does not reload, click here to get your book.'; // create a cookie to track the ebook signup createCookie('ebksignup', 1, 1); //console.log('ebksignup made'); // create a cookie to track the nlsignup createCookie('nlsignup', 1825, 1825); //console.log('nlsignup made'); // delay the redirect for a little bit to allow the call to logEbookSubmit to be made and return setTimeout('window.location = ebook_obj.landing_page;', 2500); //console.log('redirect stopped ' + ebook_obj.landing_page); } else { var alert_str = 'We could not sign you up.' + "\n"; alert_str += 'Please review the information you entered and make sure your email address is correct.' + "\n"; //alert(alert_str); ebook_obj.user_feedback = alert_str; } } } ); } // end main func ); // end ready; ebook_obj.logEbookSubmit = function(isNewSignup_param,response_code_param){ //alert('isNewSignup_param: ' + isNewSignup_param + '\n\n' + 'ebook_obj.ebID: ' + ebook_obj.ebID); if(ebook_obj.ebID > 0){ //console.log('logEbookSubmit ebook_obj.ebID: ' + ebook_obj.ebID); $.ajax({ url: "/ajax_process.php", type: 'GET', cache: false, dataType: "json", timeout: 2000, // we do not need / expect data returned data:{ task: 'log_ebook_submit', ebID: ebook_obj.ebID, isNewSignup: isNewSignup_param, response_code: response_code_param }, complete: function(){ }, success: function(json){ } }); } } function ajaxFormPreSubmit_ebookSignUpForm() { var alert_str = 'ajaxFormPreSubmit_ebookSignUpForm' + "\n"; //alert(alert_str); var result = true; if ($('#ebookSignUpForm input[name=email]').val() == '') { result = false; alert('You must enter a valid email address.'); } if (result == true) { $('#ebookSignUpForm').fadeTo("slow", .3); $('#ebookPopupDiv .privacyText').hide(); $('#ebookPopupDiv .userFeedback').hide(); $('#ebookPopupDiv .loader').show(); } return result; }

Follow Us on Facebook

Get updates from FaveCrafts.com posted directly to your News Feed.

Free Offer
Summer Crafts for Kids

Have fun in the sun with summer kids' crafts from this FREE e-book!

Bonus: Get our newsletter & special offers for free. We will not share or sell your email address. View our Privacy Policy

Articles 11 - 20 of 61 1 | 2 | 3 | 4 | 5 | 6 | 7

Beachy Jellyfish Wall Art

Beachy Jellyfish Wall Art Take a trip to the beach without leaving home. Gather up your favorite beads and some store-bought seashells and create your own Beachy Jellyfish Wall Art. Crafty wall decor designs can help transform a boring space without breaking the bank.

 

Beeeautiful Bee Decoration

Beautiful Bee Decoration This is a great summer craft to decorate any room. The clay pot is what holds it all together. It makes for a great conversation piece and it's a great DIY project.

 

Summer Lemonade Party

Summer Lemonade Party When life gives you lemons, throw a party! With this Summer Lemonade Party kit from Fiskars, you'll be ready to turn any sour day into a sweet one! This kit has great ideas for decorations, treats, beverages, and more.

 

Popsicle Stick Beach Sign

Popsicle Stick Beach Sign Here's a fun and easy way to display your beach souvenirs: create a Popsicle Stick Beach Sign using objects you find on the beach. This popsicle stick craft is thrifty and quick to whip up. It'll give your home a nautical vibe!

 

Strawberry Mini Baskets

Strawberry Mini Baskets Looking for easy summer crafts to do at your daughter's birthday party? Maybe you need a fun and colorful way to hand out the take home treats? These adorable kids crafts for summer look like strawberries and are very easy to make!

 

Floral Beehive Wreath

Floral Beehive Wreath This great summer beehive wreath will look great hanging on your door. It's a quick and easy DIY craft anyone would love to have in their home. Don't worry, these bees won't sting...but they will create quite a buzz around your home! Embellished with lovely bright yellow flowers, this stunning summer wreath is great for hanging both indoors and out, and is a fun and festive way to liven up your hive!

 

Wire Wrapped and Beaded Picnic Utensils

Wire Wrapped and Beaded Picnic Utensils If you love easy summer crafts then you'll love these Wire Wrapped and Beaded Picnic Utensils. This project is perfect for a summer picnic - no need to worry about bugs this year! Soak up the sun with this cool craft.

 

Seashell Beach Plaque

Seashell Beach Plaque Celebrate summer with creative beach crafts! Decorate your home with a Seashell Beach Plaque - you'll feel like you're staying at a beach-front bungalow! You don't even have to go to the beach for shells - learn how to make your own.

 

Easy Sea Glass Wreath

Easy Sea Glass Wreath Hang this pretty Easy Sea Glass Wreath on a door or wall to remind you of your favorite summertime beach memories. This great wreath how-to is from the magazine Holiday with Matthew Mead Summer edition. This elegant wreath made of soft sea glass is easy to make and is sure to please any beachcomber.

 

Spotted Ladybug Picnic Cups

Spotted Ladybug Picnic Cups Are you a huge fan of ladybug craft projects? For your next picnic, create your own Spotted Ladybug Picnic Cups. This is a fun way to dress up boring, red plastic cups with glittery dots. This project is so easy to make and incredibly inexpensive.

 

Articles 11 - 20 of 61 1 | 2 | 3 | 4 | 5 | 6 | 7

Newsletter Signup

Free Newsletter!

Discover crafting projects, free patterns, tips and special offers. Get free craft projects, how-to crafting tutorials & product reviews.

Please Wait

Thanks for signing up

Sorry, we could not sign you up.

Something worth saving?

Register now for FREE to:

  • SAVE all your favorite crafts
  • ADD personal notes
  • QUICKLY reference your crafts

 

Connect with Us

Find us online

  • Facebook
  • Google Plus
  • Instagram
  • Twitter
  • Pinterest
  • Twitter
  • Blog
  • Email
  • RSS

1

© Copyright 2014 Prime Publishing, LLC. All rights reserved.

www.favecrafts.com