PageSourceSearch

https://hmongdailynews.com/menu_horizontal.js?v=1788930124

js hmongdailynews.com collected 2026-09-28 11:13:45 UTC 16,673 bytes, 254 lines download raw bytes

1function GetMenuH(){document.write(`
2<nav class="navbar container-bl navbar-expand-lg navbar-dark shadow-sm bg-black px-3 py-2">
3    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
4        <span class="navbar-toggler-icon cus-menu-bar"></span>
5        <span class="navbar-toggler-icon cus-menu-close d-none">
6            <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
7                <path fill-rule="evenodd" d="M13.854 2.146a.5.5 0 0 1 0 .708l-11 11a.5.5 0 0 1-.708-.708l11-11a.5.5 0 0 1 .708 0Z"/>
8                <path fill-rule="evenodd" d="M2.146 2.146a.5.5 0 0 0 0 .708l11 11a.5.5 0 0 0 .708-.708l-11-11a.5.5 0 0 0-.708 0Z"/>
9            </svg>
10        </span>
11    </button>
12    <span class="cus-menu-social"></span>
13    <div class="collapse navbar-collapse" id="navbarSupportedContent">
14        <ul class="navbar-nav flex-wrap">
15            
16             <li data-submenu-list="-190-" class="nav-item  pe-4">
17                 <a data-cms-menu-id="30" data-menu-href="/index190.htm" id="navbarDropdown" class="nav-link fs-5  fw-bold text-uppercase text-white" style=" font-family: pt sans,sans-serif;" href="/index190.htm" role="button"  aria-expanded="false">HOME</a>
18                 
19             </li>
20         
21             <li data-submenu-list="-189-95-118-168-117-96-154-119-120-121-155-188-" class="nav-item dropdown pe-4">
22                 <a data-cms-menu-id="1" id="navbarDropdown" class="nav-link fs-5 dropdown-toggle fw-bold text-uppercase text-white" style=" font-family: pt sans,sans-serif;" href="#" role="button"  data-bs-toggle="dropdown" aria-expanded="false">NEWS</a>
23                 <ul class="dropdown-menu fade-up mb-2 mb-lg-0" aria-labelledby="navbarDropdown">
24                        
25                            <li style="">
26                                <a data-cms-submenu-id="189" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index189.htm">Community</a>
27                            </li>
28                        
29                            <li style="">
30                                <a data-cms-submenu-id="95" target=_blank class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index95.htm">News</a>
31                            </li>
32                        
33                            <li style="">
34                                <a data-cms-submenu-id="118" target=_blank class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index118.htm">Legal</a>
35                            </li>
36                        
37                            <li style="">
38                                <a data-cms-submenu-id="168" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index168.htm">Education</a>
39                            </li>
40                        
41                            <li style="">
42                                <a data-cms-submenu-id="117" target=_top class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index117.htm">Business</a>
43                            </li>
44                        
45                            <li style="">
46                                <a data-cms-submenu-id="96" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index96.htm">Political</a>
47                            </li>
48                        
49                            <li style="">
50                                <a data-cms-submenu-id="154" target=_blank class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index154.htm">Asia</a>
51                            </li>
52                        
53                            <li style="">
54                                <a data-cms-submenu-id="119" target=_blank class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index119.htm">Finance</a>
55                            </li>
56                        
57                            <li style="">
58                                <a data-cms-submenu-id="120" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index120.htm">Entertainment</a>
59                            </li>
60                        
61                            <li style="">
62                                <a data-cms-submenu-id="121" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index121.htm">Health</a>
63                            </li>
64                        
65                            <li style="">
66                                <a data-cms-submenu-id="155" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index155.htm">Editorial</a>
67                            </li>
68                        
69                            <li style="">
70                                <a data-cms-submenu-id="188" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index188.htm">Press Release</a>
71                            </li>
72                        
73                 </ul>
74             </li>
75         
76             <li data-submenu-list="-191-" class="nav-item  pe-4">
77                 <a data-cms-menu-id="31" data-menu-href="/index191.htm" id="navbarDropdown" class="nav-link fs-5  fw-bold text-uppercase text-white" style=" font-family: pt sans,sans-serif;" href="/index191.htm" role="button"  aria-expanded="false">EVENTS</a>
78                 
79             </li>
80         
81             <li data-submenu-list="-81-80-76-77-88-147-148-" class="nav-item dropdown pe-4">
82                 <a data-cms-menu-id="17" id="navbarDropdown" class="nav-link fs-5 dropdown-toggle fw-bold text-uppercase text-white" style=" font-family: pt sans,sans-serif;" href="#" role="button"  data-bs-toggle="dropdown" aria-expanded="false">SERVICES</a>
83                 <ul class="dropdown-menu fade-up mb-2 mb-lg-0" aria-labelledby="navbarDropdown">
84                        
85                            <li style="">
86                                <a data-cms-submenu-id="81" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index81.htm">View Classifieds</a>
87                            </li>
88                        
89                            <li style="display:none">
90                                <a data-cms-submenu-id="80" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index80.htm">Submit Classifieds</a>
91                            </li>
92                        
93                            <li style="">
94                                <a data-cms-submenu-id="76" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/NewMember">Subscribe Today!</a>
95                            </li>
96                        
97                            <li style="">
98                                <a data-cms-submenu-id="77" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/SubmitEvents">Submit Events</a>
99                            </li>
100                        
101                            <li style="display:none">
102                                <a data-cms-submenu-id="88" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index88.htm">Submit News</a>
103                            </li>
104                        
105                            <li style="">
106                                <a data-cms-submenu-id="147" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/index147.htm">About Us</a>
107                            </li>
108                        
109                            <li style="">
110                                <a data-cms-submenu-id="148" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/ContactUs">Contact Us</a>
111                            </li>
112                        
113                 </ul>
114             </li>
115         
116             <li data-submenu-list="-99-192-186-" class="nav-item dropdown pe-4">
117                 <a data-cms-menu-id="23" id="navbarDropdown" class="nav-link fs-5 dropdown-toggle fw-bold text-uppercase text-white" style=" font-family: pt sans,sans-serif;" href="#" role="button"  data-bs-toggle="dropdown" aria-expanded="false">SUBMIT</a>
118                 <ul class="dropdown-menu fade-up mb-2 mb-lg-0" aria-labelledby="navbarDropdown">
119                        
120                            <li style="">
121                                <a data-cms-submenu-id="99" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/SubmitClassifieds">Submit Classifieds</a>
122                            </li>
123                        
124                            <li style="">
125                                <a data-cms-submenu-id="192" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/SubmitNews">Submit News</a>
126                            </li>
127                        
128                            <li style="">
129                                <a data-cms-submenu-id="186" class="dropdown-item fs-5 fw-bold text-dark border-bottom border-gray nx-2" style="font-family: pt sans,sans-serif;" href="/donate3">Donate</a>
130                            </li>
131                        
132                 </ul>
133             </li>
134         
135        </ul>
136 </div>
137</nav>
138<style>
139@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@700&display=swap");
140.no-submenu .dropdown-toggle::after {display: none;}
141#navbarDropdown:empty {display: none;}
142.dropdown-item:focus, .dropdown-item:hover {background-color: transparent;}
143@media all and (min-width: 992px) {
144.navbar-nav li:hover>ul.dropdown-menu {display: block;margin-top: 0px;}
145.navbar .dropdown-menu-end{ right:0; left: auto;  }
146.navbar .nav-item .dropdown-menu{  display:block; opacity: 0;  visibility: hidden; transition:.3s; margin-top:0;  }
147.navbar .nav-item:hover .nav-link{ color: #fff;  }
148.navbar .dropdown-menu.fade-down{ top:80%; transform: rotateX(-75deg); transform-origin: 0% 0%; }
149.navbar .dropdown-menu.fade-up{ top:180%;  }
150.navbar .nav-item:hover .dropdown-menu{ transition: .3s; opacity:1; visibility:visible; top:100%; transform: rotateX(0deg); }
151.dropdown-menu.fade-up:before {
152content: "";  position: absolute;  top: -14px;  color: white;  left: 30px;  border-color: transparent transparent white transparent; border-style: solid;border-width: 7px;}
153.nav-item.dropdown:hover #navbarDropdown::after {transform: rotate(180deg);transition: 300ms linear;transition-property:transform;}
154.fixed-top {top: -40px;  transform: translateY(40px);  transition: transform .3s;opacity: 0.9;}
155.fixed-top:hover{opacity:1;}
156.dropdown-menu {z-index: 999;}
157}
158.cus-menu-social {display: none;}
159@media all and (max-width: 991px) {
160.nav-item.dropdown {border-bottom: 1px solid;}
161.navbar-dark .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon.cus-menu-bar {display: none !important; background: none !important;}
162.navbar-dark .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon.cus-menu-close {display: block !important; background: none !important}
163.cus-social-links {display: none !important;}
164.cus-menu-social {display: inline-block;}
165.cus-menu-social a {color: white !important;}
166.dropdown-toggle::after {position: absolute;right: 1rem;top: 1.25rem;}
167}
168.no-submenu .dropdown-menu,.no-submenu:hover>.dropdown-menu,.navbar-nav .no-submenu:hover>ul.dropdown-menu{display:none!important;visibility:hidden!important;opacity:0!important;}</style>
169<script>
170/*HideSubMenu*/
171var nav_dm = document.getElementsByClassName("dropdown-menu");
172var nav_dml = nav_dm.length;
173for (i = 0; i < nav_dml; i++) {
174    var nav_dms = nav_dm[i].children.length;
175    for (j = 0; j < nav_dms; j++) {
176        if (nav_dm[i].children[j].style.display == "none") {
177            nav_dm[i].children[j].classList.add("remove-submenu");
178        }
179    }
180    var nav_rm = document.getElementsByClassName("remove-submenu");
181    if(nav_rm) {
182        for(r = 0; r < nav_rm.length; r++) {
183            if(nav_rm[r]) {
184                nav_rm[r].remove();
185            }
186        }
187    }
188    if (nav_dm[i].children.length == 0) {
189        nav_dm[i].parentNode.classList.add("no-submenu");
190        nav_dm[i].style.display = "none";
191    }
192}
193document.addEventListener("DOMContentLoaded", function() {
194    for (s = 0; s < nav_dml; s++) {
195        if (nav_dm[s].children.length == 0) {
196            nav_dm[s].parentNode.classList.add("no-submenu");
197            nav_dm[s].style.display = "none";
198        }
199    }
200});
201/*MenuWithoutSubmenu*/
202var ns = document.getElementsByClassName("no-submenu").length;
203var nss = document.getElementsByClassName("no-submenu");
204for (k = 0; k < ns; k++) {
205    var nshref = nss[k].children[0].getAttribute("href");
206    var nsso = "location.href = \\'" + nshref + "\\';";
207    nss[k].children[0].setAttribute("onclick", nsso);
208}
209/*MenuHTML*/
210for (var mh = 0; mh < document.getElementsByClassName("dropdown-toggle").length; mh++) {
211    var mh_this = document.getElementsByClassName("dropdown-toggle")[mh];
212    if (mh_this.innerHTML == "" && mh_this.parentNode.children.length == 3) {
213        mh_this.nextSibling.setAttribute("class", mh_this.getAttribute("class"));
214        mh_this.nextSibling.setAttribute("style", mh_this.getAttribute("style"));
215        mh_this.remove();
216    }
217}
218/*SubMenuHTML*/
219for (var sh = 0; sh < document.getElementsByClassName("dropdown-item").length; sh++) {
220    var sh_this = document.getElementsByClassName("dropdown-item")[sh];
221    if (sh_this.innerHTML == "" && sh_this.nextSibling) {
222        sh_this.nextSibling.setAttribute("class", sh_this.getAttribute("class"));
223        sh_this.nextSibling.setAttribute("style", sh_this.getAttribute("style"));
224        sh_this.remove();
225    }
226}
227/* Menu Sticky*/
228document.addEventListener("DOMContentLoaded", function() {
229    if (window.location.href.indexOf("=target_form2.") == -1) {
230        if (window.screen.width > 992) {
231            var mo = document.getElementsByClassName("navbar")[0].offsetTop;
232            window.addEventListener("scroll", function() {
233                if (window.scrollY > mo) {
234                    document.getElementsByClassName("navbar")[0].classList.add("fixed-top");
235                    navbar_height = document.querySelector(".navbar").offsetHeight;
236                    document.getElementsByClassName("mainbody")[0].style.paddingTop = navbar_height + "px";
237                } else {
238                    document.getElementsByClassName("navbar")[0].classList.remove("fixed-top");
239                    document.getElementsByClassName("mainbody")[0].style.paddingTop = "0";
240                }
241            });
242        }
243    }
244});
245/* Social icons (mobile) */
246if(window.screen.width <= 992 && document.getElementsByClassName("cus-social-links").length > 0) {
247    var np = document.getElementsByClassName("cus-menu-social")[0];
248    var op = document.getElementsByClassName("cus-social-links")[0];
249    while (op.childNodes.length > 0) {
250        np.appendChild(op.childNodes[0]);
251    }
252}
253<\/script>
254`);setTimeout(function(){document.querySelectorAll('.navbar-nav').forEach(function(c){c.addEventListener('click',function(e){var a=e.target.closest('a[data-menu-href]');if(a){e.stopImmediatePropagation();e.preventDefault();window.location.href=a.getAttribute('data-menu-href');}},true);});},0);}

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.