nokia lumia 1020 price in pakistan (2022)

Product Description

nokia lumia 1020 price in pakistan (1)

nokia lumia 1020 price in pakistan (2)

Presenting the most advanced camera smartphone by Nokia, the Nokia Lumia 1020. Featuring a jaw-dropping 41 MP camera, the Nokia Lumia 1020 is here to give all the camera oriented smartphones a run for their money. Other features include a Dual core Snapdragon processor, 2 gigs of ram and Adreno 225.

nokia lumia 1020 price in pakistan (3) nokia lumia 1020 price in pakistan (4)

nokia lumia 1020 price in pakistan (5)

Design

The Nokia Lumia 1020 supports an elegant and simple design language. The back is made out of matt texture polycarbonate and hosts a 41 MP camera whereas the front is taken up the screen followed by 3 on-screen capacitive buttons for navigations. The color options available will certainly overwhelm you as the Nokia Lumia 1020 is available in black, white and yellow so choose the one that suits your personality better.

nokia lumia 1020 price in pakistan (6) nokia lumia 1020 price in pakistan (7)

nokia lumia 1020 price in pakistan (8) nokia lumia 1020 price in pakistan (9)

nokia lumia 1020 price in pakistan (10)

Features

Capture Moments Like Never Before

The Nokia Lumia 1020 features a 41 MP camera sensor, PureView Technology, Optical Image Stabilization and a 4x lossless digital zoom to give you the ability to take photos and videos that embarass all the other camera smartphones. Reach new boundaries of photography with all new Nokia Lumia 1020.

nokia lumia 1020 price in pakistan (11)

Zoom. Reinvented

Shoot in Super High Resolution with the Nokia Pro Camera on the Nokia Lumia 1020 which allows you to zoom in close to the shot after you've taken it. Once you have taken your perfect shot, rotate it, reframe it, crop it or just simply share new images as many times as you want.

nokia lumia 1020 price in pakistan (12)

Snap photos like a Pro

Take charge of your camera on the Nokia Lumia 1020. Enjoy the freedom of adjusting focus, shutter-speed, white balance and much more with easy and intuitive controls and take your images to new levels. Capturing picture perfect photos is easier than ever on the Nokia Lumia 1020 with the Nokia Pro Camera.

nokia lumia 1020 price in pakistan (13)

Don't just watch the moments, live them

The Nokia Lumia 1020 captures sharp, detailed HD videos with unsurpassed clarity and the ability to zoom in up to six times without losing quality. The Nokia Rich Recording ensures that you capture distortion-free, stereo sound. Relive moments with the Nokia Lumia 1020.

nokia lumia 1020 price in pakistan (14)

Enjoy the best of what the Windows Phone 8 world has to offer

The Nokia Lumia 1020 comes powered by Windows Phone 8 which comes with MS Office and all the unique Lumia features like Nokia Music and free voice guided navigation. Enjoy the best of Windows 8 on the Nokia Lumia 1020.

nokia lumia 1020 price in pakistan (15) nokia lumia 1020 price in pakistan (16)

Camera

The Nokia Lumia 1020 has a 41 MP (38 MP effective) camera that is capable of capturing Full HD videos at 30 fps alongside a 4x lossless digital zoom. It has a 1/1.5'' sensor size, 1.12 µm pixel size and features the PureView Technology. Camera features include Carl Zeiss optics, Optical Image Stabilization, Auto/Manual focus and dual capture. A Xenon and LED flash are onboard too to tackle with low light situations with precision. The front facing camera is 1.2 MP with the ability to record HD videos at 30 fps.

nokia lumia 1020 price in pakistan (17) nokia lumia 1020 price in pakistan (18)

Camera Samples

nokia lumia 1020 price in pakistan (19) nokia lumia 1020 price in pakistan (20) nokia lumia 1020 price in pakistan (21)

nokia lumia 1020 price in pakistan (22) nokia lumia 1020 price in pakistan (23)

Unboxing

nokia lumia 1020 price in pakistan (24) nokia lumia 1020 price in pakistan (25) nokia lumia 1020 price in pakistan (26)

nokia lumia 1020 price in pakistan (27)

To visit more Nokia phones at HomeShopping, click here

To visit the entire range of smartphones available at HomeShopping, click here

Thank you and keep visiting homeshopping.pk

Specification

nokia lumia 1020 price in pakistan (28)

PlatformMicrosoft Windows Phone 8 upgradeable to WP8 Amber
Touch ScreenYes
Dual SimNo
Dual CameraYes
QWERTY KeyboardNo
Wi-FiYes 802.11 a/b/g/n, dual band
Screen Size4.5 inches
GPSYes
Camera PhoneYes
Camera Pixel41 MP
Camera FlashYes, Xenon and LED
Processor Type1.5 GHz Dual core Krait Snapdragon MSM8960
Frequency Band850/900/1800/1900
Color DisplayYes, 16M
Resolution768 x 1280 pixels HD (332 ppi)
BluetoothYes v 3.0
Video RecorderYes 1080p Full HD
FM RadioYes
MP3 PlayerYes
MMSYes
Web BrowserYes
3GYes
GPRSYes
EDGEYes
Handsfree SpeakerYes
RAM2 GB
Internal Memory32 GB
Expandable MemoryNo
USBYes microUSB v 2.0
Talk Timeup to 19 hours
Standby Timeup to 384 hours
Dimension130.4 x 71.4 x 10.4 mm
Weight158 g

78 Comments

Login
  • Homeshopping
  • Facebook

Recommend

Reload

Sort by Newest
  • Newest
  • Best
  • Oldest

Something went wrong please try again

'; $.iModal({ checkHeight: false, data: str, onClose: function () { HsnComments.CloseModelPopup(); } }); HsnComments.EmptyCommentBox(); HsnComments.StopCommentPost(); }); */ $('.FormField.JSHidden').show(); HsnComments.MoveModelPopupToVisibleScreen(); HsnComments.loadComments(); HsnComments.updatePostButton(); }, updatePostButton: function() { var is_logged_in = parseInt($('.is_signed_in').val()); if(is_logged_in) { var customer_name = $('.login_for_comment .logged_in').html(); $('.comment_actions .post_comment').html("Post as "+customer_name); }else $('.comment_actions .post_comment').html("Login and Post"); }, showLoginRegisterForm: function () { // just open model if already present if($('.HsnCommentsLoginRegisterForms').length) { $('.HsnCommentsLoginRegisterForms').modal('show', {backdrop: 'static'}); }else { // show a modal dialog using ajax, this also creates a token on the server letting it know to expect a saved image in return // Getting quickview data var postData = ''; var actionUrl = config.ShopPath + '/hsncommentsroot.php?AjaxAction=showLoginRegisterForm'; $('#AjaxLoading').show(); $.ajax({ type: "POST", url: actionUrl, data: postData, success: function(response){ //response = response.replace(".live", ".on"); $('body').append(response); $('#ship_to_billing_new').closest('dd').hide(); $('#ship_to_billing_new').closest('dd').prev('dt').hide(); $('.billingButton').val('Submit'); $('.zone_field').show(); $('.HsnCommentsLoginRegisterForms').modal('show', {backdrop: 'static'}); $('#AjaxLoading').hide(); $('.country_field').trigger('change'); HsnComments.HideLoadingIndicators(); }, error: function() { HsnComments.HideLoadingIndicators(); } }); }/* if ($('#ModalContainer').length > 0) $.iModal.close(); $.iModal({ checkHeight: false, type: 'ajax', title: 'Login or Register an account', width: 500, url: config.ShopPath + '/hsncommentsroot.php?AjaxAction=showLoginRegisterForm', closeTxt: false, class: 'HsnCommentsLoginRegister', onAjaxError: function () { HsnComments.HideLoadingIndicators(); }, onShow: function () { $('#ModalContainer').removeClass('HsnCommentsModelContainer').addClass('HsnCommentsModelContainer') $('#NewBillingAddress').attr('onsubmit', 'HsnComments.RegisterAccount();return false;'); $('.billingButton').val('Create Account'); $('#ship_to_billing_new').parent().hide(); $('#LoginButton').val('Login'); $('.FormField.zone_field').show(); HsnComments.MoveModelPopupToVisibleScreen(); }, onClose: function () { HsnComments.CloseModelPopup(); } });*/ return false; }, Login: function () { $('#CheckoutLoginError').hide(); if ($('#LoginForm #login_email').val() == '') { HsnComments.DisplayError('Please Enter Email or Phone'); $('#LoginForm #login_email').focus(); return false; } if ($('#LoginForm #login_pass').val() == '') { HsnComments.DisplayError('Please Enter Password'); $('#LoginForm #login_pass').focus(); return false; } HsnComments.HideError(); HsnComments.ShowLoadingIndicator(); $.ajax({ url: config.ShopPath+'/remote.php', type: 'post', dataType: 'json', data: 'w=expressCheckoutLogin&isFastCart=1&' + $('#LoginForm').serialize(), success: function (response) { HsnComments.handleResponse(response); if (response.status) { HsnComments.ProcessCustomerLoggedIn(); if ($('#ModalContainer').length > 0) $.iModal.close(); $('.HsnCommentsLoginRegisterForms').modal('hide'); HsnComments.PostComment(); } } }); return false; }, PostComment: function (buttonClicked) { if (typeof buttonClicked == 'undefined') buttonClicked = $('button.post_comment.comment_to_post'); var comment_form = $(buttonClicked).closest('form.comment_box'); var comment_box = comment_form.find('textarea[name="comment_text"]'); if (!comment_box.val() || comment_box.val() == ' ' || comment_box.val() == '') { if($('.comment_to_post').length) { HsnComments.showMessage('', 'Please enter some text in comment box', 'Error', 'error'); comment_box.focus(); HsnComments.StopCommentPost(); } return false; } var comment_type = $('.comment_type').val(); var entity_id = $('.entity_id').val(); HsnComments.StopCommentPost(); HsnComments.StartCommentPost(buttonClicked); // Check If customer is logged in var is_logged_in = parseInt($('.is_signed_in').val()); // login/register customer and post comment if (!is_logged_in) { HsnComments.showLoginRegisterForm() return false; } // Get attached image files var total_images = comment_form.find('.dz-image img').length if (total_images > 0) { $('.files_to_be_uploaded').remove(); for (i = 0; i < total_images; i++) { current_image = comment_form.find('.dz-image img').eq(i); var hiddenInput = document.createElement('input'); $(hiddenInput).attr('type', 'hidden'); $(hiddenInput).attr('name', 'uploaded_files[]'); $(hiddenInput).val(current_image.attr('src')); $(hiddenInput).addClass('files_to_be_uploaded'); comment_form.append(hiddenInput); var hiddenInput1 = document.createElement('input'); $(hiddenInput1).attr('type', 'hidden'); $(hiddenInput1).attr('name', 'uploaded_file_names[]'); $(hiddenInput1).val(current_image.attr('alt')); $(hiddenInput1).addClass('files_to_be_uploaded'); comment_form.append(hiddenInput1); } } $.ajax({ url: '/hsncommentsroot.php', type: 'post', dataType: 'json', data: comment_form.serialize() + '&AjaxAction=postComment&comment_type=' + comment_type + '&entity_id=' + entity_id, success: function (response) { HsnComments.handleResponse(response); HsnComments.EmptyCommentBox(); HsnComments.StopCommentPost(); } }); }, loadComments: function (sort) { var comment_type = $('.comment_type').val(); var entity_id = $('.entity_id').val(); if(typeof sort == 'undefined') sort = 'Newest'; $.ajax({ url: '/hsncommentsroot.php', type: 'post', dataType: 'json', data: 'AjaxAction=loadComments&comment_type=' + comment_type + '&entity_id=' + entity_id + '&sort=' + sort, success: HsnComments.handleResponse }); }, updateVote: function (active_link, comment_id) { var vote_type = $(active_link).attr('data-type'); var comment_type = $('.comment_type').val(); var entity_id = $('.entity_id').val(); $.ajax({ url: '/hsncommentsroot.php', type: 'post', dataType: 'json', data: 'AjaxAction=updateVote&comment_id=' + comment_id + '&entity_id=' + entity_id + '&comment_type=' + comment_type + '&vote_type=' + vote_type, success: function (response) { HsnComments.handleResponse(response); if (response.status) { $(active_link).parent().find('span.count').html(response.totalVotes) } } }); return false; }, recommendDiscussion: function () { var comment_type = $('.comment_type').val(); var entity_id = $('.entity_id').val(); $.ajax({ url: '/hsncommentsroot.php', type: 'post', dataType: 'json', data: 'AjaxAction=recommendDiscussion&entity_id=' + entity_id + '&comment_type=' + comment_type, success: function (response) { HsnComments.handleResponse(response); if (response.status) { if (parseInt(response.totalRecommended)) { $('.total_recommended').html(response.totalRecommended).show(); $('.recommend_text').html('Recommended'); } else { $('.total_recommended').hide(); $('.recommend_text').html('Recommend'); } } } }); return false; }, handleResponse: function (response) { HsnComments.HideLoadingIndicators(); HsnComments.HideError(); if (response.hasOwnProperty('LoggedIn') && !response.LoggedIn) { $('.is_signed_in').val(0); } if (!response.hasOwnProperty('commentsLoaded') || !response.commentsLoaded) $('.error_messages_container .comment_alert').removeClass('succecommentsLoaded').hide(); if (response.status == 0) { if (response.errorContainer) { var errorMessage = response.errorMessage if (errorMessage.indexOf('click here to create a new account') != -1) { errorMessage = errorMessage.substring(0, errorMessage.lastIndexOf(' or ')) + '.'; } HsnComments.DisplayError(errorMessage); } else if (response.changeStep == 'BillingAddress') { HsnComments.DisplayError(response.errorMessage); } else { HsnComments.showMessage('', response.errorMessage, 'Some error(s) occured', 'error'); } HsnComments.MoveModelPopupToVisibleScreen(); } else { if (typeof response.updateMessage != 'undefined') { HsnComments.showMessage('', response.updateMessage, response.updateTitle, response.messageType); } /* if($('#ModalContainer').length > 0) $.iModal.close(); if(!response.hasOwnProperty('donotreload') || (response.hasOwnProperty('donotreload') && !response.donotreload)) location.reload(); */ if (response.loadComments) HsnComments.loadComments(); if (response.hasOwnProperty('total_comments')) { $('.total_comments span').html(response.total_commetns) } if (response.hasOwnProperty('populateComments') && response.populateComments) { $('.comments_container').html(response.populateComments); // initiate tooltips /* $(window.document).tooltip({ items: ".in_reply_to span, .timepassed", content: function() { var element = $(this); return element.attr( "title" ); } }); */ $( ".in_reply_to span, .timepassed" ).tooltip({ show: { effect: "slideDown", delay: 250 } }); } } // Set focus to a particular field if (response.focus) { try { $(response.focus).focus().select(); } catch (e) { } } }, showMessage: function (container, message, alertTitle, message_type) { if(typeof message_type == 'undefined') message_type = 'update'; if (typeof alertTitle !== 'undefined' && alertTitle) { $('.comment_message_container').modal('hide'); $('.comment_message_container').remove(); var str = '

'; $('body').append(str); $('.comment_message_container').modal('show', {backdrop: 'static'}); HsnComments.MoveModelPopupToVisibleScreen(); } else { $(container).find('.message_text').html(message); $(container).slideDown('slow'); } }, ShowLoadingIndicator: function () {}, StartCommentPost: function (buttonClicked) { if (typeof(buttonClicked) == 'undefined') { buttonClicked = 0; } if (buttonClicked) { var button_text = $(buttonClicked).html(); $(buttonClicked).html('Posting...'); $(buttonClicked).attr('disabled', true); $(buttonClicked).attr('data-original_text', button_text); $(buttonClicked).addClass('comment_to_post'); } }, HideLoadingIndicators: function () { HideLoadingIndicator(); $('.LoadingIndicator').hide(); $('body').css('cursor', 'default'); }, StopCommentPost: function () { var buttonClicked = $('button.post_comment.comment_to_post'); buttonClicked.html(buttonClicked.attr('data-original_text')); buttonClicked.attr('disabled', false); var comment_form = buttonClicked.closest('form.comment_box'); var comment_box = comment_form.find('textarea[name="comment_text"]'); $('button.post_comment').removeClass('comment_to_post'); }, EmptyCommentBox: function() { var buttonClicked = $('button.post_comment.comment_to_post'); var comment_form = buttonClicked.closest('form.comment_box'); var comment_box = comment_form.find('textarea[name="comment_text"]'); comment_box.val('').focus(); }, ValidateNewAccount: function () { HsnComments.HideError(); var password, confirmPassword, formfield = FormField.GetValues(CustomCheckoutFormNewAccount); for (var i = 0; i < formfield.length; i++) { // Check email if (formfield[i].privateId == 'EmailAddress') { if (FastCartExpressCheckout.validateEmailAddress(formfield[i].value) == false) { HsnComments.DisplayError(lang.LoginEnterValidEmail); FormField.Focus(formfield[i].field); return false; } } if (formfield[i].privateId == 'Password') { if (!FastCartExpressCheckout.createAccount) { continue; } password = formfield[i]; } else if (formfield[i].privateId == 'ConfirmPassword') { if (!FastCartExpressCheckout.createAccount) { continue; } confirmPassword = formfield[i]; } var rtn = FormField.Validate(formfield[i].field); if (!rtn.status) { HsnComments.DisplayError(rtn.msg); FormField.Focus(formfield[i].field); return false; } } // Compare the passwords if (FastCartExpressCheckout.createAccount && password && password.value !== confirmPassword.value) { HsnComments.DisplayError(lang.AccountPasswordsDontMatch); FormField.Focus(confirmPassword.field); return false; } HsnComments.HideError(); return true; }, BuildAddressLine: function (type) { var fieldList = { 'FirstName': '', 'LastName': '', 'Company': '', 'AddressLine1': '', 'City': '', 'State': '', 'Zip': '', 'Country': '' }; if (type == 'billing') { var formId = CustomCheckoutFormBillingAddress; } else { var formId = CustomCheckoutFormShippingAddress; } var formfields = FormField.GetValues(formId); var addressLine = ''; for (var i = 0; i < formfields.length; i++) { fieldList[formfields[i].privateId] = formfields[i].value; } for (var i in fieldList) { var val = fieldList[i]; if (val !== '') { if (addressLine != '' && i != 'LastName') { addressLine += ', '; } else if (i == 'LastName') { addressLine += ' '; } addressLine += val; } } ; return addressLine; }, RegisterAccount: function () { // A new address will be sent for registration // If creating a new account, validate the account fields as well if (!HsnComments.ValidateNewAccount(true)) { return false; } if (!HsnComments.ValidateNewAddress('billing')) { return false; } addressType = 'new'; createAppend = '&createAccount=1'; // ISC-1214: no script issue in webkit browser, with serialized form submission $('noscript').remove(); $.ajax({ url: config.ShopPath + '/hsncommentsroot.php', type: 'post', dataType: 'json', data: 'AjaxAction=RegisterAccount&' + $('#NewBillingAddress').serialize() + '&BillingAddressType=' + addressType + createAppend, success: function (response) { HsnComments.handleResponse(response); // account has been registerd and customer is logged in if (response.status && response.account_registered) { $('input.is_signed_in').val('1'); $('.hsn_comments .row4').remove(); $('.hsn_comments .login_for_comment').html(); if ($('#ModalContainer').length > 0) $.iModal.close(); HsnComments.ProcessCustomerLoggedIn(); HsnComments.PostComment(); } } }); return false; }, ValidateNewAddress: function (lowerType, resultOnly) { if (resultOnly !== true) { resultOnly = false; } if (lowerType == 'billing') { var formId = CustomCheckoutFormBillingAddress; } else { var formId = CustomCheckoutFormShippingAddress; } var formfields = FormField.GetValues(formId); var hasErrors = false; for (var i = 0; i < formfields.length; i++) { var rtn = FormField.Validate(formfields[i].field); if (!rtn.status) { if (!resultOnly) { HsnComments.DisplayError(rtn.msg); } FormField.Focus(formfields[i].field); hasErrors = true; return false; } } if (hasErrors == true) { return false; } else { return true; } }, validateEmailAddress: function (email) { if (email.indexOf('@') == -1 || email.indexOf('.') == -1) { return false; } return true; }, ValidateAddresses: function () { var state = $('.BillingDetails .city_state_zip .state').html(); var phone = $('.BillingDetails .phone').html(); var address = $('.BillingDetails .address_lines').html(); if (!state.trim() || !phone.trim() || !address.trim()) { HsnComments.DisplayError('Invalid Billing address supplied. please update billing address'); return false; } var state = $('.ShippingDetails .city_state_zip .state').html(); var phone = $('.ShippingDetails .phone').html(); var address = $('.ShippingDetails .address_lines').html(); if (!state.trim() || !phone.trim() || !address.trim()) { HsnComments.DisplayError('Invalid Shipping address supplied. please update shipping address'); return false; } HsnComments.HideError(); return true; }, DisplayError: function (message) { if (typeof message === undefined) message = "Something went wrong, Please try again."; $('.ErrorMessage.hsn_comments_error').remove(); var error_container = document.createElement('div'); $(error_container).addClass('ErrorMessage hsn_comments_error'); $(error_container).html(message); $('#HsnCommentsLoginRegisterContainer').before(error_container); }, HideError: function () { $('.hsn_comments_error').remove(); }, ShowReplyBox: function (activeLink) { $(activeLink).closest('.hsn_comment').find('.comment_reply').eq(0).slideToggle('slow'); return false; }, TextAreaFocused: function (element) { var jqElement = $(element); jqElement.next().next().show(); jqElement.parent().find('.comment_text_placeholder').remove(); jqElement.css('border-bottom', 'inherit'); jqElement.css('border-bottom', 'inherit'); jqElement.css('border-bottom-right-radius', '0'); jqElement.css('border-bottom-left-radius', '0'); if(parseInt($('input.is_signed_in').val())) { $('.hsn_comments .row4').remove(); }else { jqElement.parent().parent().parent().next('.row4').show(); jqElement.parent().parent().parent().find('.row4').show(); } }, TextAreaBlurt: function (element) { var jqElement = $(element); if(jqElement.val() == '' || jqElement.val() == ' ') jqElement.parent().prepend(''+jqElement.attr('data-placeholder')+'') }, InitiateDropZone: function(element){ // Check for dropzone var files_upload_area = $(element).parent().parent().find('.files_upload_area'); files_upload_area.show(); if (!files_upload_area.hasClass('dz-clickable')) { dropzoneid = files_upload_area.attr('id');// console.log('Applying dropzone'); var myDropzoneTheFirst = new Dropzone( '#' + dropzoneid, //id of drop zone element { url: 'https://homeshopping.pk/hsncommentsroot.php?AjaxAction=attachCommentPicture&zone=' + dropzoneid, maxFilesize: 2, // MB dictDefaultMessage: 'Drop/click here to attach file(s)', maxFiles: 5, addRemoveLinks: true, acceptedFiles: '.jpeg,.jpg,.png,.gif',// thumbnailWidth: 150,// thumbnailHeight: 60, previewsContainer: '.previewsContainer', dictRemoveFile: 'X', dictCancelUpload: 'Cancel', accept: function (file, done) {// console.log(file); done(); }, success: function (settings, response) {// console.log(response); }, init: function () { var thisDropZone = this; /* $.get('https://homeshopping.pk/hsncommentsroot.php?AjaxAction=getAttachments', function (data) { console.log('Get Picture'); console.log(data); if (typeof data.files !== undefined) { $.each(data.files, function (key, value) { var file = {serverId: value.name, size: value.size}; thisDropZone.options.addedfile.call(thisDropZone, file); thisDropZone.options.thumbnail.call(thisDropZone, file, data.img_dir + "/" + value.name); }); if (data.fb_image) { var file = {serverId: 'FacebookProfilePicture', size: '2'}; thisDropZone.options.addedfile.call(thisDropZone, file); thisDropZone.options.thumbnail.call(thisDropZone, file, data.file_url); } $('.dz-success-mark, .dz-error-mark, .dz-filename, .dz-size').remove() } }); */ this.on("success", function (file, serverFileName) {// fileList[i] = {"serverFileName" : serverFileName, "fileName" : file.name,"fileId" : i };// i++;// console.log('File detail');// console.log(file);// console.log(serverFileName); }); this.on("addedfile", function (file) { $('.dz-success-mark, .dz-error-mark, .dz-filename, .dz-size').remove() $('.previewsContainer').find('.clearDive').remove(); $('.previewsContainer').append('

'); }); this.on("error", function (file, message) {// console.log('invalid file')// console.log(file) if (!file.accepted) thisDropZone.removeFile(file); alert('Error: ' + message); }); } } ); } files_upload_area.trigger('click'); }, FbLogin: function() { FBLogin('fb_success_function=HsnCommentsFbLoggedIn&form_cancel_function=HsnComments.CloseModelPopup();'); }, MoveModelPopupToVisibleScreen: function() { //$("#ModalContainer").css('position', 'absolute'); //$("#ModalContainer").css('top', ($(document).scrollTop()+50)+"px"); }, ProcessCustomerLoggedIn: function() { $('.is_signed_in').val(1); $('.hsn_comments .row4').remove(); $('.hsn_comments .login_for_comment').html(); // Get and populate customer name $.ajax({ url: '/hsncommentsroot.php', type: 'post', dataType: 'json', data: 'AjaxAction=GetCustomerInformation', success: function (response) { if(response.customer_name) { $('.login_for_comment').html(response.customer_name) HsnComments.updatePostButton(); } // Also update picture $('.comment_profile_image').eq(0).find('img').attr('src',response.CustomerImage); } }); }, CloseModelPopup: function(){ HsnComments.HideLoadingIndicators(); HsnComments.HideError(); HsnComments.EmptyCommentBox(); HsnComments.StopCommentPost(); $('.HsnCommentsLoginRegisterForms').modal('hide'); }, CollapseExpand: function(element){ var comment_id = $(element).attr('data-cid'); if($(element).hasClass('collapsed')) { // This content is collasped open it $('.comment_'+comment_id+' > .comment_replies_container').show(); $('.comment_'+comment_id+' > .comment_details_container > .post-body > .post-body-inner').show(); $('.comment_'+comment_id+' > .comment_details_container > .post-body > footer').show(); $(element).removeClass('collapsed'); $(element).html('_') $(element).css('top', '-24px') }else { // This content is expanded collapse it $('.comment_'+comment_id+' > .comment_replies_container').hide(); $('.comment_'+comment_id+' > .comment_details_container > .post-body > .post-body-inner').hide(); $('.comment_'+comment_id+' > .comment_details_container > .post-body > footer').hide(); $(element).addClass('collapsed'); $(element).html('+') $(element).css('top', '-14px') } }, ReportComment: function(element){ } }; $('body').on('click', '.comment_text_placeholder', function(){ $(this).next('textarea').focus(); }); function HsnCommentsFbLoggedIn(){// console.log('Facebook login passed'); HsnComments.ProcessCustomerLoggedIn(); if ($('#ModalContainer').length > 0) $.iModal.close(); HsnComments.PostComment(); } function text_area_auto_height(e) {// console.log($(e).val()) if(!$(e).val()) $(e).css({'height':'inherit'}) else $(e).css({'height':'auto','overflow-y':'hidden'}).height((e.scrollHeight)-16); } var CustomCheckoutFormNewAccount = '1'; var CustomCheckoutFormBillingAddress = '2'; var CustomCheckoutFormShippingAddress = '3'; lang.LoginEnterValidEmail = "Please type in a valid email address, such as joe@aol.com"; lang.LoginEnterPassword = "Please type in your password."; lang.AccountEnterPassword = "Please type in a password."; lang.AccountPasswordsDontMatch = "Your passwords don't match."; lang.AccountEnterFirstName = "Please type in your first name."; lang.AccountEnterLastName = "Please type in your last name."; lang.EnterShippingFirstName = 'Please type in your first name.'; lang.EnterShippingLastName = 'Please type in your last name.'; lang.EnterShippingAddress = "Please type in an address."; lang.EnterShippingCity = "Please type in your suburb/city."; lang.ChooseShippingCountry = "Please choose your country."; lang.ChooseShippingState = "Please choose a state/province."; lang.EnterShippingZip = "Please type in your zip/postcode."; lang.ExpressCheckoutStepBillingAddress = "Billing Details"; lang.ExpressCheckoutStepBillingAccountDetails = "Billing & Account Details"; lang.ExpressCheckoutLoadError = "There was an error loading this step of the checkout. Please try again."; lang.ExpressCheckoutCheckingOutAsGuest = "Checking out as a guest"; lang.ExpressCheckoutCreatingAnAccount = "Creating an account"; lang.ExpressCheckoutChooseBilling = "Please select the address you'd like to use as your billing address for this order."; lang.ExpressCheckoutChooseShipping = "Please select the address you'd like to use as your shipping address for this order."; lang.ExpressCheckoutChooseShipper = "Please select the shipping method you'd like to use for your order."; lang.ExpressCheckoutFor = "for"; lang.ExpressCheckoutLoading = "Loading..."; lang.ShippingMethodCombined = "Multiple Shipping Methods"; lang.EnterShippingPhone = "Please enter your phone number." lang.EnterCouponCode = "Please enter your coupon code."; lang.BillAndShipToAddress = "Bill & Ship to this Address"; lang.BillToThisAddress = "Bill to this address"; lang.ShipToThisAddress = "Ship to this address"; lang.CheckingOutAs = "Checking Out As"; lang.EnterCouponCode = "Please enter your coupon code."; lang.InvalidQuantity = "Please enter a valid product quantity."; lang.Calculating = "Estimating..." lang.CalculateShipping = "Estimate Shipping & Tax" lang.ChooseShippingMethod = "Please choose a shipping method." lang.CartRemoveConfirm = 'Are you sure you want to remove this item from your cart?'; lang.ConfirmRemoveGiftWrapping = 'Are you sure you want to remove the gift wrapping from this item?'; lang.SelectCountry = 'Please choose your country.'; lang.SelectState = 'Please choose a state/province.'; lang.EnterZip = 'Please type in your zip/postcode.'; $(function () { HsnComments.init(); $("body").on('click', ".hsn_comments .dropdown dt a", function () { $(this).parent().parent().find('dd ul').toggle() }); $(document).bind('click', function (e) { var $clicked = $(e.target); if (!$clicked.parents().hasClass("dropdown")) $(".hsn_comments .dropdown dd ul").hide(); }); $("body").on('click', ".hsn_comments .sort_by ul li a", function () { var sort_type = $(this).attr('data-sort_text'); $(this).parent().parent().parent().find('.fa-check').remove(); var i = document.createElement('i'); $(i).addClass('fa fa-check'); $(this).append(i); $('.SortText').html('Sort by '+sort_type); HsnComments.loadComments(sort_type); return false; }); $("body").on('click', ".hsn_comments a.share_links", function () { if($(this).hasClass('facebook_share')) { window.open( 'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href), 'facebook-share-dialog', 'width=626,height=436'); } if($(this).hasClass('twitter_share')) { window.open( 'https://twitter.com/intent/tweet?via=homeshoppingpk&tw_p=tweetbutton&original_referer='+encodeURIComponent(location.href)+'&url='+encodeURIComponent(location.href)+'&ref_src=twsrc%5Etfw&text='+encodeURIComponent('Nokia Lumia 1020 32GB (Black) '), 'twitter-share-dialog', 'width=626,height=436'); } return false; }); })

Top Articles

You might also like

Latest Posts

Article information

Author: Terrell Hackett

Last Updated: 12/13/2022

Views: 6623

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.