diff --git a/public/assets/my.js b/public/assets/my.js index 58e887b..4947ca5 100644 --- a/public/assets/my.js +++ b/public/assets/my.js @@ -236,6 +236,36 @@ // opts per (default 25); tail: a selector for a drawer that follows its row and pages // with it; focus: a row predicate, opens on whichever page holds that row const PAGE_SIZE = 25; + // My line is the longest page on the dashboard: its lists page at 10 (Marty, 2026-09-26) + const LINE_PER = 10; + // Section pills at the top of My line: one per visible card marked data-jump, the one in view lit up. + // Cards that show or hide themselves (sponsor, upline messages) rebuild the row when they change. + let lineJumpObs = null; + function buildLineJump() { + const nav = document.getElementById('lineJump'); const pane = document.getElementById('pane-line'); if (!nav || !pane) return; + const cards = [...pane.querySelectorAll(':scope > .card[data-jump]')].filter(c => !c.hidden); + nav.innerHTML = cards.map(c => '').join(''); + nav.hidden = cards.length < 2; + const top = document.querySelector('.bo-top'); nav.style.setProperty('--jumpTop', (top ? top.offsetHeight : 0) + 'px'); pane.style.setProperty('--jumpTop', (top ? top.offsetHeight : 0) + 'px'); + nav.querySelectorAll('[data-jumpto]').forEach(b => b.addEventListener('click', () => { + const c = document.getElementById(b.dataset.jumpto); if (!c) return; + c.scrollIntoView({ behavior: 'smooth', block: 'start' }); + nav.querySelectorAll('.chip-t').forEach(x => x.classList.toggle('on', x === b)); + })); + if (lineJumpObs) lineJumpObs.disconnect(); + if ('IntersectionObserver' in window) { + const seen = new Map(); + lineJumpObs = new IntersectionObserver(ents => { + for (const e of ents) seen.set(e.target.id, e.isIntersecting ? e.boundingClientRect.top : null); + let best = null; for (const [id, t] of seen) if (t != null && (best == null || t < seen.get(best))) best = id; + if (best) { nav.querySelectorAll('.chip-t').forEach(x => x.classList.toggle('on', x.dataset.jumpto === best)); const on = nav.querySelector('.chip-t.on'); if (on && nav.scrollWidth > nav.clientWidth) nav.scrollLeft = on.offsetLeft - 16; } + }, { rootMargin: '-120px 0px -55% 0px' }); + cards.forEach(c => lineJumpObs.observe(c)); + } + } + { const pane = document.getElementById('pane-line'); + if (pane && 'MutationObserver' in window) new MutationObserver(() => buildLineJump()).observe(pane, { subtree: false, childList: false, attributes: true, attributeFilter: ['hidden'] }); + if (pane) pane.querySelectorAll(':scope > .card[data-jump]').forEach(c => { if ('MutationObserver' in window) new MutationObserver(() => buildLineJump()).observe(c, { attributes: true, attributeFilter: ['hidden'] }); }); } const PAGE_AT = {}; function pageList(key, host, rowSel, opts) { if (!host) return; opts = opts || {}; const per = opts.per || PAGE_SIZE; @@ -602,7 +632,7 @@ + '
Questions getting started? Message your sponsor directly. If they are online you chat live; if not, it lands in their inbox and they are notified.
Share it anywhere, starting now. Everyone who joins through it becomes part of your line, and you earn 50 percent of every ad package they ever buy, plus levels 2 and 3 as you @@ -307,34 +309,34 @@
Views, joins and qualifying buyers for each hook. Add ?v=instant, ?v=adspend, ?v=free, ?v=ledger or ?v=two to the end of your link to pick the hook the page opens with.
Where your visitors came from (referring site of the first visit; "direct" is a typed or pasted link, a text message, or an email)
Everyone who joined through your link, newest first. When they buy their first package of $20 or more, they count toward your qualification.
Nobody yet. Your link is ready above; share it and this list starts filling.
People who joined without a sponsor wait here. Adopt one and you become their sponsor: a chat opens, they get an email with your message, and their first purchase binds to you on the contract. First come. At most 2 open adoptions at a time, and an adoption goes back to the tank after 7 days if they have not linked a wallet or bought.
Loading…
Reach your free referrals. If there is no message from you to a free referral for 10 days, you get a warning; at 14 days they move to the holding tank so someone else can help them. A chat, a nudge, or tapping Contacted them resets the clock. Nothing on-chain ever moves.
Where each person you referred sits on the ladder, who has gone quiet, and what to say next. Nudge opens a chat with the message already written; edit it if you like, then send. Quiet members also get one automatic reminder email per step from InstantAdPay, so your nudge is the personal one.
Loading…
Your own follow-up list. Add anyone you mentioned InstantAdPay to, give them a status and a follow-up day, and the next conversation stays in front of you. Only you can see this.
Everyone below you across levels 1–3. The POL figure is what each person has paid you so far, straight from the ledger. You see email addresses for your direct referrals only; deeper levels show username and ID. Message your direct referrals right here.
Loading…
Send one broadcast a day to your downline. It lands in their on-site inbox and their email. Reaches the people who joined under you — they can't opt out of their sponsor, @@ -379,7 +381,7 @@