Commercial content: 18+ only | Play responsibly | BeGambleAware.org | Terms & conditions apply
Online casino bonuses in Argentina have become a crucial factor for players deciding where to gamble in 2026. With more operators vying for attention, the range of offers is wider than ever. From extra credits on first deposits to targeted rewards for existing customers, players in Buenos Aires, Córdoba, and Mendoza are on the lookout for platforms that consistently deliver value. Many now expect customized rewards that suit their individual playing styles.
Understanding how these bonuses work is essential. Some platforms link them to local payment options such as Mercado Pago or bank transfers, which are widely used in Argentina. Others introduce seasonal rewards during football tournaments or national holidays, making them feel more relevant to Argentinian players. By knowing what types of bonuses are available and how to access them safely, players can better assess which casinos deserve their attention in 2026.



18+ | Terms and conditions.
- ✓ 100 Bonus Spins
- ✓ Minimum Deposit of 35.000 ARS
- ✓ 3% Weekly Cashback
18+. New players only. Deposit Bonus offer: 100% up to 100,000 ARS + 100 Free Spins on the 1st deposit. Min deposit €20 (local currency equivalent). Free Spins credited in batches of 20 per day for 5 days, starting immediately after bonus activation. Free Spins winnings subject to 40x wagering requirements. Terms apply.

18+ | Términos y condiciones.
- ✓ Sweet Bonanza (Pragmatic Play)
- ✓ Bonus code: MELVIP30
- ✓ 100% up to $369.950
18+. New players only. Registration Bonus: 30 Free Spins on the game specified in the offer. Bonus code available in the offer. Wagering requirements 30x. Email, phone and KYC verification required. Activate via “Bonuses and Gifts”. Free Spins valid for 7 days. VPN not allowed. Limited to 1,000 activations. Deposit Bonus: 100% up to 369,950 ARS + 50 Free Spins on the 1st deposit. Min deposit 10,570 ARS. Wagering requirements 40x within 7 days. Max bet 5,285 ARS. Free Spins available on Juicy Fruits Sunshine Rich (Barbara Bang), with no wagering on winnings. Terms apply.

18+ | Terms and conditions.
- ✓ Bonus Code: BETTERBONUS
- ✓ Coins Aviator (Coins Originals)
- ✓ 100 Bonus Spins on First Deposit
18+. New players only. Exclusive Bonus on Registration: 10 Free Spins valued at $1 each will be credited upon registration on the following game: Coins Aviator (Coins Originals). Bonus code required and available to copy from the promotional offer above. Free Spins winnings are credited as a rakeback balance, which must be unlocked by wagering real-money balance according to the following formula: Reward = Amount Wagered × House Edge × 10% (house edge for slots is 4%; e.g. $100 wagered on slots unlocks $0.40). Max bet $1 while unlocking. Max win $100. The rakeback balance does not expire. Each unlocked portion may be withdrawn once it reaches $1; unlocking the full bonus is not required. Maximum withdrawal is $100. Deposit Bonus offer: deposit and wager the same amount in real money on slots to receive Free Spins valued at $0.05 each: $5 – 20 Free Spins, $10 – 50 Free Spins, $15 – 75 Free Spins, $20 – 100 Free Spins. Min deposit of $5. Spins available on Lucky Tiger 1000 (Pragmatic Play) or Arrow Slot (BGaming), at the player’s choice. Terms apply.

18+ | Términos y condiciones.
- ✓ 275% Casino de Bono
- ✓ En el Primer Depósito
- ✓ Código 1er Depósito: F01
18+. New players only. Exclusive bonus on registration available only through our promotional link: ARS 30.000 Free Cash. 50x wagering requirement. Maximum bet ARS 4.462. Maximum cashout ARS 30.000. Email confirmation required. Minimum deposit of ARS 14.000 required to withdraw winnings. First deposit bonus: 275% bonus. Promo code: F01. 30x wagering requirement. Maximum bet ARS 4.462. Maximum cashout limited to 20x your deposit. Minimum deposit ARS 14.000. General Terms & Conditions apply.

18+ | Términos y condiciones.
- ✓ 50 Bonus Spins
- ✓ Golden Mine (Mancala)
- ✓ Minimum despoit bonus $8800
18+. New players only. Deposit Bonus offer: 100% up to 900,000 ARS + 50 Free Spins credited on the 1st deposit. Min deposit 8,800 ARS. Free Spins available on Golden Mine (Mancala) after the deposit bonus wagering requirements have been completed. Wagering requirements 35x, to be completed within 30 days of activation. Max bet 8,800 ARS. Bonus is automatically credited after deposit, provided the bonus offer has been activated, the profile has been completed and the phone number has been activated. The bonus must be wagered in full before funds can be withdrawn. Terms apply.

18+ | Terms and conditions.
- ✓ 120 Bonus Spins
- ✓ $18,000 Minimum Deposit
- ✓ Weekly Mystery Bonus
18+. New players only. Deposit Bonus offer: 100% up to $90,000 + 120 Free Spins will be credited on 1st deposit. Wagering requirements 40x. Min deposit of $18,000. Terms apply.

18+ | Términos y condiciones.
- ✓ 100 Extra Spins
- ✓ Joker Stoker (Endorphina)
- ✓ $5000 minimum deposit
18+. New players only. Minimum deposit $5,000. 100% bonus up to $250,000 + 100 Bonus Spins on Joker Stoker (50 per day for 2 days). 40x wagering on bonus and deposit. Spin value: $20. Maximum cashout: 5x your deposit. Bonus valid for 48 hours per stage and wagering must be completed within 5 days. Activation required and deposit within 60 minutes for the enhanced offer; otherwise, the standard package applies up to $750,000 + 220 Free Spins. Not available in some countries. Terms apply.

18+ | Términos y condiciones.
- ✓ 120 giros gratis
- ✓ Elvis Frog in Vegas
- ✓ Depósito mínimo $900
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ 100 giros gratis
- ✓ Avalon: The Lost Kingdom
- ✓ Depósito mínimo $2.000
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ Cashback semanal hasta 12%
- ✓ Apuestas deportivas
- ✓ Depósito mín. $15
18+. Juego responsable. Aplican T&C.



18+ | Términos y condiciones.
- ✓ 100 Tiradas Extra
- ✓ Abono automático
- ✓ Tiradas de Suerte Diarias
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ Book of Dead
- ✓ 121% hasta $30.000
- ✓ Depósito mín. $1.000
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ 100% hasta $30.000
- ✓ 90 giros extra
- ✓ Book of Dead
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ 70 Bonus Spins
- ✓ Joker Stoker (Endorphina)
- ✓ $10 Minimum Deposit
18+. New players only. 1st deposit within 60 minutes after registration, minimum deposit $10, 120% bonus up to $500 + 70 Free Spins on Joker Stoker (Endorphina). Wagering requirement 40x for the cash bonus and 30x for the Free Spins, maximum bet $5. Maximum cashout x5 for both bonus cash and Free Spins winnings. Terms apply.

18+ | Términos y condiciones.
- ✓ Dead or Alive
- ✓ $22.200 y hasta 22 Giros
- ✓ Starburst
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ 20 Giros gratis
- ✓ King of Olympus
- ✓ Bono de $4100 en Aviator
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ Apuestas deportivas
- ✓ 100% hasta $47.000
- ✓ Depósito mínimo $380
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ 22 Giros Gratis Sin Depósito
- ✓ Códigos de Bono Exclusivos
- ✓ Nuevos Lanzamientos de Casinos
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ 10% de Bonus Back
- ✓ Apuestas deportivas
- ✓ Mercado Pago y Debin
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ Golden Avalanche
- ✓ Descargar WPT Global
- ✓ $1200 bono de póker
18+. Juego responsable. Aplican T&C.

18+ | Términos y condiciones.
- ✓ Apuestas deportivas
- ✓ Depósito mínimo $500
- ✓ Mercado Pago y Debin
18+. Juego responsable. Aplican T&C.
Five-Step Guide on How to Evaluate and Claim Our Argentinian Casino Bonuses
During registration, provide your details and verify your email address.
Your deposit will automatically trigger the casino bonus.
Avoid table games, as they contribute minimally to meeting your wagering requirements due to their high Return to Player (RTP) rates. If you prefer a dynamic and real-time experience, delve into live casino games.
Explore the fastest payout online casinos to ensure quick access to your winnings.
When ready, request a withdrawal of any accrued winnings.
What Is a Casino Bonus?
A casino bonus refers to funds provided by the casino to players to enhance the enjoyment of the games. It can include free spins, free chips, deposit bonuses, or cash-back offers. These bonuses increase the player’s chances of winning, adding excitement to the gaming adventure.
How Do Casino Bonuses Work?
Casino bonuses are distinct from welcome packages; they are associated with sports betting and online gambling, automatically applying to a customer’s account upon certain actions, like registration or adding funds. Such bonuses can also be activated using codes available on the casino’s website.
Different Types of Casino Bonuses in Argentina
Free Spins
Free spins often accompany welcome packages or are provided independently as rewards. Typically intended for specific slot games, these spins give players a certain number of free attempts. Winnings from these spins usually need to be wagered before withdrawal, so understanding the terms and conditions is crucial.
Cashback Bonuses
Cashback bonuses return a percentage of losses over a specified period. For instance, a casino may reimburse losses from Monday to Thursday at a 10% rate. These bonuses offer a second chance to win by recovering part of your losses.
Welcome Bonuses
New customers creating accounts at online casinos are often offered welcome bonuses. These bonuses typically match a percentage of the first deposit, up to a specified amount. For example, a $20,000 max 100% welcome bonus doubles the player’s initial deposit, enhancing their total play amount.
No Deposit Bonuses
No deposit bonuses allow players to try a casino without depositing money. Though generally smaller than welcome bonuses, they enable players to explore different casinos risk-free.
Reload Bonuses
Reload bonuses target existing players, offering a percentage match on deposits after the welcome bonus is used. They help casinos retain players by rewarding consistent use of the service.
High Roller Bonuses
High roller bonuses cater to those who like to bet big. Although similar in amount to other bonuses, they come with stringent terms and conditions. Online casinos provide high rollers with account managers, promos, and VIP services.
Match-up Bonuses
Match-up bonuses are similar to welcome bonuses, offering percentage matches on deposits within a certain period. For instance, a 50% bonus for deposits up to $50,000. These bonuses encourage deposits and gameplay.
Payment Method Bonuses
Some online casinos offer bonuses for using specific payment methods, like e-wallets, credit cards, or cryptocurrencies. These bonuses can help reduce transaction costs and provide additional rewards.
Refer-a-Friend Bonuses
Refer-a-friend bonuses give players incentives to invite their friends, offering free spins or cash bonuses. The invited friend may also receive a bonus upon registration and first deposit.
Game Specific Bonuses
Casinos often offer bonuses for specific games, enhancing the gaming experience with win incentives like free spins or bonuses for playing certain table games.
Loyalty Bonuses
Loyalty programs reward active players with free spins, cash back, gifts, and trips. The higher the loyalty level, the more valuable the bonuses.
Monthly Bonuses & Promotions
Online casinos offer monthly bonuses and promotions, including holiday or seasonal offers. These bonuses give players new, exciting things to enjoy regularly.

Slots Bonuses in Argentina – When You Want Higher Chances of Winning
Casino bonuses for slot machines, known as slots bonuses, can be used across a variety of slot games within the casino.
Popular Types of Slot Games in Argentina for Casino Bonuses
- Video Slots: Video slots deliver top-notch graphics, animations, sound effects, and entertaining gameplay. With 5 reels and multiple paylines, they offer numerous winning opportunities, activating cool bonus rounds and even jackpots.
- Progressive Slots: Unlike regular slots, progressive slots feature a jackpot shared across machines. The jackpot grows with each spin, enticing players looking for thrill and potential big wins.
- Crash Games: In crash games, players must cash out before a graph crashes. These games combine luck and strategy, providing excitement and the potential for big payoffs. Notable examples include Spibe’s Aviator and Spaceman by Pragmatic Play.
- Megaways Slots: Megaways slots offer dynamic gameplay, with thousands of winning chances due to a reel modifier changing the game with each spin.
At BetterBonus, our slots bonuses consistently provide the best options and favorable wagering requirements.
Free Spins No Deposit in Argentina
Free spins don’t require a deposit, offering players complimentary slot machine access. Winnings from these spins are bonus funds subject to casino wagering prerequisites.
BetterBonus evaluates these bonuses, recommending only those with fair terms. Explore our dedicated page if you’re looking for free spins in Argentina.
No Deposit Casino Bonuses in Argentina
In Argentina, no deposit casino bonuses are immediate cash bonuses received upon registration. They offer cash bonuses without charge, unlike free spins on specific slot machines.
I find the cash option more versatile, allowing play on any slot game rather than being confined to specific machines.
Check out our dedicated no deposit bonus page for Argentina to find various bonuses and codes available!

Casino Bonus Wagering Requirements Explained
In Argentina, wagering requirements are integral to casino bonuses. No balance can be withdrawn until all conditions are met. Here’s a quick guide:
- Securing a 100% bonus means up to $100,000.
- This results in $200,000 in the playing account.
- The wagering requirement is 35 times the deposit and bonus. Thus, $7,000,000 turnover is needed with the current $200,000.
- Once met, you’re free from cash limits and can withdraw using the same method used for the initial bonus deposit.
I prefer looking for free spins with the lowest wagering requirements to maximize my chances of success better.
Free Spins No Wagering
Highly sought-after free spins no wagering offer winnings without any conditions. They’re preferred by players less interested in meeting bonus requirements.
Casino Bonuses Without Wagering Requirements
Occasionally, bonuses without wagering requirements emerge, but one must remain cautious. Often, these come with peculiar deposit structures and high commitments. Understanding such offers assists in informed decisions to avoid future surprises.
Online Casino Bonuses vs. Land-Based Casinos Without Bonuses
Online casino bonuses differ significantly from those at physical locations. While online platforms offer deposit matches or free spins, land-based casinos provide complimentary drinks and meals for hospitality, not directly impacting winning chances.
Different strategies from each type of casino illustrate the evolving gambling landscape.
Bonuses with Digital Currencies
Crypto gambling sites offer unique bonuses and flexibility with digital currencies, yet Bitcoin casinos, Ethereum casinos, Tether casinos, and Litecoin casinos particularly appeal to gamblers with lower costs and fast transactions.
Such platforms also present deposit-specific bonuses to cryptocurrency users, including matching deposits and free spins.

Claim a Daily Bonus With a Casino
Gaining a casino loyalty bonus isn’t as difficult as it seems and is quite effective. Many casinos launch retention campaigns to maintain player engagement. These schemes act as complementary features, increasing RTP in bets when a bonus is used while maximizing strategic advantages.
Picking a specific casino and remaining active increases chances of receiving premium offers. This loyalty path opens opportunities like VIP program invitations and exclusive promotions, enriching the overall gaming experience.
Local Laws Concerning Casino Bonuses in Argentina
Operating licenses are mandatory for online casino recognition. Top Argentinian casinos in 2024 comply with strict regulations by reputable iGaming authorities. These casinos typically display regulatory logos on their homepage, showing their commitment to a secure and fair environment.
Free Casino Bonuses – Where You Find Them
If free casino bonuses are what you’re after, BetterBonus simplifies the search by compiling options in Argentina. Discovering exciting bonuses is as easy as exploring new online casinos, which frequently offer attractive no deposit bonuses and free chips no deposit.
Finding free bonuses has never been easier. For free bets in Argentina, we’ve curated a special page for your convenience.

How Many Multipliers Casino Bonuses Have
In Argentina, the following multipliers on casino bonuses are usually available to claim with operators:
- 1x – 100% Casino Bonus
- 2x – 200% Casino Bonus
- 3x – 300% Casino Bonus
- 4x – 400% Casino Bonus
- 5x – 500% Casino Bonus
- 6x – 600% Casino Bonus
Casino Bonuses Eligible in Mobile
As mobile devices become more prevalent, Argentinian casino bonuses on BetterBonus are fully claimable via mobile. This accessibility means players can enjoy games anywhere, anytime. Special bonuses specifically for mobile users are now common, providing extra funds or free spins.
Are Online Casino Bonuses Worth It?
The choice is yours. Online casino bonuses can enhance your bankroll and winning chances. However, review terms and conditions before accepting. Wagering requirements, game restrictions, and expiration dates are key in assessing a bonus’s value. Research the casino’s reputation to ensure transparent terms.

I'm Erik King, an online casino expert and the founder of Zamedia N.V. Over the years, I've created leading casino comparison sites such as Zamsino and BetterBonus, focusing heavily on detailed casino reviews, transparent bonus comparisons, and promoting responsible gambling. My goal is always to help players around the world find trusted casinos and the best bonuses.
Responsible Gambling Resources
Responsible Gambling | Gamban | GamBlock | Gambling Therapy | GamCare | GamTalk | GameSense✉️ Email Casino Bonus: 8. Mai

18+ | Geschäftsbedingungen gelten.
- ✓ Book of Cats (BGaming)
- ✓ Bonuscode: FHK30
- ✓ 100% bis zu €2000 (Code: FIRST)
18+. Nur für Neukunden. Bonus ohne Einzahlung: 30 Freispiele auf Book of Cats (BGaming). Bonuskode erforderlich und im obenstehenden Angebot verfügbar. Umsatzanforderung 50x. Maximaler Einsatz €5. Maximaler Gewinn €50. Keine Kontoverifizierung erforderlich. Bonus wird durch Eingabe des Codes nach der Registrierung aktiviert und im Bonusbereich gutgeschrieben. Mindesteinzahlung €20 erforderlich, um Gewinne auszuzahlen. Einzahlungsbonus (1. Einzahlung): 100% bis zu €2.000 + 200 Freispiele auf Big Bass Splash (Pragmatic Play). Bonuscode: FIRST. Mindesteinzahlung €20. Freispiele werden als 40 Freispiele pro Tag über 5 Tage gutgeschrieben. Umsatzanforderung 40x. Freispiele müssen innerhalb von 3 Tagen aktiviert werden, und aktivierte Boni sind 7 Tage gültig. Maximaler Gewinn ist auf das 10-fache des Bonusbetrags begrenzt. Es gelten die Allgemeinen Geschäftsbedingungen.
- 🎁 Bonus: 30 Freispiele
- 🎮 Spiel: Book of Cats (BGaming)
- 📌 Bonuscode: Kopiere den Code aus dem obigen Angebot
- 🎰 Umsatzbedingung: 50x
- 💶 Maximaleinsatz: 5 € (oder entsprechender Betrag in anderer Währung)
- 💸 Maximale Auszahlung: 50 € (oder entsprechender Betrag in anderer Währung)
- 📖 So findest du den Bonus: Gib den Code nach der Registrierung ein; der Bonus ist im Bonusbereich verfügbar
- 📝 Mindesteinzahlung zur Auszahlung von Gewinnen: 20 € (oder entsprechender Betrag in anderer Währung)
- ✅ Verifizierung: Keine Verifizierung erforderlich
- 👤 Teilnahmeberechtigung: Nur für neue Spieler | 18+ | Exklusives Angebot
.bbx-hero { width:100%; padding:0 0 10px !important; margin-top:-14px !important; } .bbx-hero__container { width:100%; padding:0; } .bbx-disclaimer { font-size:11px; color:#888; margin:0 0 8px !important; line-height:1.4; } .bbx-disclaimer a { color:#888 !important; text-decoration:underline !important; } .bbx-pill { display:inline-block; background:#eef2ff; color:#0d35b8; font-size:12px; font-weight:700; border-radius:20px; padding:4px 12px; margin-bottom:10px; } .bbx-hero__intro { margin: 0 0 12px; } .bbx-hero__intro p { font-size:14px; color:#334155; margin:0 0 12px; line-height:1.65; font-weight:400; } .bbx-hero__intro p:last-child { margin-bottom:0; } .bbx-aff-topbar { display: block; box-sizing: border-box; width: auto; max-width: none; margin: 12px 0 0; padding: 8px 14px; background: #f7f8fa; border: 1px solid #e4e6ea; border-radius: 6px; color: #555555; font-family: inherit; font-size: 13px; font-style: normal; font-weight: 400; line-height: 1.5; letter-spacing: normal; text-align: left; text-indent: 0; text-transform: none; white-space: normal; word-spacing: normal; float: none; clear: both; position: relative; overflow: visible; } .bbx-aff-topbar > :first-child { margin-top: 0; } .bbx-aff-topbar > :last-child { margin-bottom: 0; } .bbx-aff-topbar strong { font-weight: 700; color: #555555; } .bbx-sticky-bar { position:fixed; bottom:0; left:0; right:0; background:#081741; color:#fff; padding:6px 12px; display:flex; align-items:center; justify-content:space-between; gap:8px; z-index:99999; transform:translateY(120%); transition:transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); } .bbx-sticky-bar.is-visible { transform:translateY(0); } .bbx-sticky-info { display:flex; flex-direction:column; min-width:0; flex:1; } .bbx-sticky-info strong { font-size:12px; color:#fff; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .bbx-sticky-info span { font-size:10px; color:#93c5fd; white-space:nowrap; } .bbx-sticky-btn { background:#f97316; color:#fff !important; font-weight:700; font-size:12px; padding:7px 14px; border-radius:999px; text-decoration:none !important; flex-shrink:0; } .bbx-sticky-close { background: transparent; border: none; color: #94a3b8; font-size: 22px; line-height: 1; padding: 2px 4px; margin-left: 2px; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; outline: none !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent !important; } .bbx-sticky-close:hover { color: #fff; } .bbx-sticky-min { position: fixed; bottom: 14px; right: 14px; background: #081741; color: #fff; border: 1px solid #3b82f6; border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,0.35); z-index: 99998; display: none; cursor: pointer; align-items: center; gap: 6px; transition: transform 0.2s ease, opacity 0.2s ease; -webkit-tap-highlight-color: transparent !important; } .bbx-sticky-min.is-visible { display: flex; } .bbx-sticky-min:hover { background: #0f2b6e; transform: translateY(-2px); } .bbgen-body-wrap a, .bbgen-body-wrap .bbgen-table-wrap td a { color:#0d35b8 !important; text-decoration:underline !important; } .bbgen-body-wrap .bbgen-nav-links a { text-decoration:none !important; } .bbgen-body-wrap a:hover { color:#071a66 !important; text-decoration:underline !important; } .bbgen-body-wrap .bbgen-section { padding:14px 0 !important; } .bbgen-body-wrap .bbgen-section:first-child { padding-top:20px !important; } .bbgen-body-wrap .bbgen-panel { padding:18px 20px !important; } .bbgen-body-wrap .bbgen-nav { margin:0 0 16px !important; } .bbgen-steps-list { display:flex; flex-direction:column; gap:12px; margin-top:14px; } .bbgen-step-item { display:flex; gap:14px; align-items:flex-start; } .bbgen-step-num { flex-shrink:0; width:28px; height:28px; border-radius:50%; background:#1a56e0; color:#fff; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; margin-top:1px; } .bbgen-step-item strong { display:block; font-size:14px; color:#081741; margin-bottom:3px; } .bbgen-step-item p { font-size:13px; color:#555; margin:0; line-height:1.55; } @media (min-width: 768px) { .bbx-sticky-bar, .bbx-sticky-min { display:none !important; } } @media (max-width: 640px) { .bbgen-body-wrap .bbgen-panel { padding:14px 16px !important; } } document.addEventListener(‘DOMContentLoaded’, function() { // STICKY BAR & MINIMIZE / REMINDER LOGIC var stickyBar = document.getElementById(‘bbxStickyBar’); var stickyClose = document.getElementById(‘bbxStickyClose’); var stickyMin = document.getElementById(‘bbxStickyMin’); var isMinimized = false; var bottomReminded = false; if (stickyClose && stickyBar && stickyMin) { // Klicka på kryss -> Minimera till flytande knapp stickyClose.addEventListener(‘click’, function(e) { e.preventDefault(); if (this.blur) this.blur(); isMinimized = true; stickyBar.classList.remove(‘is-visible’); stickyMin.classList.add(‘is-visible’); }); // Klicka på minimerad knapp -> Öppna stora baren igen stickyMin.addEventListener(‘click’, function(e) { e.preventDefault(); if (this.blur) this.blur(); isMinimized = false; stickyMin.classList.remove(‘is-visible’); stickyBar.classList.add(‘is-visible’); }); } window.addEventListener(‘scroll’, function() { if (!stickyBar) return; var scrollPos = window.scrollY || window.pageYOffset; var docHeight = document.documentElement.scrollHeight || document.body.scrollHeight; var winHeight = window.innerHeight; // Om användaren kommer ner mot slutet av sidan (sista 1200px) och hade minimerat -> Påminn igen! if (isMinimized && !bottomReminded && (scrollPos + winHeight > docHeight – 1200)) { isMinimized = false; bottomReminded = true; if (stickyMin) stickyMin.classList.remove(‘is-visible’); stickyBar.classList.add(‘is-visible’); } if (isMinimized) return; if (scrollPos > 1000) { stickyBar.classList.add(‘is-visible’); } else { stickyBar.classList.remove(‘is-visible’); if (stickyMin) stickyMin.classList.remove(‘is-visible’); } }); });
