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 = '582'; $(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
24 Polymer Clay Tutorials: Polymer Clay Jewelry, Home Dcor, and More

Have fun with polymer clay with projects 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 51 - 60 of 1,013 3 | 4 | 5 | 6 | 7 | 8 | 9

American Flag Loom Knit Hat: Version 1

American Flag Loom Knit Hat Version 1 Make a patriotic American flag hat with this loom knitting from Michael Sellick. You will find a complete video tutorial to help you follow this loom knitting pattern, as well as bonus videos to embellish your 4th of July hat even more!

 

American Flag Loom Knit Hat: Version 2

American Flag Loom Knit Hat Version 2 Make a patriotic American flag hat with this loom knitting from Michael Sellick. Version 2 is done in vertical stripes, rather than horizontal stripes. You will find a complete video tutorial to help you follow this loom knitting pattern.

 

American Flag Loom Knit Hat: Version 3

American Flag Loom Knit Hat Version 3 Make a patriotic American flag hat with this loom knitting from Michael Sellick. Version 2 features a stripe brim and solid blue top. You will find a complete video tutorial to help you follow this loom knitting pattern and bonus videos.

 

American Flag Placemat Tutorial

American Flag Placemat Use this step-by-step sewing tutorial to create an American flag placemat for a patriotic centerpiece or make many for dinner guests on Independence Day. This 4th of July craft is great for outdoor barbecues and picnics.

 

Angel Candle Cover

Angel Candle Cover Use the reverse decoupage technique to create your own Angel Candle Cover. Angel Christmas crafts are a traditional yet fun way to decorate your home. This craft can also be displayed on a tabletop or Christmas tree.

 

Antique Inspiration Tags

Antique Inspiration Tags Create charms for jewelry or embellishments for scrapbooking with clay. These Antique Inspiration Tags, which were dreamed up by Marie Segal, show you how versatile polymer clay projects can be. With uplifting words like "Faith" and "Imagine" stamped on them, these tags make wonderful gifts for friends and family. Make a set for yourself so that you can wear them when you're feeling uninspired. The clay used for these tags has a natural, earthy look that works with almost any outfit.

 

Asymmetrical Cardigan Tutorial

Asymmetrical Cardigan Tutorial If you have an oversize T-shirt and aren't sure of what to do with it, check out this Asymmetrical Cardigan Tutorial for a great craft idea. This project is so simple and easy, and it's a great craft shirt project, perfect for cool summer nights. These are fun ways to make your own clothes.

 

Baby Food Jar Soy Candles

Baby Food Jar Soy Candle Recycle empty baby food jars into cute soy candles for decorating a baby shower or to give as favors for those attending the baby shower. Follow this tutorial by Cathie Filian to create a batch of candles in less than an hour.

 

Bag Book Video

Bag Book Video Learn a new craft with this Bag Book Video. Ann Butler guides you through this Youtube craft tutorial.

 

Basic Comfy Kids Pants

Basic Comfy Kids Pants Stop paying department store prices for your kids' clothes by learning how to sew pants yourself. This tutorial for basic comfy kids pants from Dana Willard makes it easy to design and make your own clothes.

 

Articles 51 - 60 of 1,013 3 | 4 | 5 | 6 | 7 | 8 | 9

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