1 <!DOCTYPE html> 2<html lang="en"> 3<head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 7 <title>computerlight.com domain name is for sale. Inquire now.</title> 8 <meta name="description" content="computerlight.com is available for purchase. Get in touch to discuss the possibilities!"> 9 10 <!-- FAVICON --> 11 <link rel="icon" type="image/png" href="img/y.png"> 12 13 <base href="https://www.computerlight.com/"> 14 15
15<script src="https://cdn.tailwindcss.com"></script>
15 16
16<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
16 17 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"> 18 19 <!-- Altcha --> 20
20<script async defer src="https://cdn.jsdelivr.net/gh/altcha-org/altcha/dist/altcha.min.js" type="module"></script>
20 21 <link href="css/altcha.css" rel="stylesheet"> 22 23 <link rel="preconnect" href="https://fonts.googleapis.com"> 24 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> 25 <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap" rel="stylesheet"> 26 27 28 <!-- Efty infrastructure UA -->
vendor: 68 bytes, lines 28-29
28 29 <script async src="https://www.googletagmanager.com/gtag/js?id=
29UA-51651642-1
vendor: 16 bytes, lines 29-30
29"></script> 30
30<script> 31
vendor: 151 bytes, lines 31-34
31window.dataLayer = window.dataLayer || []; 32 function gtag(){dataLayer.push(arguments);} 33 gtag('js', new Date()); 34 gtag('config', '
34UA-51651642-1
vendor: 8 bytes, lines 34-35
34'); 35
35</script>
35 36 <!-- ./Efty infrastructure UA --> 37 38 <!-- /Efty user GA4 / UA --> 39 <!-- /Efty user GA4 / UA --> 40 41
41<script src="https://www.computerlight.com/odf/js/odf.js"></script>
41<script>Odf.set('website_base_url', 'https://www.computerlight.com/');$(document).ready(function() {Odf.init();});</script>
41 42 <style> 43 body { 44 font-family: 'Noto Sans', sans-serif; 45 } 46 #main_bg { 47 background-image: url('img/landing_themes/siam/siambg.png'); 48 background-color: #191919; 49 } 50 /* Custom styles for radio buttons */ 51 .radio-option { 52 transition: all 0.2s ease; 53 } 54 55 .radio-option.selected { 56 background-color: rgb(240 253 244); 57 border-color: rgb(34 197 94); 58 } 59 60 .radio-option:hover { 61 background-color: rgb(249 250 251); 62 } 63 64 /* Loading spinner animation */ 65 .animate-spin { 66 animation: spin 1s linear infinite; 67 } 68 /* Algemene validator box */ 69 .validator_status { 70 display: block; 71 padding: 0.75rem 1rem; /* vergelijkbaar met Tailwind p-3 */ 72 margin-bottom: 0.75rem; /* vergelijkbaar met mb-3 */ 73 border-radius: 1rem; 74 font-weight: 500; /* font-medium */ 75 border: 1px solid transparent; 76 } 77 78 /* Error state */ 79 .validator_errors { 80 background-color: #fee2e2; /* bg-red-100 */ 81 color: #991b1b; /* text-red-800 */ 82 border-color: #fca5a5; /* border-red-300 */ 83 } 84 85 /* Success state */ 86 .validator_success { 87 background-color: #dcfce7; /* bg-green-100 */ 88 color: #166534; /* text-green-800 */ 89 border-color: #86efac; /* border-green-300 */ 90 } 91 92 93 @keyframes spin { 94 from { transform: rotate(0deg); } 95 to { transform: rotate(360deg); } 96 } 97 98 /* Modal backdrop */
99 .modal-backdrop { 100 background-color: rgba(0, 0, 0, 0.7); 101 } 102 103 /* Background positioning for mobile */ 104 @media (max-width: 768px) { 105 .bg-mobile { 106 background-position: -650px 0; 107 } 108 } 109 </style> 110</head> <body> 111<div class="min-h-screen text-white flex flex-col bg-cover bg-no-repeat md:bg-center bg-mobile md:bg-center" id="main_bg"> 112 113 <div class="absolute inset-0 bg-black/20"></div> 114 <div class="relative z-10 w-full flex-grow flex items-center justify-center"> 115 116 <!-- Loading Overlay --> 117 <div id="loading-overlay" class="fixed inset-0 modal-backdrop flex items-center justify-center z-50 hidden"> 118 <svg class="w-16 h-16 text-white animate-spin" fill="none" viewBox="0 0 24 24"> 119 <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle> 120 <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path> 121 </svg> 122 </div> 123 124 <!-- Offer Modal --> 125 <div id="offer-modal" class="fixed inset-0 modal-backdrop flex items-center justify-center z-50 p-4 hidden"> 126 <div class="bg-white text-gray-900 p-10 rounded-3xl shadow-2xl w-full max-w-3xl max-h-[90vh] overflow-y-auto"> 127 <div class="flex justify-between items-center mb-8"> 128 <h2 class="text-3xl font-bold text-gray-900">Make an Offer</h2> 129 <button id="close-modal" class="p-2 hover:bg-gray-100 rounded-full"> 130 <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 131 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path> 132 </svg> 133 </button> 134 </div> 135 136 <form id="offer-form" class="odf_ajax space-y-6"action="routes/ajax_actions/landing_themes/add_inquiry_cap.ajaxa.php" method="post" data-target="form_feedback" autocomplete="off"> 137 138 <input type="hidden" name="domain_id" value="5448475"> 139 <input type="hidden" name="user_id" value="13092"> 140 141 <div id="form_feedback"> 142 </div> 143 144 <!-- First row - Name and Email --> 145 <div class="grid md:grid-cols-2 gap-6"> 146 <div> 147 <label for="name" class="text-sm font-semibold text-gray-700 mb-2 block">Name *</label> 148 <input id="name" name="name" type="text" required class="w-full h-12 border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 outline-none"> 149 </div> 150 <div> 151 <label for="email" class="text-sm font-semibold text-gray-700 mb-2 block">Email *</label> 152 <input id="email" name="email" type="email" required class="w-full h-12 border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 outline-none"> 153 </div> 154 </div> 155 156 <!-- Second row - Phone and Offer --> 157 <div class="grid md:grid-cols-2 gap-6"> 158 <div> 159 <label for="phone" class="text-sm font-semibold text-gray-700 mb-2 block">Phone</label> 160 <input id="phone" name="phone" type="tel" class="w-full h-12 border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 outline-none"> 161 </div> 162 <div> 163 <label for="offer" class="text-sm font-semibold text-gray-700 mb-2 block">Offer Amount (USD) *</label> 164 <input id="offer" name="offer" type="number" required class="w-full h-12 border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 font-semibold outline-none" placeholder="Offer in USD"> 165 </div> 166 </div> 167 168 <!-- Full width message --> 169 <div> 170 <label for="message" class="text-sm font-semibold text-gray-700 mb-2 block">Message *</label> 171 <textarea id="message" name="message" rows="4" class="w-full border-2 border-gray-200 focus:border-emerald-500 rounded-xl px-4 py-3 resize-none outline-none"></textarea> 172 </div> 173 174 175 <div class="altcha-wrapper theme-siam"> 176 <altcha-widget 177 challengeurl="https://sentinel-w5bmbzne6a7cs.azurewebsites.net/v1/challenge?apiKey=key_1jcc7jkd200a1tg7mhs" 178 name="altcha" 179 ></altcha-widget> 180 </div> 181 182 <button type="submit" class="w-full bg-green-500 hover:bg-green-600 hover:shadow-lg transition-all duration-200 text-white py-4 rounded-xl text-lg font-medium mb-2 flex items-center justify-center gap-2"> 183 <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 184 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 185 </svg> 186 Submit Your Offer 187 </button> 188 </form> 189 </div> 190 </div> 191 192 <!-- Lease to Own Modal --> 193 <div id="lto-modal" class="fixed inset-0 modal-backdrop flex items-center justify-center z-50 p-4 hidden"> 194 <div id="lto-modal-panel" class="bg-white rounded-3xl shadow-2xl w-full max-w-6xl max-h-[90vh] overflow-hidden flex flex-col"> 195 <div class="flex justify-between items-center px-6 py-4 border-b border-gray-200"> 196 <h2 class="text-2xl font-bold text-gray-900">Lease to Own computerlight.com</h2> 197 <button id="close-lto-modal" class="p-2 hover:bg-gray-100 rounded-full text-gray-900" type="button" aria-label="Close Lease to Own modal"> 198 <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 199 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path> 200 </svg> 201 </button> 202 </div> 203 <iframe 204 id="lto-iframe" 205 src="about:blank" 206 class="w-full border-0 bg-white" 207 loading="lazy" 208 title="Lease to Own checkout" 209 ></iframe> 210 </div> 211 </div> 212 213 <!-- Main Content --> 214 <main class="container mx-auto px-6 py-12"> 215 <div class="max-w-6xl mx-auto"> 216 217 <!-- Mobile only domain name --> 218 <div class="lg:hidden w-100"> 219 <h1 class="text-4xl lg:text-5xl font-bold mb-4 lg:mb-8 leading-tight text-white mt-6" id="logo_text_mobile"> 220 computerlight.com </h1> 221 </div> 222 223 <!-- Consolidated single responsive layout replacing separate mobile/desktop sections --> 224 <div class="grid lg:grid-cols-2 gap-8 lg:gap-12 items-center"> 225 <!-- Left Column --> 226 227 <!-- Domain name --> 228 <div class="space-y-8 lg:order-1"> 229 <div class="text-lg text-white leading-relaxed"> 230 <h1 class="hidden lg:block text-4xl lg:text-5xl font-bold mb-4 lg:mb-8 leading-tight text-white mt-6" id="logo_text"> 231 computerlight.com </h1> 232 <p>This premium domain name is available for purchase!</p> 233 </div> 234 235 <!-- Chevron USPs --> 236 <div class="space-y-4"> 237 <div class="flex items-center gap-3"> 238 <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 239 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 240 </svg>
241 <span class="text-lg">Your domain name is your identity on the Internet</span> 242 </div> 243 <div class="flex items-center gap-3"> 244 <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 245 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 246 </svg> 247 <span class="text-lg">Establish instant trust and credibility with customers</span> 248 </div> 249 <div class="flex items-center gap-3"> 250 <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 251 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 252 </svg> 253 <span class="text-lg">Premium domain names appreciate in value over time</span> 254 </div> 255 <div class="flex items-center gap-3"> 256 <svg class="w-5 h-5 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 257 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 258 </svg> 259 <span class="text-lg">Boost your business and invest in the right domain name</span> 260 </div> 261 </div> 262 263 <!-- Domain seller info - hidden on mobile, shown on desktop --> 264 <div class="hidden lg:flex justify-start"> 265 <div class="bg-white/10 backdrop-blur-sm border border-white/20 p-6 px-12 rounded-2xl"> 266 <div class="flex items-center gap-4"> 267 <div class="w-12 h-12 bg-white rounded-full flex items-center justify-center"> 268 <span class="text-gray-900 font-bold text-lg">M</span> 269 </div> 270 <div class="flex flex-col"> 271 <h4 class="text-white font-semibold text-lg">Market Impact Domains</h4> 272 <div class="flex items-center gap-2"> 273 <svg class="w-4 h-4 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 274 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path> 275 </svg> 276 <span class="text-green-200 text-sm">Verified seller</span> 277 </div> 278 </div> 279 </div> 280 </div> 281 </div> 282 </div> 283 <!-- Right Column - Purchase Card --> 284 <div class="lg:order-2 lg:ml-auto"> 285 <div class="bg-white text-gray-900 p-8 pb-4 rounded-3xl shadow-2xl lg:w-xl"> 286 287 <div class="space-y-4"> 288 289 <div id="response_bin"></div> 290 <div class="relative mb-0"> 291 <input type="radio" name="purchase-option" value="buy-now" id="buy-now" checked class="sr-only"> 292 <label for="buy-now" class="radio-option selected flex items-center justify-between p-4 border-2 rounded-xl cursor-pointer"> 293 <div class="flex items-center gap-2"> 294 <svg class="w-4 h-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 295 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 296 </svg>
297 <span class="text-lg font-medium">Buy now</span> 298 </div> 299 <span class="text-2xl font-bold">$ 995</span> 300 </label> 301 </div> 302 303 <div class="relative mb-0"> 304 <input type="radio" name="purchase-option" value="lto" id="lto" class="sr-only"> 305 <label for="lto" class="radio-option flex items-center justify-between p-4 border-2 rounded-xl cursor-pointer gap-4"> 306 <div class="flex items-center gap-2"> 307 <svg class="w-4 h-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 308 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 309 </svg> 310 <span class="text-lg font-medium">Lease to Own</span> 311 </div> 312 <span class="text-right leading-none shrink-0"> 313 <span class="text-2xl font-bold">$ 46</span><span class="text-sm font-semibold text-gray-500 align-baseline">/mo</span> 314 </span> 315 </label> 316 </div> 317 318 <div class="relative"> 319 <input type="radio" name="purchase-option" value="make-offer" id="make-offer" class="sr-only" > 320 <label for="make-offer" class="radio-option flex items-center justify-between p-4 border-2 rounded-xl cursor-pointer"> 321 <div class="flex items-center gap-2"> 322 <svg class="w-4 h-4 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 323 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 324 </svg> 325 <span class="text-lg font-medium">Make an offer</span> 326 </div> 327 </label> 328 </div> 329 330 <button id="main-action" class="w-full bg-green-500 hover:bg-green-600 hover:shadow-lg transition-all duration-200 text-white py-4 rounded-xl text-lg font-medium mb-0 flex items-center justify-center gap-2 py-0"> 331 <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 332 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> 333 </svg> 334 <span>Get it now</span> 335 </button> 336 337 338 <div class="flex justify-center items-center gap-4 text-gray-400"> 339 <i class="fa-brands fa-cc-visa text-2xl" title="Visa"></i> 340 <i class="fa-brands fa-cc-mastercard text-2xl" title="Mastercard"></i> 341 <i class="fa-brands fa-cc-paypal text-2xl" title="PayPal"></i> 342 <i class="fa-brands fa-cc-amex text-2xl hidden" title="American Express"></i> 343 <i class="fa-solid fa-building-columns text-2xl mb-1" title="Bank Transfer"></i> 344 </div> 345 </div> 346 347 </div> 348 349 <!-- Active Buyer Interest box --> 350 <div class="bg-green-50 text-gray-600 p-6 rounded-xl mt-6"> 351 <div class="flex items-center gap-4"> 352 <svg class="w-8 h-8 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 353 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path> 354 </svg> 355 <div class="text-left"> 356 <div class="font-bold">Active Buyer Interest</div> 357 <div class="text-sm">Over 13 potential buyers recently viewed this domain</div> 358 </div> 359 </div> 360 </div> 361 </div> 362 </div> 363 364 <!-- Domain seller info - shown on mobile only --> 365 <div class="lg:hidden mt-6 lg:mt-8"> 366 <div class="bg-white/10 backdrop-blur-sm border border-white/20 p-6 rounded-2xl w-full"> 367 <div class="flex items-center gap-4"> 368 <div class="w-12 h-12 bg-white rounded-full flex items-center justify-center">
369 <span class="text-gray-900 font-bold text-lg">M</span> 370 </div> 371 <div class="flex flex-col"> 372 <h4 class="text-white font-semibold text-lg">Market Impact Domains</h4> 373 <div class="flex items-center gap-2"> 374 <svg class="w-4 h-4 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 375 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path> 376 </svg> 377 <span class="text-green-200 text-sm">Verified seller</span> 378 </div> 379 </div> 380 </div> 381 </div> 382 </div> 383 384 <!-- Bottom Features - responsive layout --> 385 <div class="mt-12 lg:mt-24"> 386 <!-- Mobile: stacked list --> 387 <div class="lg:hidden space-y-4"> 388 <div class="flex items-center gap-3 w-full"> 389 <svg class="w-8 h-8 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 390 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path> 391 </svg> 392 <div> 393 <span class="text-lg font-medium">Your funds are </span> 394 <span class="text-white font-bold">kept safe</span> 395 </div> 396 </div> 397 <div class="flex items-center gap-3 w-full"> 398 <svg class="w-8 h-8 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 399 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path> 400 </svg> 401 <div> 402 <span class="text-lg font-medium">Your domain is </span> 403 <span class="text-white font-bold">delivered quickly</span> 404 </div> 405 </div> 406 <div class="flex items-center gap-3 w-full"> 407 <svg class="w-8 h-8 text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 408 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path> 409 </svg> 410 <div> 411 <span class="text-lg font-medium">Our specialists offer free </span> 412 <span class="text-white font-bold">expert guidance</span> 413 </div> 414 </div> 415 </div> 416 417 <!-- Desktop: 3-column grid --> 418 <div class="hidden lg:grid md:grid-cols-3 gap-8 max-w-4xl mx-auto"> 419 <div class="text-center space-y-3"> 420 <svg class="w-8 h-8 mx-auto text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 421 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path> 422 </svg> 423 <h3 class="text-lg font-medium"> 424 Your funds are<br>
425 <span class="text-white font-bold">kept safe</span> 426 </h3> 427 </div> 428 <div class="text-center space-y-3"> 429 <svg class="w-8 h-8 mx-auto text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 430 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path> 431 </svg> 432 <h3 class="text-lg font-medium"> 433 Your domain is<br> 434 <span class="text-white font-bold">delivered quickly</span> 435 </h3> 436 </div> 437 <div class="text-center space-y-3"> 438 <svg class="w-8 h-8 mx-auto text-green-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"> 439 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"></path> 440 </svg> 441 <h3 class="text-lg font-medium"> 442 Our specialists offer free<br> 443 <span class="text-white font-bold">expert guidance</span> 444 </h3> 445 </div> 446 </div> 447 </div> 448 </div> 449 450 </main> 451 </div> 452</div> 453
454<script> 455 $(document).ready(function() { 456 const ltoUrl = 'https://www.computerlight.com/domain/lto/id/38s2j/'; 457 const $ltoIframe = $('#lto-iframe'); 458 const $ltoPanel = $('#lto-modal-panel'); 459 const ltoHeaderHeight = 74; 460 const ltoModalVerticalPadding = 32; 461 462 function setLtoFrameHeight(contentHeight) { 463 const viewportMax = Math.max(320, window.innerHeight - ltoModalVerticalPadding); 464 const maxFrameHeight = Math.max(240, viewportMax - ltoHeaderHeight); 465 const nextHeight = Math.max(240, Math.min(contentHeight, maxFrameHeight)); 466 467 $ltoIframe.css('height', nextHeight + 'px'); 468 $ltoPanel.css('max-height', viewportMax + 'px'); 469 } 470 471 let selectedOption = 'buy-now'; 472 473 // Handle radio button changes 474 $('input[name="purchase-option"]').on('change', function() { 475 selectedOption = $(this).val(); 476 updateUI(); 477 }); 478 479 // Handle radio button label clicks 480 $('label.radio-option').on('click', function() { 481 const targetId = $(this).attr('for'); 482 const targetInput = $('#' + targetId); 483 484 // Update the radio button 485 targetInput.prop('checked', true); 486 selectedOption = targetInput.val(); 487 updateUI(); 488 }); 489 490 function updateUI() { 491 // Update radio button styles 492 $('label.radio-option').removeClass('selected'); 493 494 if (selectedOption === 'buy-now') { 495 $('label[for="buy-now"]').addClass('selected'); 496 $('#main-action span').text('Get it now'); 497 } else if (selectedOption === 'lto') { 498 $('label[for="lto"]').addClass('selected'); 499 $('#main-action span').text('Get it now'); 500 } else { 501 $('label[for="make-offer"]').addClass('selected'); 502 $('#main-action span').text('Make an offer'); 503 } 504 } 505 506 // Handle main action button click 507 $('#main-action').on('click', function() { 508 if (selectedOption === 'buy-now') { 509 handleProceedToPayment(); 510 } else if (selectedOption === 'lto') { 511 handleLeaseToOwn(); 512 } else { 513 handleMakeOffer(); 514 } 515 }); 516 // Verberg overlay zodra álle AJAX-requests klaar zijn (ook bij fouten) 517 $(document).ajaxStop(function () { 518 $('#loading-overlay').addClass('hidden'); 519 }); 520 521 // Extra vangnet bij fouten 522 $(document).ajaxError(function () { 523 $('#loading-overlay').addClass('hidden'); 524 }); 525 526 function handleProceedToPayment() { 527 528 $('#loading-overlay').removeClass('hidden'); 529 Odf.ajax.post('https://www.computerlight.com/ajaxa/transactions/initiate_eftypay/', 'div#response_bin', { 530 domain_id: '38s2j', 531 user_id: 'a3o' 532 }); 533 } 534 535 536 537 function handleMakeOffer() { 538 // Haal de waarde op uit het input veld buiten de modal 539 let offerAmount = $('#offer_amount').val(); 540 541 // Toon het modal 542 $('#offer-modal').removeClass('hidden'); 543 544 // Als er een waarde ingevuld is, zet die in het modal veld 545 if (offerAmount) { 546 $('#offer').val(offerAmount); 547 } 548 } 549 550 function handleLeaseToOwn() { 551 setLtoFrameHeight(Math.max(420, window.innerHeight * 0.65)); 552 $ltoIframe.attr('src', ltoUrl); 553 $('#lto-modal').removeClass('hidden'); 554 } 555 556 function closeLtoModal() { 557 $('#lto-modal').addClass('hidden'); 558 $ltoIframe.attr('src', 'about:blank'); 559 $ltoIframe.css('height', ''); 560 } 561 562 // Handle modal close 563 $('#close-modal').on('click', function() { 564 $('#offer-modal').addClass('hidden'); 565 }); 566 567 $('#close-lto-modal').on('click', function() { 568 closeLtoModal(); 569 }); 570 571 // Handle modal backdrop click 572 $('#offer-modal').on('click', function(e) { 573 if (e.target === this) { 574 $('#offer-modal').addClass('hidden'); 575 } 576 }); 577 578 $('#lto-modal').on('click', function(e) { 579 if (e.target === this) { 580 closeLtoModal(); 581 } 582 }); 583 584 // Handle escape key to close modal 585 $(document).on('keydown', function(e) { 586 if (e.key === 'Escape') { 587 $('#offer-modal').addClass('hidden'); 588 closeLtoModal(); 589 } 590 }); 591 592 window.addEventListener('message', function(event) { 593 if (!event.data || event.data.type !== 'efty-lto-resize') { 594 return; 595 } 596 597 if (typeof event.data.height !== 'number') { 598 return; 599 } 600
601 setLtoFrameHeight(event.data.height); 602 }); 603 604 window.addEventListener('resize', function() { 605 const currentHeight = parseInt($ltoIframe.css('height'), 10); 606 607 if (currentHeight) { 608 setLtoFrameHeight(currentHeight); 609 } 610 }); 611 612 updateUI(); 613 614 function applyFittyForMobile() { 615 if (window.innerWidth < 1024) { 616 fitty('#logo_text_mobile', { 617 maxSize: 50 618 }); 619 } else { 620 fitty('#logo_text', { 621 maxSize: 80 622 }); 623 } 624 } 625 626 function run() { 627 applyFittyForMobile(); 628 } 629 630 // Debounce helper 631 const debouncedRun = (() => { 632 let t; 633 return () => { clearTimeout(t); t = setTimeout(run, 200); }; 634 })(); 635 636 // 1) DOM ready -> wacht zo mogelijk ook op fonts 637 $(function () { 638 if (document.fonts && document.fonts.ready) { 639 document.fonts.ready.then(run); 640 } else { 641 run(); 642 } 643 }); 644 645 // 2) Alles geladen (images, CSS, etc.) 646 window.addEventListener("load", run); 647 648 // 3) Terug uit bfcache (iOS/Safari) 649 window.addEventListener("pageshow", e => { if (e.persisted) run(); }); 650 651 // 4) Resize / orientation change 652 window.addEventListener("resize", debouncedRun); 653 window.addEventListener("orientationchange", debouncedRun); 654 655 // 5) Mobiele address-bar/viewport wijzigingen 656 if (window.visualViewport) { 657 visualViewport.addEventListener("resize", debouncedRun); 658 } 659 660 }); 661</script>
661 662
663<script src="js/fitty.min.js"></script>
663 664</body> 665</html> 666<div id="stat_div" style="display:none;"></div>
667<script> 668 669 $( document ).ready(function() { 670 671 Odf.ajax.get('https://www.computerlight.com/ajax/visitors/create/', 'div#stat_div', { domain_id: '5448475' }); 672 673 }); 674 675</script>
vendor: 1 bytes, line 675
675
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.