').text(f_Unlimited[i]).appendTo(li); }); var benefitsList = $('.benefits') $.each(b_Unlimited, function(i) { var li = $('
').text(b_Unlimited[i]).appendTo(li); }); /// ----------- /// VIP Hover ----- $("#VIP").hover(function() { $(".detTitle").html('VIP'); $(".features li").empty(); $(".benefits li").empty(); $(".benefits").show(); $(".features li").empty(); $.each(f_VIP, function(i) { var li = $('
').text(f_VIP[i]).appendTo(li); }); $.each(b_VIP, function(i) { var li = $('
').text(b_VIP[i]).appendTo(li); }); }); /// ----------- /// Unlimited Hover ----- $("#Unlimited").hover(function() { $(".detTitle").html("Unlimited" + "Most Popular"); $(".features li").empty(); $(".benefits li").empty(); $(".benefits").show(); $.each(f_Unlimited, function(i) { var li = $('
').text(f_Unlimited[i]).appendTo(li); }); $.each(b_Unlimited, function(i) { var li = $('
').text(b_Unlimited[i]).appendTo(li); }); }); /// ----------- /// Combo Hover ----- $("#Combo").hover(function() { $(".detTitle").html("Combo"); $(".features li").empty(); $(".benefits li").empty(); $(".benefits").show(); $.each(f_Unlimited, function(i) { var li = $('
').text(f_Unlimited[i]).appendTo(li); }); $.each(b_Combo, function(i) { var li = $('
').text(b_Combo[i]).appendTo(li); }); }); /// ----------- /// Connect Hover ----- $("#Connect").hover(function() { $(".detTitle").html("Connect Domain"); $(".features li").empty(); $(".benefits").hide(); $.each(f_Connect, function(i) { var li = $('
').text(f_Connect[i]).appendTo(li); }); $.each(b_Connect, function(i) { var li = $('
').text(b_Connect[i]).appendTo(li); }); }); /// ----------- // Cycle Switcher ------------------------------- $("#3Years").hover(function() { $(".detHeader div p ").html("3 Years Subscription"); $(".detPrice div p ").html("$360.00 ($10.00 × 36 months)Save 55%"); $(".benefits p").empty(); $.each(b_Unlimited, function(i) { var li = $('
').text(b_Unlimited[i]).appendTo(li); }); }); $("#2Years").hover(function() { $(".detHeader div p ").html("2 Years Subscription"); $(".detPrice div p ").html("$264.00 ($11.00 × 24 months)Save 50%"); $(".benefits p").empty(); $.each(b_Unlimited, function(i) { var li = $('
').text(b_Unlimited[i]).appendTo(li); }); }); $("#1Year").hover(function() { $(".detHeader div p ").html("Yearly Subscription"); $(".detPrice div p ").html("$168.00 ($14.00 × 12 months)Save 45%"); $(".benefits p").empty(); $.each(b_Unlimited, function(i) { var li = $('
').text(b_Unlimited[i]).appendTo(li); }); }); $("#Month").mouseenter(function() { $(".detHeader div p ").html("Monthly Subscription"); $(".detPrice div p ").html("$16.00 /month to monthSave 45%"); $(".benefits li").remove(); var p = $('
`+file.type+`
`+fileType+`