Your Cart

Oops, your cart is currently empty.

Continue Shopping
Order by Jan 20 to receive parcel before festive holidays! Last pickup on Jan 27. Orders after this date will be processed on Feb 3. Thank you for choosing Onecare!
The Glow Getter | A full collection to revitalize skin from the inside out
The Glow Getter | A full collection to revitalize skin from the inside out
The Glow Getter | A full collection to revitalize skin from the inside out

The Glow Getter

( THE UltraTRIO KIT + AG-FACTOR™ )

A full ritual collection, expertly crafted to revitalize and nourish the skin from the inside out, revealing radiant beauty and timeless charm. 

Buy More, Earn More

Earn up to 6% bonus cashback (+USD ) at checkout.

TOTAL

FREE Shipping for order USD 130
1-5 working days
14-Day Return & Refund Service
Return Policy

A full ritual collection for you to glow from the inside out.

Minimize Fine Lines
& Wrinkles

Contain anti-aging peptides that smooth out the appearance of fine lines, wrinkles, and crow’s feet.

Shrink The Appearance
Of Large Pores

Tightens skin pores for a smoother complexion, which helps promote easier makeup application.

Firm & Improve
Skin Elasticity

Improves Collagen production and skin cells’ regeneration for a lifted and more sculpted look.

Reduce Age Spots
& Pigmentation

High antioxidant properties that lighten skin discoloration, dark circles, pigmentation, and age spots.

Retain Moisture
In Skin Cells

Stimulates the production of glycosaminoglycans, moisture-binding compounds that deeply hydrates and smooths skin.

Rebuild Collagen
For Smoothing Skin

Protects skin cells against Collagen breakdown and fortifies skin’s barrier against environmental aggressors.

Size / Volume 30ml / 1.01FL OZ.
Color Translucent, slightly yellow
Scent Fragrance-free
Texture Semi-thick fluid
Feeling Smooth, non-sticky, easily absorbed
For Skin Types • Normal • Oily • Dry • Combination • Sensitive
Suitable Users Men and Women
Apply On Face, Neck & Hands.
STEP-1 Apply twice daily (morning and night), focusing on crow’s feet, laugh lines, frown lines and neck lines.
STEP-2 (For Face / Neck) Warm a pearl-sized amount of UltraPeptide™ between fingertips and apply to face and neck, using a gentle press and release action. Work from your forehead and from center of face in outwards movement.
STEP-2 (For Eyes) Warm a small amount between ring fingers and then gently press and release working from inner corner of the eye in an outwards direction. Take care not to pull or rub the delicate skin around the eyes.

Phytoresteromore®|A herb extract that replenishes the skin cells’ Collagen production while reducing signs of aging like wrinkles, eye bags, age spots, and sagging skin.

SYN®-TC|An anti-aging peptide complex that provides skin smoothness, firmness, and elasticity while minimizing deep wrinkles.

SYN®-AKE|A concentrated formula with peptides that mimic snake venom to freeze wrinkles, laughter lines, and crow’s feet for a more lifted and sculpted complexion.

VC-IP™|A stabilized oil-soluble Vitamin C that improves Collagen production and promotes skin fairness. It contains high antioxidant properties that also help reduce UVB-induced skin pigmentation while protecting skin against UV rays.

Tocomin®|High in antioxidants and Vitamin E which helps protect cell membranes, active enzyme sites that help slow down skin damage due to free radicals. It also prevents wrinkles and promotes skin youthfulness.

Ministry of Health Approved by Ministry of Health NOT140101840K View Certificate
Others • 100% Natural Active Ingredients • Easily & Quickly Absorbed • Dermatologically tested • Non-sticky Formula • Nano materials Free • Hormone Free • Alcohol Free • pH Balanced.

Protect your well-being by choosing authentic Onecare products. Learn more.

Provide Intensive Hydration

Effectively penetrates into all skin layers to deliver an intense burst of moisture with its easily-absorbed formula.

Promote Smooth Skin

Rejuvenates skin for a more supple, soft, and radiant complexion that lasts from AM to PM.

Repair Damaged Cells

Rich in skin-healing properties that can speed up cell and tissue renewal to restore skin complexion.

Slow Down Aging

Fade fine lines and wrinkles while enhancing skin youthfulness.

Protect Skin Barrier

Helps strengthen skin’s defense against external pollutants, free radicals, and skin cells’ damages.

Nurture Natural
Collagen & Elastin

Replenish skin structure and resilience for a sculpted, lifted appearance.

Size / Volume 50ml / 1.69FL OZ.
Color White
Scent Fragrance-free
Texture Gel
Feeling Smooth & creamy, easily absorbed.
For Skin Types • Normal • Oily • Dry • Combination • Sensitive
Suitable Users Men and Women
Apply On Face, Neck & Décolletage.
STEP-1 Use daily, morning and evening. Apply to face and neck after UltraPeptide™ serum.
STEP-2 For the top half of your face, start from the center then move outwards and up. Make sure to rub it evenly across your entire face so UltraMoist™ doesn't settle into the pores around your hairline. Ensure that UltraMoist™ gets into your fine lines by gently swirling it in using circular motions with your ring finger. Using the same method, apply evenly on the neck as well.

Natural Purified Bee Venom|Hailed as nature's very own botox. • Nurture natural collagen and elastin • Firm skin to reduce fine lines & wrinkles • Acne-fighting • Promote blood circulation • Natural & non-invasive • Extremely fast-acting.

miniHA™|New generation anti-aging & youth-enhancing technology. • Excellent whitening effect • Deep hydration • Increase cellular activity & growth • Repair damaged skin cells • Improve skin barrier.

RegeneCell™|Reduce wrinkles and fine lines almost instantaneously. • Relax stressed muscles • Reduce lines & crow's feet • Maintain moisture & elasticity • Promote tight, soft & supple skin • High purity & safety.

Oryzanol Complex™|Overflowing with antioxidants, essential fatty acids, Vitamin E, super Vitamin E. • Natural UVA & UVB filter • Intense conditioning • Counter all major free radical • Repair damaged tissue • Promote soft & smooth skin.

Ministry of Health Registered under Ministry of Health NOT210404344K
Others • 100% Natural Active Ingredients • Easily & Quickly Absorbed • Dermatologically tested • Non-sticky Formula • Nano materials Free • Hormone Free • Alcohol Free • pH Balanced.

Protect your well-being by choosing authentic Onecare products. Learn more.

Protect Against Sun & Environmental Damage

Acts as the skin’s total protective agent with UV filtering and anti-pollution properties.

Conceal Blemishes, Marks & Uneven Tones

Delivers ample coverage that blends seamlessly into all skin tones with self-adjusting pigment.

Prevent Wrinkles & Maintain Elasticity

Rich in anti-aging properties to protect the skin against sun-induced fine lines and wrinkles.

Protect Collagen Naturally

Contains ECM (Extracellular Matrix) defense that protects Collagen breakdown caused by UV and blue light.

Double As A Makeup Base

Lightweight and non-greasy finish which allows makeup to glide on smoothly for an even complexion.

Moisturize & Shield Skin

Fortifies the skin’s natural barrier to retain moisture while shielding against harmful UV rays.

Size / Volume 30ml / 1FL OZ.
Color Skin colour
Scent Fragrance-free
Texture Cream
Feeling Smooth, easy to spread.
For Skin Types • Normal • Oily • Combination
Suitable Users Men and Women
Apply On Face & Neck.
STEP-1 Gently smooth over the face and neck after UltraMoist™. To be used every morning and can be reapply during the day as needed.
STEP-2 Apply dots of UltraShield™ to the center of the forehead, nose, two cheeks, and chins. By using your index and middle fingertips, blend each dab with a gentle pressure in outward strokes. Start with the forehead before working your way to the nose, chin and cheeks.
STEP-3 Gently pat some extra cream around your eyes to reduce fine lines and wrinkles. Dab extra cream on any imperfection for better coverage. Using the same method, apply evenly on the neck as well.

Ten Youth Elixirs™|Total Skin Shield Agents. • ECM(Extracellular Matrix) Defense System to protect collagen • Reduce pigmentation • Form a protective film to naturally ward off airborne nanoparticles • Powerful antioxidant & anti-environmental pollution.

Panax Ginseng Root Extract™|Contains ginsenosides with potent antioxidant properties •  Protect dermal cell from UVB damage • Prevent free radical damage • Soothe and calm skin redness caused by sun exposure •  Photoprotective effects • Promote Collagen synthesis to repair sun-damaged skin.

Oleuropein Complex™|100% natural olive leaves aqueous extract. • Antioxidant & anti-inflammatory • Skin moisturizer & conditioner • Skin whitening with UV protection • Enhance skin elasticity.

Zinc Oxide|Mineral UV blocker. • Broad spectrum UV block • Fight acne & blemishes • Absorb excess oil • Noncomedogenic.

Titanium Dioxide|Natural inert earth mineral. • Excellent UV protection • Prevent sun-induced lines & wrinkles • Gentle & kind to the skin.

Others • 100% Natural Active Ingredients • Easily & Quickly Absorbed • Dermatologically tested • Non-sticky Formula • Nano materials Free • Hormone Free • Alcohol Free • pH Balanced.

Protect your well-being by choosing authentic Onecare products. Learn more.

Brighten Skin Tone

Promotes the production of Pheomelanin (lighter pigment) with potent antioxidant properties for a bright, glowy, and even skin tone.

Erase Age Spots & Pigmentations

Lightens skin discoloration and protects the skin cells from free radical damage and photodamage.

Reduce Fine Lines & Wrinkles

Activates the body's own Collagen production to restore dermal tissue and eliminate signs of aging.

Rebuild Skin Firmness & Elasticity

Promotes the regeneration of skin cells with anti-glycation properties to prevent skin sagging.

Detox Liver For Healthier Complexion

Increases the production of Glutathione (master detoxifier) to reduce inflammation that causes premature aging, skin flares, and dull skin.

Promote Healthier Hair & Nails

Nourishes hair and nails from within with Cysteine Peptide, boosting the synthesis of Beta-Keratin for voluminous hair and stronger nails.

Size / Volume 60 Vegetarian Capsules
Consumption Period For 30-Day
Suitable Users Male and female age 11 years old and above
For Adults 2 capsules a day before bedtime.
For Smokers / Drinkers 4 capsules a day to improve detoxification.
Paired with CERA5™ 2 capsules of CERA5™ before breakfast and 2 capsules of AG-FACTOR™ before bedtime.
Storage Tips

Store in a cool and dry place, avoid direct sunlight.

No refrigeration is required.

Consume as soon as it's opened.

Whey Protein Concentrate (Cysteine Peptide)|Cysteine Peptide derived from Whey Protein Concentrate fuels the body to produce Glutathione and Collagen naturally. Glutathione, known as the 'Master Antioxidant', detoxifies the liver and enhances skin clarity, brightness, and health. Additionally, it fights against the premature aging of dark spots and discoloration by boosting skin immunity. Collagen, on the other hand, improves skin firmness and elasticity, reversing signs of aging for a youthful-looking complexion.

Haematococcus Pluvialis Extract (Green Microalga)|Rich in Astaxanthin, this powerful antioxidant has anti-glycation properties that slow down glucose metabolism, preserve skin's elastic fibers, and give a radiant, youthful complexion. Its optimal skin penetration along with its anti-aging effect protects the skin against UV-induced skin damage, dark spots, and pigmentation.

Dendranthema Morifolium Flower Extract (Chrysanthemum Flower)|Abundant in phytonutrients, the Chrysanthemum flower helps reduce hyperlipidemia (excess fats in the blood) and strengthen skin lipids to protect against free radical damage. Its anti-inflammatory properties soothe the skin and improve skin brightness, reducing the appearance of sagging skin and promoting an even skin tone.

Acerola Cherry Fructus Extract (Malpighia Emarginata)|The vitamin-packed superfruit is rich in vitamins C, A, and B, protects the skin from photodamage and stressors by increasing skin-rejuvenating stimulation. The protection thereby boosts the healing effects of scar tissues and wounds to promote glowing skin and shield against free radical damage.

Others|Vegetable Cellulose, Rice Flour, Magnesium Stearate (Vegetable source), Silica

Serving Size: 2 capsules
Serving Per Container: 60 capsules
Amount Per Serving % Daily Value
Whey Protein Concentrate [Standardized to 76-78% of protein contents (Providing 228mg protein)] 300 mg⁺
Haematococcus Pluvialis Extract (Green Microalga)[High antioxidant activities, which are rich in astaxanthin, carotenoids, protein, lutein, and essential fatty acids] 100 mg⁺
Dendranthema Morifolium Flower Extract (Chrysanthemum Flower)[Rich in phytonutrients including; flavonoids, phenolic acids, and lignans] 40 mg⁺
Acerola Cherry Fructus Extract (Malpighia Emarginata)[Providing 2% ascorbic acid; rich in phytonutrients (carotenoids, phenolics, flavonoids, and anthocyanins)] 40 mg⁺
⁺Daily value not established Net Weight: 30 gm
HALAL Approved International Halal Council approved. View Certificate
Lab Test Pass product safety testing against the safety marks. View Certificate
Suitable for Vegetarian Contain key ingredients derived from dairy and plants.
Others • Clinically Proven Ingredients • Gluten-Free • Lactose-Free • Sodium-Free • Hormone-Free • No Artificial Preservative, Coloring And Additive • Manufactured in a GMP-Certified Facility

Protect your well-being by choosing authentic Onecare products. Learn more.

Voices of OnecareFans

Discover inspiring stories shared by our community

By Products:

' + '
' + '{1} ' + '{2}
' + '
' + '
' + '
' + '' + '' }); } } /* Reload items in cart content ---------------------------------------------------------------------------- */ function reload_items_in_cart(pAction, pKey, pCode, pQty) { pQty = (pQty==null || pQty==undefined || pQty=='') ? 1 : pQty; $.ajax({ type: 'GET', url: 'https://img.onecare.store/home2024/ajax_get_cart_items.php?uRequestMode=ajax', dataType: 'html', success: function(html) { if( html.trim()=='' ) { var tl = new TimelineLite(); tl.to( $('.cart-control'),.5,{autoAlpha:0} ); tl.set( $('.cart-control.if-items'),{className:'+=hidden'} ); tl.set( $('.cart-control.if-empty'),{className:'-=hidden'} ); tl.to( $('.cart-control.if-empty'),.5,{autoAlpha:1,immediateRender:false} ); tl.to( $('html body'),.5,{scrollTop:0},'-=.5' ); } else { // animation-start { var tl = new TimelineLite(); tl.to($('.card-items-in-cart .card-body'),.5,{opacity:0}); tl.to($('.card-items-in-cart .card-body'),.5,{height:0}); $('.card-items-in-cart .card-body').html( html ); tl.set($('.card-items-in-cart .card-body'),{height:'auto'}); tl.from($('.card-items-in-cart .card-body'),.5,{height:0,immediateRender:false}); tl.to($('.card-items-in-cart .card-body'),.5,{opacity:1}); // } animation-end // re-initialize event listener-start { $('.selectpicker').selectpicker('mobile'); $('.prod-selector').bind('change',function(){ update_order( 'add', $(this).attr('data-key'), $(this).find('option:selected').val()); }); // } re-initialize event listener-end } update_order(pAction, pKey, pCode, pQty); }, error: function(jqXHR) { info_modal('Request failed',jqXHR.responseText); } }); } /* Reload items in cart content ---------------------------------------------------------------------------- */ function reload_recommended_packages() { } /* Pre-update order - before update_order is called ---------------------------------------------------------------------------- */ function pre_update_order(pAction, pKey, pCode, pQty) { var preOrderList = {}; pQty = (pQty==null || pQty==undefined || pQty=='') ? 1 : pQty; if(orderList) for( i in orderList ) { if( !orderList[i].qty ) { orderList[i] = {"cod":orderList[i],"qty":1}; } } update_add_cart_button( pAction, pKey, pCode, pQty ); setCookie('orderList', JSON.stringify(orderList), 1); update_cart_counter( orderList ); // if( JSON.stringify(preOrderList)!=JSON.stringify(orderList) ) update_estimate_discount_total( orderList ); } /* convert voucher ---------------------------------------------------------------------------- */ var frmConvertVoucher = $('#frmConvertVoucher'); var frmConvertVoucherNotification = $('#frmConvertVoucher-notification'); function convert_voucher(action) { content = '
'; url = '//img.onecare.store/voucher/ajax_ps_voucher_dt.php'; data = frmConvertVoucher.serialize(); $.ajax({ type: 'POST', url: url, data: data, dataType: 'json', async: true, beforeSend: function() { frmConvertVoucherNotification.html(content); }, success: function(json) { if( json.error && json.error.length>0 ) { content = '
 ' + json.error.join('
 ') + '
'; frmConvertVoucherNotification.html(content); } else if( json.success ) { content = '
 ' + json.success + '
'; frmConvertVoucherNotification.html(content); frmConvertVoucher.attr('style','opacity:0;display:none;'); } }, error: function(jqXHR, textStatus, errorThrown) { alert(jqXHR.responseText); } }); } var wdtFeedback = $('#wdtFeedback'); var frmFeedback = $('#frmFeedback'); var frmFeedbackNotification = $('#frmFeedback-notification'); function update_feedback(section) { if( typeof section == 'undefined' ) { wdtFeedback = $('#wdtFeedback'); frmFeedback = $('#frmFeedback'); frmFeedbackNotification = $('#frmFeedback-notification'); } else { wdtFeedback = $('#wdtFeedback-' + section); frmFeedback = $('#frmFeedback-' + section); frmFeedbackNotification = $('#frmFeedback-notification-' + section); } frmFeedback.find('#optFeedbackDomain').addClass('hide'); if( frmFeedback.find('#optFeedbackType').val()==1 ) // product { frmFeedback.find('#optFeedbackDomain').removeClass('hide'); } } /* send feedback ---------------------------------------------------------------------------- */ function send_feedback(section) { // console.log( section ) if( typeof section == 'undefined' ) { wdtFeedback = $('#wdtFeedback'); frmFeedback = $('#frmFeedback'); frmFeedbackNotification = $('#frmFeedback-notification'); } else { wdtFeedback = $('#wdtFeedback-' + section); frmFeedback = $('#frmFeedback-' + section); frmFeedbackNotification = $('#frmFeedback-notification-' + section); } content = '
'; url = 'https://img.onecare.store/home/ajax_ps_feedback_add.php'; data = new FormData(frmFeedback[0]);//frmFeedback.serialize(); $.ajax({ type: 'POST', enctype: 'multipart/form-data', processData: false, contentType: false, cache: false, url: url, data: data, dataType: 'json', success: function(json) { if( json.error ) { content = ''; if( section=='modal' ) { setTimeout(function(){ wdtFeedback .find('.error-wrapper') .html('
'+content+'
'); }, 1000); } else { info_modal('There were errors in your feedback submission:',content); } // frmFeedbackNotification.html(content); } else if( json.success ) { clear_form_elements(frmFeedback); if( section=='modal' ) { var $infoModal = $('#info-modal'); $infoModal.find('.modal-header h4').html( json.success.title ); $infoModal.find('.modal-body').html( '

' + json.success.content + '

' ); setTimeout(function(){ wdtFeedback.modal('hide'); $infoModal.modal('show'); }, 1000); } else { // frmFeedbackNotification.html(''); closeDialog( divNotificationDialog ); closeDialog( divLoadingDialog ); info_modal(json.success.title,json.success.content); } } }, error: function(jqXHR, textStatus, errorThrown) { alert(jqXHR.responseText) } }); } function change_country(country,language) { if(country != "") { var _url = "//img.onecare.store/ajax/ajax_set_country.php?uRedirect=0&uCountry=" + country; if( language.length > 0 ) _url += '&uLang=' + language; $.ajax({ url: _url, dataType: 'text', xhrFields: { withCredentials: true }, crossDomain: true, success: function(data) { if(data == "true") { var curUrl = document.location.href; var urldata, location; if( curUrl ) urldata = curUrl.split('?'); if( urldata ) { location = urldata[0]; //location += ( (urldata[1]) ? '?'+urldata[1]+'&' : '?' ) + 'uCountry=' + country; var params = new URLSearchParams(window.location.search); if( params.has('uCountry') ) params.set('uCountry',country); else params.append('uCountry',country); location += '?' + params.toString(); } else location = 'https://img.onecare.store'; if( language!=null && language!='' && language!='en' && !$.isNumeric(language) ) window.location = location + "#googtrans(en|"+ language +")"; else window.location = location; } else if(data == "false") { // SET country failed } } }); } } /* login ---------------------------------------------------------------------------- */ var wdtLogin = $('#wdtLogin-modal'); function login( frm ) { frm = (frm==undefined||frm=='') ? 'login-form' : frm; var frmLogin = $('#' + frm); var content = '
'; var uri = (frm=='frmLogin-modal') ? '?uOauth=member&uOrderMethod=' + $('input[name=radOrderMethod]:checked').val() : '?type=member'; var url = 'https://img.onecare.store/home2019/ajax_ps_login.php' + uri; var data = frmLogin.serialize(); $.ajax({ type: 'POST', url: url, data: data, dataType: 'json', async: true, beforeSend: function() { content = '
We are processing your request. Please be patient.
'; }, success: function(json) { if( json.error && json.error.length > 0 ) { content = ''; if( frm=='frmLogin-modal' ) { setTimeout(function(){ wdtLogin .modal('loading') .find('.modal-body') .append('
'+content+'
'); }, 1000); } else { info_modal( 'There were errors in your request:', content ); // reset captcha turnstile.reset(); } } else if( json.success ) { if( frm=='frmLogin-modal' ) { if( '' == '1' ) { window.location = json.location; } else { window.location.reload(); } } else { closeDialog( divNotificationDialog ); closeDialog( divLoadingDialog ); if( frm == 'frmLoginDialog' ) { var newURL = location.href; var search = location.search.split('&'); newURL = '//' + location.host + location.pathname; newURL += '?uCountry=' + json.response.country; if( search.length > 0 ) for( i=0;i'; var url = 'https://img.onecare.store/home/ajax_ps_logout.php'; if( FB && FB.getAccessToken()!='null' && FB.getAccessToken()!=null ) FB.logout(function(response) { /* user is now logged out */ }); $.ajax({ type: 'POST', url: url, dataType: 'json', async: true, beforeSend: function() { content = '
We are processing your request. Please be patient.
'; info_modal('Processing request',content); }, success: function(json) { if( json.success ) { window.location = '//img.onecare.store/home2024/'; } }, error: function(jqXHR, textStatus, errorThrown) { info_modal( 'There were errors in your request:', jqXHR.responseText ); } }); } /* my account ---------------------------------------------------------------------------- */ function redirect_url( url ) { window.location = url; } /* facebook functions ---------------------------------------------------------------------------- */ function login_fb() { // console.log('login_fb'); FB.login(function (response) { console.log('response',response); if (response.authResponse) { // connected get_fb_me() } else { // cancelled } }, {scope: 'public_profile,email'}); } function get_fb_me() { // console.log('get_fb_me'); FB.api('/me',{fields:'email,id,name,location,gender,last_name,first_name,locale,timezone,link,verified,birthday'}, function (response) { var access_token = FB.getAuthResponse()['accessToken']; response.access_token = access_token; submit_fb_login( response ); }); } function submit_fb_login( response ) { // console.log('submit_fb_login'); var content = '
'; var url = 'https://img.onecare.store/home2019/ajax_ps_login.php?type=fb'; var data = decodeURIComponent($.param(response)); // frmLogin.serialize(); $.ajax({ type: 'POST', url: url, data: data, dataType: 'json', async: true, beforeSend: function() { title = 'Processing request'; content = '
We are processing your request. Please be patient.
'; info_modal( title, content ); }, success: function(json) { if( json.error && json.error.length > 0 ) { content = ''; title = ''; info_modal( title, content ); } else if( json.success ) { info_modal( 'Facebook Signup Success', 'Welcome back, ' + json.response.username + '!' ); if( $.inArray(location.pathname.split('/').pop(),['login.php','signup.php','order_success.php']) !== -1 ) { window.location = 'https://img.onecare.store/family?uPage=userlogin&uCountry=' + json.response.country; return; } var newURL = location.href; var search = location.search.split('&'); newURL = 'https://' + location.host; newURL += ( location.pathname=='/order_success.php' || location.pathname=='/login.php' ) ? '/home/member.php' : location.pathname; newURL += '?uCountry=' + json.response.country + '&uPage=user'; if( search.length > 0 ) for( i=0;i=totalHeight) { if (scrolling > lastScrollTop) { // Scrolling down navbar.addClass('navbar-hidden').removeClass('navbar-fixed'); } else { if( $('.section-nav .offcanvas').hasClass('show') ) { } else { // Scrolling up navbar.removeClass('navbar-hidden').addClass('navbar-fixed'); } } } else if (scrolling < announcementHeight) { navbar.removeClass('navbar-hidden navbar-fixed'); } lastScrollTop=scrolling; }); $('.marquee').marquee({ allowCss3Support:true, css3easing:'linear', easing:'linear', delayBeforeStart:1000, direction:'left', duplicated:true, duration:15000, gap:30, pauseOnCycle:true, pauseOnHover:true, startVisible:true }); // init controller var controllerOnLeave=new ScrollMagic.Controller({globalSceneOptions:{triggerHook:'onLeave'}}); // init controller var controllerOnEnter=new ScrollMagic.Controller({globalSceneOptions:{triggerHook:'onEnter'}}); // reference for main items var slider=$('#slider'); // reference for thumbnail items var thumbnailSlider=$('#thumbnailSlider'); //transition time in ms var duration=500; // carousel function for main slider new Swiper('#slider', { loop:true, spaceBetween:0, simulateTouch:true, grabCursor:true, lazy:true, // Lazy loading of images effect:'fade', pagination:{ el:'.swiper-pagination', // Custom dots container clickable:true, // Make dots clickable }, autoplay:{ delay:3000, disableOnInteraction:false, }, breakpoints:{ 0:{ slidesPerView:1 } }, on:{ slideChange:function() { //On change of main item to trigger thumbnail item //Updated on 20211102 // $('.item').removeClass('center'); // $('#item-'+ e.item.index ).addClass('center'); } } }); $('[data-bs-toggle="tooltip"]').tooltip(); // build scene var scene1=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-7', duration:'0%' }) .setTween('.section-btn-fixed-btm .btn-add-to-cart', 1, {bottom:'-5em'}) // trigger a TweenMax.to tween //.addIndicators({name:'2 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); var scene2=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-7', duration:'0%' }) .setTween('.section-btn-fixed-btm .btn-add-to-cart', 1, {bottom:'1em'}) // trigger a TweenMax.to tween //.addIndicators({name:'2 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnLeave); //if page onload found selected $('.section-btn-fixed-btm .btn-add-to-cart').on('click',function(){ $('.section-order-now .summary-wrapper .btn-add-to-cart').trigger('click'); }); $('.navbar-btn.btn-add-to-cart').on('click',function(){ $('.section-order-now .summary-wrapper .btn-add-to-cart').trigger('click'); });//Updated on 20220222 $('.section-order-now .list-item').on('click', function(e){ $('.outofstock-control').addClass('hide'); if( $(this).hasClass('out-of-stock')===false ) { // set counter let _hidChooseCount=$('input[name=hidChooseCount]').val(); $('input[name=hidChooseCount]').val( ++_hidChooseCount ); $('.outofstock-control.if-available').removeClass('hide'); $('.section-order-now .list-item').removeClass('selected'); $(this).addClass('selected'); if( parseInt( $('input[name=hidChooseCount]').val() )>1 ) { // $([document.documentElement, document.body]).animate({scrollTop:$('.section-order-now .list-beauty-bundles .list-title').offset().top - 100}, 700); } // Updated on 20221021 - fong if(true !=true) { if( parseInt( $('input[name=hidChooseCount]').val() )>1 ) { // $([document.documentElement, document.body]).animate({scrollTop:$('.section-order-now .list-beauty-bundles .list-title').offset().top - 100}, 700); } $('.section-order-now .summary-wrapper .item-dprice').html( $(this).data('dprice') ); $('.section-order-now input[name=hidItemDPrice]').val($(this).data('dprice')); } else { var itemSave=parseFloat( $(this).data('normal-price') - $(this).data('discount-price') ); var itemPoint= Math.round( $(this).data('discount-price') * 2 ); if( false==true ) { // Updated on 20241105 - fong $('.section-order-now .summary-wrapper .item-dprice').html( $(this).data('currency')+' '+ (parseFloat($(this).data('sales-price')).toFixed(2) * parseInt($('input[name=txtProdQty]').val())).toFixed(2) ); } else { $('.section-order-now .summary-wrapper .item-dprice').html( $(this).data('currency')+' '+ (parseFloat($(this).data('normal-price')).toFixed(2) * parseInt($('input[name=txtProdQty]').val())).toFixed(2) ); } $('.section-order-now input[name=hidItemDPrice]').val( (parseFloat($(this).data('normal-price')).toFixed(2) * parseInt($('input[name=txtProdQty]').val())).toFixed(2) ); // Updated on 20221025 - fong if( $(this).data('code')=='00000243' ) { itemSave=$(this).data('discount-price'); } $('.section-order-now .summary-wrapper .item-save span').html( itemSave.toFixed(2) ); $('.section-order-now .summary-wrapper .item-point span').html( itemPoint ); } $('.section-order-now .summary-wrapper .item-fullname').html( $(this).data('name') ); $('.section-order-now .summary .row').removeClass('disabled'); //Updated on 20211101 $('.section-order-now .summary-wrapper .btn-add-to-cart').data('key', $(this).data('key')); $('.section-order-now .summary-wrapper .btn-add-to-cart').data('code', $(this).data('code')); $('.section-order-now .summary-wrapper .btn-add-to-cart').data('content_ids', $(this).data('content_ids')); $('.section-order-now .summary-wrapper .btn-add-to-cart').data('content_name', $(this).data('content_name')); $('.section-order-now .summary-wrapper .btn-add-to-cart').data('value', $(this).data('value')); $('.section-order-now .summary-wrapper .btn-add-to-cart').removeAttr('disabled'); get_cback_details('frmItemPrice'); } else { $('.outofstock-control').addClass('hide') $('.outofstock-control.if-outofstock').removeClass('hide'); } }) $('.section-order-now .list-item.selected').trigger('click'); $('.section-order-now .summary-wrapper .btn-add-to-cart').on('click',function(){ var _qlimit=parseInt($(this).attr('data-qlimit-qty')); key =$(this).data('key'); code=$(this).data('code'); qty =(orderList[key] && orderList[key].qty && orderList[key].cod==code) ? (parseInt(orderList[key].qty) + parseInt($('input[name=txtProdQty]').val()) ) :( ($('input[name=txtProdQty]').val())? parseInt($('input[name=txtProdQty]').val()) :1 ); var _content_ids=$(this).data('content_ids').split('.'); var _contents=[]; for(i=0;i<_content_ids.length;++i) { _contents[_content_ids[i]]=1; } var _data={ content_ids:_content_ids, content_name:$(this).data('content_name'), content_category:'buy', content_type:'product', num_items:_content_ids.length, contents:_contents, value:$(this).data('value'), currency:'MYR' }; // Fb Traking if( fbq ) fbq('track', 'AddToCart', _data, {eventID:'1737404988'}); if( fbcapi ) fbcapi('AddToCart', _data); // TT Tracking if( typeof ttq=='object' && typeof ttq.track=='function' ) ttq.track('AddToCart'); // Google Tracking if( typeof gtag==='function' ) { // google analytic gtag('event','button',{ 'event_category':'click', 'event_label':'addtocart' }); } // check qlimit if( qty > _qlimit ) { qty=_qlimit; info_modal('Purchase Limit','This item is limited to one quantity only and can only be purchased with non-trial items from Onecare store.'); } else { setOrderList( key, code, qty ); setCookie('orderList', JSON.stringify(orderList), 1); update_cart_counter( orderList ); update_estimate_discount_total( orderList ); } reload_mini_cart_items( key, code, qty ); }); $('.quantity-selector-action-more').on('click', function() { var input=$('input[name=txtProdQty]'); var currentValue=parseInt(input.val()); var max=parseInt(input.attr('max')); var step=parseInt(input.attr('step')) || 1; if (isNaN(currentValue)) currentValue=0; if (currentValue < max || isNaN(max)) { input.val(currentValue + step); } $('.quantity-selector-action-less').prop('disabled', false); cal_price(); get_cback_details('frmItemPrice'); }); $('.quantity-selector-action-less').on('click', function() { var input=$('input[name=txtProdQty]'); var currentValue=parseInt(input.val()); var min=parseInt(input.attr('min')); var step=parseInt(input.attr('step')) || 1; if (isNaN(currentValue)) currentValue=1; if (currentValue > min || isNaN(min)) { input.val(currentValue - step); } if( (currentValue - step)==1 ) { $(this).prop('disabled', true); } else { $(this).prop('disabled', false); } cal_price(); get_cback_details('frmItemPrice'); }); $('input[name=txtProdQty]').on('change',function(){ if( $(this).val() < 1 ) { $(this).val('1'); } cal_price(); get_cback_details('frmItemPrice'); }); $('input[name=txtProdQty]').on('keydown', function(event) { validateInput(event); }); $('input[name=txtProdQty]').on('paste', function(event) { handlePaste(event); }); // build scene var scene=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-1', duration:'50%' }) .setTween('#trigger-section-order-now-1 .float-up-fast', 1, {opacity:1,transform:'translate(0,0)'}) // trigger a TweenMax.to tween //.addIndicators({name:'1 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); // build scene var scene=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-2', duration:'50%' }) .setTween('#trigger-section-order-now-2 .float-up-fast', 1, {opacity:1,transform:'translate(0,0)'}) // trigger a TweenMax.to tween //.addIndicators({name:'2 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); // build scene var scene=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-3', duration:'50%' }) .setTween('#trigger-section-order-now-3 .float-up-fast', 1, {opacity:1,transform:'translate(0,0)'}) // trigger a TweenMax.to tween //.addIndicators({name:'3 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); // build scene var scene=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-4', duration:'50%' }) .setTween('#trigger-section-order-now-4 .float-up-fast', 1, {opacity:1,transform:'translate(0,0)'}) // trigger a TweenMax.to tween //.addIndicators({name:'4 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); // build scene var scene=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-5', duration:'50%' }) .setTween('#trigger-section-order-now-5 .float-up-fast', 1, {opacity:1,transform:'translate(0,0)'}) // trigger a TweenMax.to tween //.addIndicators({name:'5 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); // build scene var scene=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-6', duration:'50%' }) .setTween('#trigger-section-order-now-6 .float-up-fast', 1, {opacity:1,transform:'translate(0,0)'}) // trigger a TweenMax.to tween //.addIndicators({name:'6 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); // build scene var scene=new ScrollMagic.Scene({ triggerElement:'#trigger-section-order-now-7', duration:'50%' }) .setTween('#trigger-section-order-now-7 .float-up-fast', 1, {opacity:1,transform:'translate(0,0)'}) // trigger a TweenMax.to tween //.addIndicators({name:'7 (duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); // build scene var scene=new ScrollMagic.Scene({ triggerElement:'#prod-metadata', duration:'50%' }) .setTween('#prod-metadata .float-up-fast', 1, {opacity:1,transform:'translate(0,0)'}) // trigger a TweenMax.to tween //.addIndicators({name:'(duration:50%)'}) // add indicators (requires plugin) .addTo(controllerOnEnter); filter_search(); $('.btn-cancel, .btn-filter, .btn-search').on('click',function(){ $('#collapseFilters').collapse('hide'); }); $('.btn-apply-filter').on('click',function(){ $('#collapseFilters').collapse('hide'); var values=[]; $('.section-voices-ocfans .chkFilterGroup:checked').each(function() { values.push($(this).val()); }); var valuesString=values.join(','); if( '1'==1 ) { filter_search(); } else { window.location.href='http://img.onecare.store/home2024/inc_ocfans_list.php?uFilter='+valuesString; } }); $('.btn-search').on('click',function(){ var vTxtKey=$('input[name=txtKeyword]').val(); var vHidKey=$('input[name=hidKeyword]').val(); if(vHidKey !='') { vHidKey +=',' + vTxtKey; } else { vHidKey=vTxtKey; } $('input[name=hidKeyword]').val( vHidKey ); get_filter(); $('input[name=txtKeyword]').val(''); }); $('.filter-group').on('click',function(e){ if($(this).is(':checked')){ $(this).parent().addClass('active'); get_filter(); } else { $(this).parent().removeClass('active'); get_filter(); } }); $('.btn-clear').on('click',function(){ $('.filter-group').prop('checked',false); $('.filter-group').parent().removeClass('active'); $('input[name=hidKeyword]').val(''); get_filter(); }); // $('.owl-carousel.learn-more-carousel').owlCarousel({ // loop:false, // margin:15, // nav:false, // dots:false, // responsive:{ // 0:{ // items:1 // }, // 768:{ // items:4 // } // }, // onInitialize :function(event){ // $('.learn-more-carousel').parents().removeClass('d-none'); // } // }); new Swiper('.learn-more-swiper', { loop:false, spaceBetween:15, simulateTouch:true, grabCursor:true, breakpoints:{ 0:{ slidesPerView:1 }, 768:{ slidesPerView:4 } }, on:{ init:function() { $('.learn-more-swiper').parents().removeClass('d-none'); } } }); $('.prod-list .btn-addtocart').on('click',function(){ var _qlimit=parseInt($(this).attr('data-qlimit-qty')); if( $(this).hasClass('outofstock')===false ) { var action=$(this).hasClass('active') ? 'remove' :'add'; key=$(this).data('key'); code=$(this).data('code'); qty=(orderList[key] && orderList[key].qty && orderList[key].cod==code) ? (parseInt(orderList[key].qty) + 1) :1; if( action=='add' ) { var _content_ids=$(this).data('content_ids').split('.'); var _contents=[]; for(i=0;i<_content_ids.length;++i) { _contents[_content_ids[i]]=1; } var _data={ content_ids:_content_ids, content_name:$(this).data('content_name'), content_category:'buy', content_type:'product', num_items:_content_ids.length, contents:_contents, value:$(this).data('value'), currency:'MYR' }; // Fb Traking if( fbq ) fbq('track', 'AddToCart', _data, {eventID:'1737404988'}); if( fbcapi ) fbcapi('AddToCart', _data); // TT Tracking if( typeof ttq=='object' && typeof ttq.track=='function' ) ttq.track('AddToCart'); // Google Tracking if( typeof gtag==='function' ) { // google analytic gtag('event','button',{ 'event_category':'click', 'event_label':'addtocart' }); } } // check qlimit if( qty > _qlimit ) { qty=_qlimit; info_modal('Purchase Limit','This item is limited to one quantity only and can only be purchased with non-trial items from Onecare store.'); } else { setOrderList( key, code, qty ); setCookie('orderList', JSON.stringify(orderList), 1); update_cart_counter( orderList ); update_estimate_discount_total( orderList ); } reload_mini_cart_items( key, code, qty ); } }); $('#nav-contact-connect-video > li > a').on('click',function(e){ if( $('#' + $(this).attr('aria-controls')).hasClass('in')===true ) return false $('.section-nav-contact-connect-video .tab-content .tab-body').removeClass('in'); $('.section-nav-contact-connect-video .tab-content .tab-parent a[aria-controls='+ $(this).attr('aria-controls') +']').trigger('click'); $(this).parent().addClass('active'); }); $('.section-nav-contact-connect-video .tab-content .tab-body').on('show.bs.collapse',function(e){ $('#nav-contact-connect-video > li').removeClass('active'); $('#nav-contact-connect-video > li > a[aria-controls='+ $(this).attr('id') +']').parent().addClass('active'); }); $('.section-nav-contact-connect-video .tab-content .tab-body').on('hide.bs.collapse',function(e){ $('#nav-contact-connect-video > li').removeClass('active'); }); if( typeof(enquire)=='object' ) { enquire.register('screen and (min-width:768px)', function() { $('.section-nav-contact-connect-video .tab-content .tab-body').removeClass('in'); $('#' + $('#nav-contact-connect-video > li.active a').attr('aria-controls') ).addClass('in') }); } $('.collapse-btn > a').on('click',function(e){ if( $(this).parent('.collapse').hasClass('.in')===true ) $(this).addClass('expanded'); else $(this).removeClass('expanded'); }); // Prevent vertical scrolling while dragging the carousel var touchStartY=0; $('.owl-carousel').on('touchstart', function(e) { touchStartY=e.originalEvent.touches[0].clientY; // Get the initial Y position of the touch $('body').css('overflow', 'hidden'); // Disable scrolling on the body (Y-axis) }); $('.owl-carousel').on('touchend', function(e) { $('body').css('overflow', 'auto'); // Re-enable scrolling on the body (Y-axis) }); $('.owl-carousel').on('touchmove', function(e) { var touchMoveY=e.originalEvent.touches[0].clientY; var touchDifferenceY=Math.abs(touchMoveY - touchStartY); // Allow only small Y-axis movements, assume it's vertical scrolling if the difference is too large if (touchDifferenceY > 10) { $('body').css('overflow', 'auto'); // Re-enable scrolling if vertical scrolling is intended } }); $('.section-footer .btn-newsletter-signup').on('click',function(){ $.ajax({ type:'POST', url:'https://img.onecare.store/home2019/ajax_ps_click_log.php', data:'link=newsletter.php' + '&location=footer', dataType:'json', beforeSend:function() {}, success:function(json) { info_modal('Coming Soon! Stay Tuned!','We\'re working hard to make this function available. Please stay tuned!'); }, error:function(jqXHR, textStatus, errorThrown) { info_modal('Coming Soon! Stay Tuned!','We\'re working hard to make this function available. Please stay tuned!'); } }); }); $('#txtSubEmail').on('keyup', function(e) { if (e.keyCode===13) { email_subscribe('frmSubscribe'); } }); $('.chat-expand').on('click',function(){ chat_widget(this); }); $('.login-modal').on('shown.bs.modal', function () { turnstile.reset(); }); $('.btn-show-pwd').on('click', function() { var input=$(this).siblings('input'); var currentType=input.attr('type'); // Clone the input element with the new type var newType=currentType==='password' ? 'text' :'password'; var newInput=input.clone().attr('type', newType); // Replace the old input with the new one input.replaceWith(newInput); }); $(window).on('load', function() { setTimeout( function(){ $('#modal-new-customer').modal('show'); },5000 ); }); // add event listener to input & textarea to toggle label on/off $('input, textarea').on('keyup change',function(){ if( $(this).val().length > 0 ) { $(this).parent().find('.label-control').addClass('label-on'); } else { $(this).parent().find('.label-control').removeClass('label-on'); } }); $('select').on('change',function(){ if( $(this).val().length > 0 ) { $(this).parent().parent().find('.label-control').addClass('label-on'); } else { $(this).parent().parent().find('.label-control').removeClass('label-on'); } }); $('#optFeedbackType').on('hidden.bs.select', function (e) { $(this).trigger('change'); }); $('#mdlChooseLanguage select[name=optChangeCountry]').off('change'); $('#mdlChooseLanguage select[name=optChangeCountry]').on('change',function(){ country = $(this).find('option:selected').val(); code = $(this).find('option:selected').attr('data-code'); currencyCode = $(this).find('option:selected').attr('data-currency-code'); countryCode = $(this).find('option:selected').attr('data-value'); $('#mdlChooseLanguage .country-flag .img').css({'background-image':'url(https://img.onecare.store/utility/timthumb-v2.php?w=50&src=https://img.onecare.store/lib/img/flag/'+code+'.png)'}); $('#mdlChooseLanguage .currency-code').text( currencyCode ); $.ajax({ url: 'https://img.onecare.store/home2024/ajax_language_opt.php?uRedirect=0', data: 'uCountry=' + $(this).find('option:selected').val() + '&uLangDef=' + $(this).find('option:selected').attr('data-lang-def'), beforeSend: function() { $('#mdlChooseLanguage .language-group-list').html('
loading...
'); }, dataType: 'html', success: function(html) { $('#mdlChooseLanguage .language-group-list').html( html ); }, error: function(jqXHR) { $('#mdlChooseLanguage .language-group-list').html( '
' ); } }); }); // $(function() { // $(this).bind("contextmenu", function(e) { // e.preventDefault(); // }); // }) // Chrome if( $.browser && $.browser.chrome ) { $('.section-products *:not(span,p)').each(function(){ var bgimg = null; if (this.currentStyle) bgimg = this.currentStyle['backgroundImage']; else if (window.getComputedStyle) bgimg = document.defaultView.getComputedStyle(this,null).getPropertyValue('background-image'); bgimg = bgimg.replace(/^url\((.*?)\)$/, '$1'); if(bgimg!='none') $(this).css('background-image','none').attr('data-bg',bgimg); }); } $.lazyLoadXT.autoInit = false; $("img.lazy,[data-bg],[data-src],[role=lazyloadxt]").lazyLoadXT(); if( $.browser && $.browser.chrome ) $(".section-products").lazyLoadXT(); if( $('[rel=popover]').length > 0 ) $('[rel=popover]').popover(); $('.popover-custom-content').each(function(){ var content = $(this).find('.popover-content').html(); $(this).popover({'placement':'bottom','content':content}); }); // remove padding-top for first section-title $('.sidebar-container .section-title:first').addClass('padT0'); // scroll to contact form $('.scroll-to-contact').bind('click',function(){ TweenLite.to( $('html, body'), 1, {scrollTop:$('#wdtContact').offset().top - $('#header').height(),ease:Cubic.easeOut} ); }); function hideAllTabContent(){ $(this).addClass('hidden') } function showThisTabContent(){ $(this).removeClass('hidden'); } if( $("a[rel^='prettyPhoto']").length > 0 ) $("a[rel^='prettyPhoto']").prettyPhoto(); if( $("a[rel^='tooltip']").length > 0 ) $("*[rel^='tooltip']").tooltip(); if( $(".select2").length > 0 ) $(".select2").select2(); if( $('ads-notifier').length > 0 ) { // ads-notifier { $('#ads-notifier-agfactor').addClass('hidden'); $('#ads-notifier-praventac').addClass('hidden'); var strAdsNotId = null; $(strAdsNotId).removeClass('hidden'); function maximize_ads_notifier() { if( $(strAdsNotId + ' .ads-notifier').css('right') != '0px' ) { TweenLite.to($(strAdsNotId + ' .ads-notifier'),.5,{scaleX:1, scaleY:1,autoAlpha:1,right:0,bottom:0}); $(strAdsNotId + ' .ads-notifier a').css('left','0px'); } } function minimize_ads_notifier() { if( $(strAdsNotId + ' .ads-notifier').css('right') == '0px' ) { TweenLite.to($(strAdsNotId + ' .ads-notifier'),.5,{scaleX:.5, scaleY:.5,autoAlpha:1,right:-235,bottom:-25}); $(strAdsNotId + ' .ads-notifier a').css('left','100px'); } } function popup_ads_notifier_desc() { $(strAdsNotId + ' .ads-notifier').popover('destroy'); if( $(strAdsNotId + ' .ads-notifier').css('right') != '0px' ) { var title = $(strAdsNotId + ' .ads-notifier .header').html(), content = $(strAdsNotId + ' .ads-notifier .body').html().replace(' ',''); content = content.replace(' '); $(strAdsNotId + ' .ads-notifier').popover({ 'html': true, 'placement': 'left', 'trigger': 'hover', 'title': title, 'content': content + '
[Click to Expand]' }); $(strAdsNotId + ' .ads-notifier').on('shown.bs.popover', function () { var top = $(strAdsNotId + '').parent().find('.popover').css('top'); top = top.replace('px'); top = parseInt(top) - 40; $(strAdsNotId + '').parent().find('.popover').css({'top':top}); $(strAdsNotId + '').parent().find('.popover-content').css({'white-space':'pre-wrap'}); }); $(strAdsNotId + ' .ads-notifier').popover('show'); } } $(strAdsNotId + ' .ads-notifier').bind('mouseover',function(){ popup_ads_notifier_desc(); }); $(strAdsNotId + ' .ads-notifier .overlay-image').bind('click',function(){ maximize_ads_notifier(); }); $(strAdsNotId + ' .ads-notifier .close').bind('click',function(){ minimize_ads_notifier(); }); minimize_ads_notifier(); setTimeout(function(){ maximize_ads_notifier(); setTimeout(function(){ minimize_ads_notifier(); },8000); },5000); } // } end // Cross-Browser HTML5 Placeholder Text if(!Modernizr.input.placeholder){ $('[placeholder]').focus(function() { var input = $(this); if (input.val() == input.attr('placeholder')) { input.val(''); input.removeClass('placeholder'); } }).blur(function() { var input = $(this); if (input.val() == '' || input.val() == input.attr('placeholder')) { input.addClass('placeholder'); input.val(input.attr('placeholder')); } }).blur(); $('[placeholder]').parents('form').submit(function() { $(this).find('[placeholder]').each(function() { var input = $(this); if (input.val() == input.attr('placeholder')) { input.val(''); } }) }); } $("#divAnnoBxslider").modernTicker({ effect: "scroll", scrollType: "discontinuous", scrollInterval: 20, transitionTime: 500, autoplay: true, marginLeft: '1120px' }); // Set datepiker setting $.datepicker.setDefaults( $.datepicker.regional[ "" ] ); // Cross-Browser CCS3 Seletor $('select').each(function() { if( !$(this).hasClass('nowrap') ) $(this).wrap('