PageSourceSearch

https://www.moohin.com/gold-1-salung

html moohin.com collected 2026-10-02 12:41:45 UTC 59,929 bytes, 974 lines download raw bytes

1<!DOCTYPE html>
2<html lang="th">
3<head>
4    <meta charset="UTF-8">
5    <meta name="viewport" content="width=device-width, initial-scale=1.0">
6    
7        
8    <title>Moohin ราคาทองวันนี้ ล่าสุด ย้อนหลัง ทองรูปพรรณ ทองคำแท่ง</title>
9    <meta name="description" content="ติดตามราคาทองคำล่าสุดในประเทศไทย อัปเดตแบบเรียลไทม์ จากสมาคมค้าทองคำ ทองคำแท่ง ทองรูปพรรณ ล่าสุดวันนี้ และย้อนหลัง">
10            <meta name="keywords" content="ทองคำ, ราคาทอง, ราคาทองคำ, ราคาทองวันนี้, ราคาทองคำวันนี้">
11        <meta name="robots" content="index, follow">
12    <link rel="canonical" href="https://www.moohin.com/gold-1-salung">
13    
14    <meta name="description" content="ราคาทอง 1 สลึง, ทอง 2 สลึง (50 สตางค์ / ครึ่งบาท), ทองครึ่งสลึง (25 สตางค์) วันนี้ ทั้งทองคำแท่งและทองรูปพรรณ อัปเดตล่าสุดจากสมาคมค้าทองคำ พร้อมตารางเทียบน้ำหนักและวิธีคำนวณราคา">
15<meta name="keywords" content="ราคาทอง 1 สลึง, ราคาทอง 2 สลึง, ราคาทอง 50 สตางค์, ราคาทองครึ่งบาท, ราคาทองครึ่งสลึง, ราคาทอง 25 สตางค์, ทอง 1 สลึงราคาเท่าไหร่, 3.811 กรัม, 7.622 กรัม, ราคาทองวันนี้">
16<link rel="canonical" href="https://www.moohin.com/gold-1-salung">
17<meta property="og:title" content="ราคาทอง 1 สลึง 2 สลึง (50 สตางค์) ครึ่งสลึง วันนี้">
18<meta property="og:description" content="ราคาทอง 1 สลึง, 2 สลึง (50 สตางค์), ครึ่งสลึง วันนี้ อัปเดตล่าสุดจากสมาคมค้าทองคำ">
19<meta property="og:url" content="https://www.moohin.com/gold-1-salung">
20<meta property="og:type" content="website">
21    
22        
23            <meta name="google-site-verification" content="7-EgZrmg4VzjnwdG2MsbCnsJFPiObrbLCj1i2JCr_ho">
24        
25            <!-- Google Analytics 4 -->
vendor: 72 bytes, lines 25-26
25
26        <script async src="https://www.googletagmanager.com/gtag/js?id=
26G-F253414MFZ
vendor: 20 bytes, lines 26-27
26"></script>
27        
27<script>
28            
vendor: 163 bytes, lines 28-31
28window.dataLayer = window.dataLayer || [];
29            function gtag(){dataLayer.push(arguments);}
30            gtag('js', new Date());
31            gtag('config', '
31G-F253414MFZ
vendor: 12 bytes, lines 31-32
31');
32        
32</script>
32
33        
34    <!-- Ahrefs Analytics -->
35    
35<script src="https://analytics.ahrefs.com/analytics.js" data-key="XXw8CAjJfbx1DMWAB1hZVg" async></script>
35
36    
37    <meta name="google-adsense-account" content="ca-pub-0170422483671339">
38    <!-- Open Graph Tags -->
39    <meta property="og:type" content="website">
40    <meta property="og:title" content="Moohin ราคาทองวันนี้ ล่าสุด ย้อนหลัง ทองรูปพรรณ ทองคำแท่ง">
41    <meta property="og:description" content="ติดตามราคาทองคำล่าสุดในประเทศไทย อัปเดตแบบเรียลไทม์ จากสมาคมค้าทองคำ ทองคำแท่ง ทองรูปพรรณ ล่าสุดวันนี้ และย้อนหลัง">
42    <meta property="og:image" content="https://www.moohin.com/images/gold-traders-logo.png">
43    <meta property="og:url" content="https://www.moohin.com/gold-1-salung">
44    <meta property="og:site_name" content="Moohin">
45    <meta property="og:locale" content="th_TH">
46    
47    <!-- Twitter Cards -->
48    <meta name="twitter:card" content="summary_large_image">
49    <meta name="twitter:title" content="Moohin ราคาทองวันนี้ ล่าสุด ย้อนหลัง ทองรูปพรรณ ทองคำแท่ง">
50    <meta name="twitter:description" content="ติดตามราคาทองคำล่าสุดในประเทศไทย อัปเดตแบบเรียลไทม์ จากสมาคมค้าทองคำ ทองคำแท่ง ทองรูปพรรณ ล่าสุดวันนี้ และย้อนหลัง">
51    <meta name="twitter:image" content="https://www.moohin.com/images/gold-traders-logo.png">
52    
53    <!-- Favicon -->
54            <link rel="icon" href="https://www.moohin.com/favicon.png" type="image/x-icon">
55        <link rel="shortcut icon" href="https://www.moohin.com/favicon.png" type="image/x-icon">
56        
57    <!-- Bootstrap CSS -->
58    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
59    
60    <!-- Font Awesome -->
61    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
62    
63    <!-- Custom CSS -->
64    <link href="https://www.moohin.com/css/custom.css" rel="stylesheet">
65    
66    <!-- Google Fonts - Prompt (Thai) -->
67    <link href="https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap" rel="stylesheet">
68    
69    <!-- Mobile Responsive CSS -->
70    <link href="https://www.moohin.com/css/mobile.css" rel="stylesheet">
71    
72    <link rel="stylesheet" href="https://www.moohin.com/css/gold-index.css">
73<link rel="stylesheet" href="https://www.moohin.com/css/sidebar.css">
74<style>
75    /* Compact UI overrides — scoped to this page */
76    .salung-page .card { margin-bottom: 0.75rem; }
77    .salung-page .card-body { padding: 0.85rem 1rem; }
78    .salung-page .card-header { padding: 0.6rem 1rem; }
79    .salung-page h1 { font-size: 1.35rem; margin-bottom: 0.35rem; }
80    .salung-page h2 { font-size: 1.1rem; }
81    .salung-page h5, .salung-page h6 { font-size: 0.98rem; }
82    .salung-page .price-table th,
83    .salung-page .price-table td { padding: 0.55rem 0.6rem; vertical-align: middle; }
84    .salung-page .price-table .price-num { font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
85    .salung-page .price-table .row-type { font-weight: 600; }
86    .salung-page .meta-chip {
87        display: inline-flex; align-items: center; gap: 0.25rem;
88        background: rgba(218,165,32,0.10); color: #8a6d1c;
89        padding: 0.15rem 0.55rem; border-radius: 999px;
90        font-size: 0.8rem; font-weight: 600;
91    }
92    .salung-page .meta-row { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; font-size: 0.85rem; color: #6c757d; }
93    .salung-page .market-badge { font-size: 0.75rem; padding: 0.18rem 0.5rem; border-radius: 999px; font-weight: 600; }
94    .salung-page .market-badge.open { background: #d1f4dd; color: #146c43; }
95    .salung-page .market-badge.closed { background: #f8d7da; color: #842029; }
96    .salung-page .market-badge.weekend { background: #fff3cd; color: #856404; }
97    .salung-page .nav-tabs-salung { border-bottom: 1px solid #e9ecef; margin-bottom: 0; }
98    .salung-page .nav-tabs-salung .nav-link {
99        font-size: 0.9rem; font-weight: 600; padding: 0.5rem 0.85rem;
100        color: #6c757d; border: none; border-bottom: 2px solid transparent;
101    }
102    .salung-page .nav-tabs-salung .nav-link.active {
103        color: var(--gold-dark); background: transparent;
104        border-bottom: 2px solid var(--gold-primary);
105    }
106    .salung-page .compare-mini td { padding: 0.45rem 0.6rem; font-size: 0.9rem; }
107    .salung-page .compare-mini .num { font-weight: 700; }
108    @media (max-width: 576px) {
109        .salung-page h1 { font-size: 1.15rem; }
110        .salung-page .price-table .price-num { font-size: 1rem; }
111        .salung-page .price-table th,
112        .salung-page .price-table td { padding: 0.45rem 0.4rem; font-size: 0.85rem; }
113    }
114</style>
115        
116    <!-- Schema Markup -->
117    
118    
119    
119<script type="application/ld+json">
120        {"@context":"https://schema.org","@type":"Organization","name":"Moohin - ราคาทอง","url":"https://www.moohin.com","logo":"https://www.moohin.com/images/gold-traders-logo.png","description":"ติดตามราคาทองคำล่าสุดในประเทศไทย อัพเดทแบบเรียลไทม์จากสมาคมค้าทองคำ","contactPoint":{"@type":"ContactPoint","contactType":"customer service","availableLanguage":"Thai"}}
121    </script>
121
122
123    
124    
124<script type="application/ld+json">
125        {"@context":"https://schema.org","@type":"WebSite","name":"Moohin - ราคาทอง","url":"https://www.moohin.com","inLanguage":"th-TH","potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://www.moohin.com/historical?q={search_term_string}"},"query-input":"required name=search_term_string"}}
126    </script>
126
127
128    
129            
129<script type="application/ld+json">
130            {"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"หน้าแรก","item":"https://www.moohin.com"},{"@type":"ListItem","position":2,"name":"ราคาทอง 1 สลึง","item":"https://www.moohin.com/gold-1-salung"}]}
131        </script>
131
132        
133        
133<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-0170422483671339"
134     crossorigin="anonymous"></script>
134
135
136    <!-- Stats Tracker -->
137    
137<script async src="https://www.analytics.in.th/tracker.js" data-site="st-268abd6a8456"></script>
137
138</head>
139<body>
140    <!-- ════ Sticky Gold Price Bar — compact, light, single scrollable line ════ -->
141    <div id="sticky-gold-bar"
142         class="sticky-gold-bar"
143         role="complementary"
144         aria-label="ราคาทองล่าสุด">
145        <!-- Scrollable inner track (hides scrollbar on all browsers) -->
146        <div class="sticky-bar-track">
147            <div class="sticky-bar-inner">
148
149                
150                <span class="sb-icon" aria-hidden="true">🥇</span>
151
152                
153                <span class="sb-type-label">แท่ง</span>
154                <span class="sb-action-label">รับ</span>
155                <strong id="sb-bar-buy" class="sb-price sb-price-buy">—</strong>
156                <span class="sb-divider">|</span>
157                <span class="sb-action-label sb-action-label--sell">ขาย</span>
158                <strong id="sb-bar-sell" class="sb-price sb-price-sell">—</strong>
159
160                <span class="sb-dot" aria-hidden="true">·</span>
161
162                
163                <span class="sb-type-label">รูปพรรณ</span>
164                <span class="sb-action-label">รับ</span>
165                <strong id="sb-jewelry-buy" class="sb-price sb-price-buy">—</strong>
166                <span class="sb-divider">|</span>
167                <span class="sb-action-label sb-action-label--sell">ขาย</span>
168                <strong id="sb-jewelry-sell" class="sb-price sb-price-sell">—</strong>
169
170                <span class="sb-dot" aria-hidden="true">·</span>
171
172                
173                <span id="sb-change-badge"></span>
174
175                <span class="sb-dot" aria-hidden="true">·</span>
176
177                
178                <span class="sb-time">
179                    <i class="far fa-clock" aria-hidden="true"></i> <span id="sb-updated-at">—</span>
180                </span>
181
182            </div>
183        </div>
184    </div>
185
186    <!-- Navigation - Premium Design -->
187    <nav class="navbar navbar-expand-lg navbar-light mb-4">
188        <div class="container">
189            <a class="navbar-brand d-flex align-items-center" href="https://www.moohin.com">
190                                    <img src="https://www.moohin.com/favicon.png" alt="Moohin - ราคาทอง Logo" class="navbar-logo me-2" style="width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));">
191                                <span class="brand-text-wrapper d-inline-flex flex-column lh-1">
192                    <span class="brand-name">Moohin - ราคาทอง</span>
193                                            <small class="brand-tagline">อัปเดตราคาทองคำแบบเรียลไทม์</small>
194                                    </span>
195            </a>
196            <button class="navbar-toggler border-2" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation" style="border-color: var(--gold-primary) !important;">
197                <span class="navbar-toggler-icon" style="background-image: url(&quot;data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e&quot;);"></span>
198            </button>
199            <div class="collapse navbar-collapse" id="navbarNav">
200                <ul class="navbar-nav ms-auto">
201                    <li class="nav-item">
202                        <a class="nav-link " href="https://www.moohin.com">
203                            <i class="fas fa-home me-1"></i> หน้าแรก
204                        </a>
205                    </li>
206                    <li class="nav-item">
207                        <a class="nav-link " href="https://www.moohin.com/daily">
208                            <i class="fas fa-calendar-day me-1"></i> ราคาทองรายวัน
209                        </a>
210                    </li>
211                    <li class="nav-item">
212                        <a class="nav-link " href="https://www.moohin.com/historical">
213                            <i class="fas fa-chart-line me-1"></i> ราคาทองย้อนหลัง
214                        </a>
215                    </li>
216                                    </ul>
217            </div>
218        </div>
219    </nav>
220    
221    <!-- Mobile Quick Navigation (visible on mobile/tablet only, replaces desktop sidebar) -->
222    <div class="d-lg-none mobile-quick-nav-wrapper">
223        <div class="mobile-quick-nav">
224            <a href="https://www.moohin.com" class="nav-chip ">
225                <i class="fas fa-coins"></i> ราคาทองวันนี้
226            </a>
227            <a href="https://www.moohin.com/gold-1-salung" class="nav-chip active">
228                <i class="fas fa-circle"></i> 1 สลึง
229            </a>
230            <a href="https://www.moohin.com/daily" class="nav-chip ">
231                <i class="fas fa-calendar-day"></i> รายวัน
232            </a>
233            <a href="https://www.moohin.com/historical" class="nav-chip ">
234                <i class="fas fa-chart-line"></i> ย้อนหลัง
235            </a>
236            <a href="https://www.moohin.com/market-updates/today" class="nav-chip ">
237                <i class="fas fa-newspaper"></i> อัปเดตตลาด
238            </a>
239        </div>
240    </div>
241
242    <!-- Visual Breadcrumb (hidden on home page) -->
243            <div class="container mb-2">
244        <nav aria-label="breadcrumb">
245            <ol class="breadcrumb mb-0 py-1" style="font-size: 0.82rem; background: transparent;">
246                                                            <li class="breadcrumb-item">
247                            <a href="https://www.moohin.com" style="color: var(--gold-primary); text-decoration: none;">
248                                หน้าแรก
249                            </a>
250                        </li>
251                                                                                <li class="breadcrumb-item active" aria-current="page" style="color: var(--gold-dark);">
252                            ราคาทอง 1 สลึง
253                        </li>
254                                                </ol>
255        </nav>
256    </div>
257    
258    <!-- Main Content -->
259    <div class="container mt-3 mt-lg-4">
260        
261<div class="row salung-page">
262    
263    <div class="col-lg-3 mb-3 d-none d-lg-block">
264        <!-- Sidebar Menu Component -->
265<div class="gold-sidebar">
266    <!-- Main Navigation Menu -->
267    <div class="sidebar-section">
268        <ul class="sidebar-menu">
269            <li>
270                <a href="https://www.moohin.com/gold-1-salung" class="active">
271                    ราคาทอง 1 สลึงวันนี้
272                </a>
273            </li>
274            <li>
275                <a href="https://www.moohin.com" class="">
276                    ราคาทองวันนี้
277                </a>
278            </li>
279            <li>
280                <a href="https://www.moohin.com/daily" class="">
281                    ราคาทองรายวัน
282                </a>
283            </li>
284            <li>
285                <a href="https://www.moohin.com/historical" class="">
286                    ราคาทองย้อนหลัง
287                </a>
288            </li>
289        </ul>
290    </div>
291    
292    <!-- Historical Prices by Year -->
293    <div class="sidebar-section mt-4">
294        <div class="sidebar-title-highlight">ราคาทองย้อนหลัง</div>
295        
296        <ul class="sidebar-yearly-list">
297                                                <li>
298                        <a href="https://www.moohin.com/historical/2026">
299                            <span class="year-label">ปี 2569</span>
300                                                            <span class="change-badge positive">
301                                    +1,750
302                                </span>
303                                                    </a>
304                    </li>
305                                    <li>
306                        <a href="https://www.moohin.com/historical/2025">
307                            <span class="year-label">ปี 2568</span>
308                                                            <span class="change-badge positive">
309                                    +22,300
310                                </span>
311                                                    </a>
312                    </li>
313                                    <li>
314                        <a href="https://www.moohin.com/historical/2024">
315                            <span class="year-label">ปี 2567</span>
316                                                            <span class="change-badge positive">
317                                    +8,750
318                                </span>
319                                                    </a>
320                    </li>
321                                    <li>
322                        <a href="https://www.moohin.com/historical/2023">
323                            <span class="year-label">ปี 2566</span>
324                                                            <span class="change-badge positive">
325                                    +3,800
326                                </span>
327                                                    </a>
328                    </li>
329                                    <li>
330                        <a href="https://www.moohin.com/historical/2022">
331                            <span class="year-label">ปี 2565</span>
332                                                            <span class="change-badge positive">
333                                    +1,100
334                                </span>
335                                                    </a>
336                    </li>
337                                    <li>
338                        <a href="https://www.moohin.com/historical/2021">
339                            <span class="year-label">ปี 2564</span>
340                                                            <span class="change-badge positive">
341                                    +1,700
342                                </span>
343                                                    </a>
344                    </li>
345                                    <li>
346                        <a href="https://www.moohin.com/historical/2020">
347                            <span class="year-label">ปี 2563</span>
348                                                            <span class="change-badge positive">
349                                    +5,400
350                                </span>
351                                                    </a>
352                    </li>
353                                    <li>
354                        <a href="https://www.moohin.com/historical/2019">
355                            <span class="year-label">ปี 2562</span>
356                                                            <span class="change-badge positive">
357                                    +1,900
358                                </span>
359                                                    </a>
360                    </li>
361                                    <li>
362                        <a href="https://www.moohin.com/historical/2018">
363                            <span class="year-label">ปี 2561</span>
364                                                            <span class="change-badge negative">
365                                    -400
366                                </span>
367                                                    </a>
368                    </li>
369                                    <li>
370                        <a href="https://www.moohin.com/historical/2017">
371                            <span class="year-label">ปี 2560</span>
372                                                            <span class="change-badge negative">
373                                    -100
374                                </span>
375                                                    </a>
376                    </li>
377                                    <li>
378                        <a href="https://www.moohin.com/historical/2016">
379                            <span class="year-label">ปี 2559</span>
380                                                    </a>
381                    </li>
382                                    <li>
383                        <a href="https://www.moohin.com/historical/2015">
384                            <span class="year-label">ปี 2558</span>
385                                                    </a>
386                    </li>
387                                    <li>
388                        <a href="https://www.moohin.com/historical/2014">
389                            <span class="year-label">ปี 2557</span>
390                                                    </a>
391                    </li>
392                                    <li>
393                        <a href="https://www.moohin.com/historical/2013">
394                            <span class="year-label">ปี 2556</span>
395                                                    </a>
396                    </li>
397                                    <li>
398                        <a href="https://www.moohin.com/historical/2012">
399                            <span class="year-label">ปี 2555</span>
400                                                    </a>
401                    </li>
402                                    <li>
403                        <a href="https://www.moohin.com/historical/2011">
404                            <span class="year-label">ปี 2554</span>
405                                                    </a>
406                    </li>
407                                    <li>
408                        <a href="https://www.moohin.com/historical/2010">
409                            <span class="year-label">ปี 2553</span>
410                                                    </a>
411                    </li>
412                                    <li>
413                        <a href="https://www.moohin.com/historical/2009">
414                            <span class="year-label">ปี 2552</span>
415                                                    </a>
416                    </li>
417                                    <li>
418                        <a href="https://www.moohin.com/historical/2008">
419                            <span class="year-label">ปี 2551</span>
420                                                    </a>
421                    </li>
422                                    <li>
423                        <a href="https://www.moohin.com/historical/2007">
424                            <span class="year-label">ปี 2550</span>
425                                                    </a>
426                    </li>
427                                    </ul>
428        
429        <div class="sidebar-footer-link">
430            <a href="https://www.moohin.com/historical">
431                ราคาทองย้อนหลังทุกปี
432            </a>
433        </div>
434    </div>
435</div>
436    </div>
437
438    
439    <div class="col-12 col-lg-9">
440
441        
442        <div class="card">
443            <div class="card-body">
444                <h1 class="mb-1" style="color: var(--gold-dark); font-weight: 700;">
445                    <i class="fas fa-coins gold-icon me-2"></i>
446                    ราคาทอง 1 สลึง, 2 สลึง (50 สตางค์), ครึ่งสลึง วันนี้
447                </h1>
448                <div class="meta-row">
449                    <span class="meta-chip"><i class="fas fa-balance-scale"></i> 1 สลึง = 3.811 g (¼ บาท)</span>
450                    <span class="meta-chip" style="background: rgba(13,110,253,0.10); color: #084298;">
451                        2 สลึง = 7.622 g (½ บาท)
452                    </span>
453                    <span class="meta-chip" style="background: rgba(102,16,242,0.10); color: #520dc2;">
454                        ครึ่งสลึง = 1.9055 g
455                    </span>
456                    <span class="market-badge closed">
457                        <i class="fas fa-circle" style="font-size:0.55rem;"></i> ตลาดปิด
458                    </span>
459                    <span class="ms-auto text-muted small">
460                        <i class="far fa-clock me-1"></i>อัปเดต: 2 ต.ค. 2569 17:16 น.
461                    </span>
462                </div>
463            </div>
464        </div>
465
466        
467        <div class="card">
468            <div class="card-header" style="background: linear-gradient(135deg, #f6e27a 0%, #daa520 50%, #b8860b 100%); border: none;">
469                <h5 class="mb-0" style="color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.2); font-weight: 600;">
470                    <i class="fas fa-tags me-2"></i> ราคาทองสลึง / 50 สตางค์ / ครึ่งสลึง
471                </h5>
472            </div>
473            <div class="card-body p-0">
474                                    <ul class="nav nav-tabs nav-tabs-salung px-2 pt-2" role="tablist">
475                                                    <li class="nav-item" role="presentation">
476                                <button
477                                    class="nav-link active"
478                                    id="tab-salung"
479                                    data-bs-toggle="tab"
480                                    data-bs-target="#pane-salung"
481                                    type="button"
482                                    role="tab"
483                                    aria-controls="pane-salung"
484                                    aria-selected="true"
485                                >1 สลึง</button>
486                            </li>
487                                                    <li class="nav-item" role="presentation">
488                                <button
489                                    class="nav-link "
490                                    id="tab-half-baht"
491                                    data-bs-toggle="tab"
492                                    data-bs-target="#pane-half-baht"
493                                    type="button"
494                                    role="tab"
495                                    aria-controls="pane-half-baht"
496                                    aria-selected="false"
497                                >2 สลึง (50 สตางค์)</button>
498                            </li>
499                                                    <li class="nav-item" role="presentation">
500                                <button
501                                    class="nav-link "
502                                    id="tab-half-salung"
503                                    data-bs-toggle="tab"
504                                    data-bs-target="#pane-half-salung"
505                                    type="button"
506                                    role="tab"
507                                    aria-controls="pane-half-salung"
508                                    aria-selected="false"
509                                >ครึ่งสลึง (25 สตางค์)</button>
510                            </li>
511                                            </ul>
512                    <div class="tab-content">
513                                                                                <div
514                                class="tab-pane fade show active"
515                                id="pane-salung"
516                                role="tabpanel"
517                                aria-labelledby="tab-salung"
518                            >
519                                
520                                <div class="px-3 pt-3 pb-1">
521                                    <h2 class="mb-1" style="color: var(--gold-dark);">
522                                        ราคาทอง1 สลึง วันนี้
523                                        <small class="text-muted ms-1" style="font-size: 0.85rem; font-weight: 400;">
524                                            3.811 กรัม • ¼ บาท • ราคา 1 บาท ÷ 4
525                                        </small>
526                                    </h2>
527                                </div>
528                                <div class="table-responsive">
529                                    <table class="table table-hover mb-0 price-table">
530                                        <thead style="background-color: #f8f9fa;">
531                                            <tr>
532                                                <th class="text-start" style="width: 38%;">ประเภททอง</th>
533                                                <th class="text-end" style="width: 31%;">รับซื้อ (บาท)</th>
534                                                <th class="text-end" style="width: 31%;">ขายออก (บาท)</th>
535                                            </tr>
536                                        </thead>
537                                        <tbody>
538                                            <tr>
539                                                <td class="row-type">
540                                                    <img src="/images/thongtang.png" alt="ทองคำแท่ง" style="width:20px;height:auto;vertical-align:middle;" class="me-1">
541                                                    ทองคำแท่ง <small class="text-muted">(96.5%)</small>
542                                                </td>
543                                                <td class="text-end">
544                                                    <span class="price-num" style="color: var(--price-up);">16,550.00</span>
545                                                </td>
546                                                <td class="text-end">
547                                                    <span class="price-num" style="color: var(--price-down);">16,600.00</span>
548                                                </td>
549                                            </tr>
550                                            <tr>
551                                                <td class="row-type">
552                                                    <img src="/images/thongrooppaphan.png" alt="ทองรูปพรรณ" style="width:20px;height:auto;vertical-align:middle;" class="me-1">
553                                                    ทองรูปพรรณ <small class="text-muted">(96.5%)</small>
554                                                </td>
555                                                <td class="text-end">
556                                                    <span class="price-num" style="color: var(--price-up);">16,217.41</span>
557                                                </td>
558                                                <td class="text-end">
559                                                    <span class="price-num" style="color: var(--price-down);">16,800.00</span>
560                                                </td>
561                                            </tr>
562                                        </tbody>
563                                    </table>
564                                </div>
565                                <div class="px-3 py-2 small text-muted" style="background:#fffdf5;border-top:1px solid #f0e9d3;">
566                                    <i class="fas fa-info-circle me-1"></i>
567                                    ราคา1 สลึง คำนวณจาก <strong>ราคา 1 บาท ÷ 4</strong>
568                                    • ราคาทองรูปพรรณยังไม่รวมค่ากำเหน็จ
569                                </div>
570                            </div>
571                                                                                <div
572                                class="tab-pane fade "
573                                id="pane-half-baht"
574                                role="tabpanel"
575                                aria-labelledby="tab-half-baht"
576                            >
577                                
578                                <div class="px-3 pt-3 pb-1">
579                                    <h2 class="mb-1" style="color: var(--gold-dark);">
580                                        ราคาทอง2 สลึง (50 สตางค์) วันนี้
581                                        <small class="text-muted ms-1" style="font-size: 0.85rem; font-weight: 400;">
582                                            7.622 กรัม • ½ บาท • ราคา 1 บาท ÷ 2
583                                        </small>
584                                    </h2>
585                                </div>
586                                <div class="table-responsive">
587                                    <table class="table table-hover mb-0 price-table">
588                                        <thead style="background-color: #f8f9fa;">
589                                            <tr>
590                                                <th class="text-start" style="width: 38%;">ประเภททอง</th>
591                                                <th class="text-end" style="width: 31%;">รับซื้อ (บาท)</th>
592                                                <th class="text-end" style="width: 31%;">ขายออก (บาท)</th>
593                                            </tr>
594                                        </thead>
595                                        <tbody>
596                                            <tr>
597                                                <td class="row-type">
598                                                    <img src="/images/thongtang.png" alt="ทองคำแท่ง" style="width:20px;height:auto;vertical-align:middle;" class="me-1">
599                                                    ทองคำแท่ง <small class="text-muted">(96.5%)</small>
600                                                </td>
601                                                <td class="text-end">
602                                                    <span class="price-num" style="color: var(--price-up);">33,100.00</span>
603                                                </td>
604                                                <td class="text-end">
605                                                    <span class="price-num" style="color: var(--price-down);">33,200.00</span>
606                                                </td>
607                                            </tr>
608                                            <tr>
609                                                <td class="row-type">
610                                                    <img src="/images/thongrooppaphan.png" alt="ทองรูปพรรณ" style="width:20px;height:auto;vertical-align:middle;" class="me-1">
611                                                    ทองรูปพรรณ <small class="text-muted">(96.5%)</small>
612                                                </td>
613                                                <td class="text-end">
614                                                    <span class="price-num" style="color: var(--price-up);">32,434.82</span>
615                                                </td>
616                                                <td class="text-end">
617                                                    <span class="price-num" style="color: var(--price-down);">33,600.00</span>
618                                                </td>
619                                            </tr>
620                                        </tbody>
621                                    </table>
622                                </div>
623                                <div class="px-3 py-2 small text-muted" style="background:#fffdf5;border-top:1px solid #f0e9d3;">
624                                    <i class="fas fa-info-circle me-1"></i>
625                                    ราคา2 สลึง (50 สตางค์) คำนวณจาก <strong>ราคา 1 บาท ÷ 2</strong>
626                                    • ราคาทองรูปพรรณยังไม่รวมค่ากำเหน็จ
627                                </div>
628                            </div>
629                                                                                <div
630                                class="tab-pane fade "
631                                id="pane-half-salung"
632                                role="tabpanel"
633                                aria-labelledby="tab-half-salung"
634                            >
635                                
636                                <div class="px-3 pt-3 pb-1">
637                                    <h2 class="mb-1" style="color: var(--gold-dark);">
638                                        ราคาทองครึ่งสลึง (25 สตางค์) วันนี้
639                                        <small class="text-muted ms-1" style="font-size: 0.85rem; font-weight: 400;">
640                                            1.9055 กรัม • ⅛ บาท • ราคา 1 บาท ÷ 8
641                                        </small>
642                                    </h2>
643                                </div>
644                                <div class="table-responsive">
645                                    <table class="table table-hover mb-0 price-table">
646                                        <thead style="background-color: #f8f9fa;">
647                                            <tr>
648                                                <th class="text-start" style="width: 38%;">ประเภททอง</th>
649                                                <th class="text-end" style="width: 31%;">รับซื้อ (บาท)</th>
650                                                <th class="text-end" style="width: 31%;">ขายออก (บาท)</th>
651                                            </tr>
652                                        </thead>
653                                        <tbody>
654                                            <tr>
655                                                <td class="row-type">
656                                                    <img src="/images/thongtang.png" alt="ทองคำแท่ง" style="width:20px;height:auto;vertical-align:middle;" class="me-1">
657                                                    ทองคำแท่ง <small class="text-muted">(96.5%)</small>
658                                                </td>
659                                                <td class="text-end">
660                                                    <span class="price-num" style="color: var(--price-up);">8,275.00</span>
661                                                </td>
662                                                <td class="text-end">
663                                                    <span class="price-num" style="color: var(--price-down);">8,300.00</span>
664                                                </td>
665                                            </tr>
666                                            <tr>
667                                                <td class="row-type">
668                                                    <img src="/images/thongrooppaphan.png" alt="ทองรูปพรรณ" style="width:20px;height:auto;vertical-align:middle;" class="me-1">
669                                                    ทองรูปพรรณ <small class="text-muted">(96.5%)</small>
670                                                </td>
671                                                <td class="text-end">
672                                                    <span class="price-num" style="color: var(--price-up);">8,108.71</span>
673                                                </td>
674                                                <td class="text-end">
675                                                    <span class="price-num" style="color: var(--price-down);">8,400.00</span>
676                                                </td>
677                                            </tr>
678                                        </tbody>
679                                    </table>
680                                </div>
681                                <div class="px-3 py-2 small text-muted" style="background:#fffdf5;border-top:1px solid #f0e9d3;">
682                                    <i class="fas fa-info-circle me-1"></i>
683                                    ราคาครึ่งสลึง (25 สตางค์) คำนวณจาก <strong>ราคา 1 บาท ÷ 8</strong>
684                                    • ราคาทองรูปพรรณยังไม่รวมค่ากำเหน็จ
685                                </div>
686                            </div>
687                                            </div>
688                            </div>
689        </div>
690
691        
692                <div class="card">
693            <div class="card-header">
694                <h5 class="mb-0"><i class="fas fa-chart-bar gold-icon me-2"></i> เทียบราคา 1 สลึง / 2 สลึง / 1 บาท (ทองคำแท่ง)</h5>
695            </div>
696            <div class="card-body p-0">
697                <div class="table-responsive">
698                    <table class="table mb-0 compare-mini">
699                        <thead style="background:#f8f9fa;">
700                            <tr>
701                                <th>น้ำหนัก</th>
702                                <th class="text-end">รับซื้อ</th>
703                                <th class="text-end">ขายออก</th>
704                            </tr>
705                        </thead>
706                        <tbody>
707                            <tr>
708                                <td>ครึ่งสลึง <small class="text-muted">(1.9055 g)</small></td>
709                                <td class="text-end num" style="color: var(--price-up);">8,275.00</td>
710                                <td class="text-end num" style="color: var(--price-down);">8,300.00</td>
711                            </tr>
712                            <tr style="background: rgba(218,165,32,0.06);">
713                                <td><strong>1 สลึง</strong> <small class="text-muted">(3.811 g)</small></td>
714                                <td class="text-end num" style="color: var(--price-up);">16,550.00</td>
715                                <td class="text-end num" style="color: var(--price-down);">16,600.00</td>
716                            </tr>
717                            <tr>
718                                <td>2 สลึง / 50 สตางค์ <small class="text-muted">(7.622 g)</small></td>
719                                <td class="text-end num" style="color: var(--price-up);">33,100.00</td>
720                                <td class="text-end num" style="color: var(--price-down);">33,200.00</td>
721                            </tr>
722                            <tr style="background:#fffdf5;">
723                                <td>1 บาท <small class="text-muted">(15.244 g)</small></td>
724                                <td class="text-end num" style="color: var(--price-up);">66,200.00</td>
725                                <td class="text-end num" style="color: var(--price-down);">66,400.00</td>
726                            </tr>
727                        </tbody>
728                    </table>
729                </div>
730            </div>
731        </div>
732        
733        
734        <div class="card">
735            <div class="card-header" style="background: linear-gradient(135deg, var(--gold-light), #FFF9E6); border: none;">
736                <h5 class="mb-0" style="color: var(--gold-dark); font-weight: 600;">
737                    <i class="fas fa-book gold-icon me-2"></i>
737 เกี่ยวกับทองสลึง และ 50 สตางค์
738                </h5>
739            </div>
740            <div class="card-body">
741                <div class="row g-3">
742                    <div class="col-md-8">
743                        <h6 class="fw-bold mb-2">หน่วยน้ำหนักทองคำแบบไทย</h6>
744                        <p class="mb-2" style="line-height:1.7;">
745                            ระบบน้ำหนักทองคำของไทยใช้หน่วย <strong>บาท</strong> และ <strong>สลึง</strong>
746                            โดย 1 บาททอง = 15.244 กรัม, 1 สลึง = ¼ บาททอง = 3.811 กรัม
747                            ส่วน "50 สตางค์" หรือ "ครึ่งบาท" หมายถึงทอง 2 สลึง (7.622 กรัม)
748                            และ "25 สตางค์" คือทองครึ่งสลึง (1.9055 กรัม)
749                        </p>
750                        <ul class="list-unstyled mb-3 small">
751                            <li class="mb-1"><i class="fas fa-check-circle text-success me-1"></i> 1 บาท = 4 สลึง = 15.244 g</li>
752                            <li class="mb-1"><i class="fas fa-check-circle text-success me-1"></i> 2 สลึง = 50 สตางค์ = ครึ่งบาท = 7.622 g</li>
753                            <li class="mb-1"><i class="fas fa-check-circle text-success me-1"></i> 1 สลึง = 25 สตางค์ × 1 = 3.811 g</li>
754                            <li class="mb-1"><i class="fas fa-check-circle text-success me-1"></i> ครึ่งสลึง = 25 สตางค์ = 1.9055 g</li>
755                        </ul>
756
757                        <h6 class="fw-bold mb-2">วิธีคำนวณ</h6>
758                        <p class="mb-2 small" style="line-height:1.7;">
759                            ราคาทองสลึง/สตางค์ คำนวณจาก <strong>ราคาทองคำแท่ง 1 บาท</strong> ของสมาคมค้าทองคำ
760                            หารด้วยอัตราส่วนน้ำหนัก เช่น ถ้าทอง 1 บาท รับซื้อ 40,000 บาท
761                            ทอง 1 สลึง = 40,000 ÷ 4 = <strong>10,000 บาท</strong>,
762                            ทอง 50 สตางค์ = 40,000 ÷ 2 = <strong>20,000 บาท</strong>
763                        </p>
764                    </div>
765                    <div class="col-md-4">
766                        <div class="card h-100" style="background: linear-gradient(135deg, rgba(218,165,32,0.08), rgba(255,248,220,0.5)); border:none;">
767                            <div class="card-body p-3">
768                                <h6 class="fw-bold mb-2 text-center" style="color: var(--gold-dark);">
769                                    <i class="fas fa-balance-scale me-1"></i> ตารางน้ำหนัก
770                                </h6>
771                                <table class="table table-sm mb-0 small">
772                                    <tbody>
773                                        <tr><td class="text-end">1 บาท</td><td><strong>15.244 g</strong></td></tr>
774                                        <tr><td class="text-end">2 สลึง</td><td><strong>7.622 g</strong></td></tr>
775                                        <tr style="background: rgba(218,165,32,0.15);"><td class="text-end">1 สลึง</td><td><strong>3.811 g</strong></td></tr>
776                                        <tr><td class="text-end">½ สลึง</td><td><strong>1.9055 g</strong></td></tr>
777                                        <tr><td class="text-end">1 g</td><td><strong>0.262 สลึง</strong></td></tr>
778                                    </tbody>
779                                </table>
780                            </div>
781                        </div>
782                    </div>
783                </div>
784            </div>
785        </div>
786
787    </div>
788</div>
789    </div>
790
791    <!-- Footer -->
792    <footer class="footer mt-5">
793        <div class="container">
794            <div class="row g-4">
795                <div class="col-12 col-md-4">
796                    <h5>
797                                                    <img src="https://www.moohin.com/favicon.png" alt="Moohin - ราคาทอง Logo" class="footer-logo me-2" style="width: 20p
797x; height: 20px; object-fit: contain;">
798                                                Moohin - ราคาทอง
799                    </h5>
800                    <p class="mb-1">ข้อมูลราคาทองคำในประเทศไทย อัพเดทล่าสุดทุกวัน</p>
801                    <p class="mb-0">ติดตามราคาทองคำแท่งและทองรูปพรรณได้ที่นี่</p>
802                </div>
803                <div class="col-6 col-md-4">
804                    <h5><i class="fas fa-link gold-icon me-2"></i> ลิงก์ที่เกี่ยวข้อง</h5>
805                    <ul class="list-unstyled mb-0">
806                        <li><a href="https://www.moohin.com" class="text-white"><i class="fas fa-angle-right me-2"></i>หน้าแรก</a></li>
807                        <li><a href="https://www.moohin.com/gold-1-salung" class="text-white"><i class="fas fa-angle-right me-2"></i>ราคาทอง 1 สลึง</a></li>
808                        <li><a href="https://www.moohin.com/daily" class="text-white"><i class="fas fa-angle-right me-2"></i>ราคาทองรายวัน</a></li>
809                        <li><a href="https://www.moohin.com/historical" class="text-white"><i class="fas fa-angle-right me-2"></i>ราคาทองย้อนหลัง</a></li>
810                        <li><a href="https://www.moohin.com/market-updates/today" class="text-white"><i class="fas fa-angle-right me-2"></i>อัปเดตตลาดทอง</a></li>
811                    </ul>
812                </div>
813                <div class="col-6 col-md-4">
814                    <h5><i class="fas fa-info-circle gold-icon me-2"></i> ข้อมูลอ้างอิง</h5>
815                    <p class="mb-1">ข้อมูลอ้างอิงจาก: <a href="https://www.goldtraders.or.th" class="text-white" target="_blank">สมาคมค้าทองคำ</a></p>
816                    <p class="mb-1">ราคาทองคำอาจมีการเปลี่ยนแปลงตามสภาวะตลาด</p>
817                    <p class="mb-0 mt-3">&copy; 2026 Moohin - ราคาทอง. All rights reserved.</p>
818                </div>
819            </div>
820        </div>
821    </footer>
822
823    <!-- Bootstrap JS -->
824    
824<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
824
825
826    
827    
828
829    <!-- Gold Price Share functionality -->
830    
830<script src="https://www.moohin.com/js/gold-share.js"></script>
830
831    
832        
833    <!-- Back to Top Button -->
834    <button id="backToTopBtn" class="back-to-top-btn" aria-label="กลับไปด้านบน">
835        <i class="fas fa-chevron-up"></i>
836    </button>
837    
838    
838<script>
839    // Back to Top Button Functionality
840    document.addEventListener('DOMContentLoaded', function() {
841        const backToTopBtn = document.getElementById('backToTopBtn');
842        
843        // Show/hide button based on scroll position
844        window.addEventListener('scroll', function() {
845            if (window.pageYOffset > 300) {
846                backToTopBtn.classList.add('visible');
847            } else {
848                backToTopBtn.classList.remove('visible');
849            }
850        });
851        
852        // Scroll to top when button is clicked
853        backToTopBtn.addEventListener('click', function() {
854            window.scrollTo({
855                top: 0,
856                behavior: 'smooth'
857            });
858        });
859    });
860    </script>
860
861
862    <!-- ════ Sticky Bar + Auto-refresh ════ -->
863    
863<script>
864    (function () {
865        'use strict';
866
867        const API_URL       = 'https://www.moohin.com/api/gold-price/current';
868        const REFRESH_MS    = 60000;   // 60 seconds
869        const SCROLL_REVEAL = 280;     // px from top before sticky bar shows
870
871        // ── Format number with comma ──────────────────────────────────────
872        function fmt(v) {
873            if (v == null || v === '') return '—';
874            return parseFloat(v).toLocaleString('th-TH', { minimumFractionDigits: 2, maximumFractionDigits: 2 });
875        }
876
877        // ── Flash animation on a single element ───────────────────────────
878        function flash(el, direction) {
879            el.classList.remove('sb-flash-up', 'sb-flash-down');
880            void el.offsetWidth; // reflow
881            el.classList.add(direction === 'up' ? 'sb-flash-up' : 'sb-flash-down');
882        }
883
884        // ── Update sticky bar fields ──────────────────────────────────────
885        function updateStickyBar(data) {
886            const fields = {
887                'sb-bar-buy':     data.bar_buy,
888                'sb-bar-sell':    data.bar_sell,
889                'sb-jewelry-buy': data.jewelry_buy,
890                'sb-jewelry-sell':data.jewelry_sell,
891            };
892            Object.entries(fields).forEach(([id, val]) => {
893                const el = document.getElementById(id);
894                if (!el) return;
895                const oldVal = parseFloat(el.dataset.raw || 0);
896                const newVal = parseFloat(val || 0);
897                if (oldVal && newVal && oldVal !== newVal) {
898                    flash(el, newVal > oldVal ? 'up' : 'down');
899                }
900                el.textContent  = fmt(val);
901                el.dataset.raw  = val;
902            });
903
904            // change badge
905            const badge = document.getElementById('sb-change-badge');
906            if (badge) {
907                const ch = parseFloat(data.price_change || 0);
908                if (ch > 0) {
909                    badge.innerHTML = `<span class="badge bg-success" style="font-size:.75rem;"><i class="fas fa-arrow-up"></i> +${fmt(ch)}</span>`;
910                } else if (ch < 0) {
911                    badge.innerHTML = `<span class="badge bg-danger" style="font-size:.75rem;"><i class="fas fa-arrow-down"></i> ${fmt(ch)}</span>`;
912                } else {
913                    badge.innerHTML = `<span class="badge bg-secondary" style="font-size:.75rem;"><i class="fas fa-minus"></i> 0</span>`;
914                }
915            }
916
917            const upEl = document.getElementById('sb-updated-at');
918            if (upEl) upEl.textContent = data.updated_at || '—';
919        }
920
921        // ── Update homepage main price table elements ─────────────────────
922        function updateHomePage(data) {
923            const map = {
924                'hp-bar-buy':     data.bar_buy,
925                'hp-bar-sell':    data.bar_sell,
926                'hp-jewelry-buy': data.jewelry_buy,
927                'hp-jewelry-sell':data.jewelry_sell,
928            };
929            Object.entries(map).forEach(([id, val]) => {
930                const el = document.getElementById(id);
931                if (!el) return;
932                const oldVal = parseFloat(el.dataset.raw || 0);
933                const newVal = parseFloat(val || 0);
934                if (oldVal && newVal && oldVal !== newVal) {
935                    flash(el, newVal > oldVal ? 'up' : 'down');
936                }
937                el.textContent = fmt(val);
938                el.dataset.raw = val;
939            });
940        }
941
942        // ── Fetch & update ────────────────────────────────────────────────
943        function fetchAndUpdate() {
944            fetch(API_URL, { cache: 'no-store' })
945                .then(r => r.json())
946                .then(data => {
947                    updateStickyBar(data);
948                    updateHomePage(data);
949                })
950                .catch(() => {}); // silent fail
951        }
952
953        // ── Sticky bar visibility on scroll ──────────────────────────────
954        const stickyBar = document.getElementById('sticky-gold-bar');
955        if (stickyBar) {
956            let barVisible = false;
957            window.addEventListener('scroll', function () {
958                const shouldShow = window.pageYOffset > SCROLL_REVEAL;
959                if (shouldShow !== barVisible) {
960                    stickyBar.style.display = shouldShow ? 'block' : 'none';
961                    barVisible = shouldShow;
962                }
963            }, { passive: true });
964        }
965
966        // ── Boot ──────────────────────────────────────────────────────────
967        document.addEventListener('DOMContentLoaded', function () {
968            fetchAndUpdate();                       // immediate first load
969            setInterval(fetchAndUpdate, REFRESH_MS); // then every 60s
970        });
971    })();
972    </script>
972
973    </body>
974</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.