1 2 3 4 5 6<!DOCTYPE html> 7<html lang="en"> 8<head> 9 10 11 <!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 69 bytes, lines 11-12
11 12 <script async src="https://www.googletagmanager.com/gtag/js?id=
12UA-147330402-2
vendor: 17 bytes, lines 12-13
12"></script> 13
13<script> 14
vendor: 150 bytes, lines 14-18
14window.dataLayer = window.dataLayer || []; 15 function gtag(){dataLayer.push(arguments);} 16 gtag('js', new Date()); 17 18 gtag('config', '
18UA-147330402-2
vendor: 9 bytes, lines 18-19
18'); 19
19</script>
19 20 21 <meta charset="utf-8"> 22 23 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> 24 25 26 27 28 <title>Story Page</title> 29 <link href="/favicon.png" rel="shortcut icon" /> 30 31 <!-- Styles Render --> 32 <link href="/Content/BootStrap/styles/css?v=MJAUjlLglzf9T0jGspQgsvgjG2tGx2RbbqcKNEJxwBo1" rel="stylesheet"/> 33 34 <link href="/Content/css?v=Pv-SAPz97cVL8IEkTnkMo1X0SMlhomp0Ig5GTQfXAdc1" rel="stylesheet"/> 35 36 <link href="/Content/themes/base/css?v=NuyIfgvuaODzWi58AFMLiQSegw8Xqoh2YDsXnWCq_Sw1" rel="stylesheet"/> 37 38 39 <link href="/Content/themes/custom/fonts/fonts.css" rel="stylesheet" /> 40 41 <!-- Scripts Render --> 42
42<script src="/Handlers/CommonScript.ashx"></script>
42 43 44
44<script src="/bundles/jquery?v=Q9oTaoOv88-6sXlC2OJNqhNF2pEKDztOx14YZ1ojeMY1"></script>
44 45 46
46<script src="/bundles/jqueryval?v=2ghtVqCM8JIEPGxCuZopth4zGa5gMbhnh7aDTCdn_Mw1"></script>
46 47 48
48<script src="/bundles/utilities?v=wEvcJWxw4vE05Ile58Z03lnMMZ9_3l9maUUctTzthMY1"></script>
48 49 50
50<script src="/bundles/modernizr?v=qVODBytEBVVePTNtSFXgRX0NCEjh9U_Oj8ePaSiRcGg1"></script>
50 51 52
52<script src="/bundles/BootStrap?v=ZWz90R0LRO_wPxkFVxQqGDL5PfLxpQviNjHy8w5kZvs1"></script>
52 53 54
54<script src="/Scripts/jquery.dotdotdot.min.js"></script>
54 55 <link href='https://fonts.googleapis.com/css?family=Raleway:400,700' rel='stylesheet' type='text/css'> 56 57 58 59 <style> 60 div[aria-describedby="searchFormPopup"].ui-dialog { 61 z-index: 1000000 !important; 62 } 63 64 .ui-draggable .ui-dialog-titlebar { 65 /*display:none;*/ 66 } 67 68 69 70 </style> 71</head> 72 73<body> 74 <header class="canvasHeader"> 75 <div class="top_header_container "> 76 <div class="top_header"> 77 <div class="topNavigationBar"> 78 <a class="current_item" href="/">The Written Log</a> 79 <a href="https://play.terracaching.com/">Play</a> 80 <a href="https://community.terracaching.com/">Community</a> 81 <a href="https://community.terracaching.com/Post/List?postTypeID=4">Learn</a> 82 <a href="https://store.terracaching.com" target="_blank">Store</a> 83 </div> 84 <div class="clear"></div> 85 </div> 86 </div> 87 <div class="middle_header logged-out"> 88 <div class="canvasLogo"> 89 <a href='/'> 90 <img src="/Content/images/WrittenLogLogo.png" alt='TERRACACHING' /> 91 </a> 92 </div> 93 <div class="user_info_search"> 94 <div class="login-buttons"> 95 <a class="loginButton blue" href="javascript:showLoginDialog();" id="btnLogin">LOG IN</a> 96 <a class="loginButton red" href="https://play.terracaching.com/Account/Create" id="btnCreate">JOIN NOW</a> 97 </div> 98 99 <div class="siteSearch"> 100<form action="/Story/Search" class="search-form" method="get"> <input maxlength="100" name="keyword" placeholder="Search stories"> 101 <span class="reset">x</span> 102 <button class="button"><img src="/Content/images/social-media/search.png" alt="search"></button> 103</form> <div class="clear"></div> 104 </div> 105 </div> 106 <div class="clear"></div> 107 <div class="canvasNavigationBar"> 108 109 110 <a href="https://play.terracaching.com/">PLAY THE GAME</a> 111 112 113 <a href="https://community.terracaching.com/"> 114 JOIN THE CONVERSATION 115 </a> 116 117 <a href="https://store.terracaching.com" target="_blank"> 118 SHOP WITH US 119 </a> 120 121 </div> 122 </div> 123 <div class="canvasNavigationBarMobile"> 124 <div class="siteSearch mobile"> 125<form action="/Story/Search" class="search-form" method="get"> <input maxlength="100" name="keyword" placeholder="Search stories"> 126 <span class="reset">x</span> 127 <button class="button"><img src="/Content/images/social-media/search.png" alt="search"></button> 128</form> </div> 129 <div class="mobile_menu"> 130 <div class="navbar-toggle collapsed" data-target="#uMenu"> 131 <a id="menu-toggle"><img src="/Content/images/social-media/menu.png" alt="terracaching"></a> 132 </div> 133 <ul class="list" id="uMenu"> 134 <li class="parent"> 135 <a href="https://play.terracaching.com/">PLAY THE GAME</a> 136 </li> 137 <li class="parent"> 138 <a href="https://community.terracaching.com/">JOIN THE CONVERSATION</a> 139 </li> 140 <li class="parent"> 141 <a href="https://store.terracaching.com" target="_blank">
141SHOP WITH US</a> 142 </li> 143 </ul> 144 </div> 145 </div> 146 147 148 </header> 149 150 <div class="canvasBodyContent"> 151 152 153 <section class="canvasSection float-left"> 154 <div class="canvasHorizontalBar"> 155 156 </div> 157 <div class="canvasMain"> 158 <div class="canvasPageBody"> 159 160 161 <div class="storyBody"> 162 <div class="images"> 163 <div class="main"> 164 <img id="imgMain" src="/Images/Story/108/Cyber 1.png" /> 165 </div> 166 <div class="slider"> 167 <a id="prev" slide="prev"><</a> 168 <span id="lblImageIndex">1</span> 169 <span>of</span> 170 <span>1</span> 171 <a id="next" slide="next">></a> 172 </div> 173 </div> 174 <div class="topics"> 175 <div class="title">The History of Cyber Caches</div> 176 <p>Cyber Caches are unique to TerraCaching. Similar to traditional geocaches in that they are found in a specific location, these caches are found using online clues and mapping services. They can also be member challenges. They are a creation of our innovative community and we are proud to list them as a separate type of cache. </p> 177<p>TerraCaching has continued to allow locationless caches over the years and encouraged the growth of this category. As members from all over the world began hunting locationless caches, they came up with a new idea- why not look for caches using Google maps software? Why not challenge members to find a series of other cache types, from all sorts of caching sites? This type of caching was debated and discussed extensively in the forums of our old site. What should we name them? How do we define them? During the debate, we heard one thing loud and clear: these caches need to be their own category. When we launched our new site in July of 2014, we followed the desires of the TerraCaching Community and made Cyber Caches their own cache type. It is now a thriving part of the site that continues to grow in it's own unique way. Search by the type "Cyber Caches" to dig into the fun!</p> 178 </div> 179 </div> 180
181<script type="text/javascript"> 182 183 var currentImageIndex = 1; 184 var storyId = parseInt('108', 10); 185 var allImagesCount = parseInt('1', 10); 186 var arrImageNames = getJSArrayFromServerArray(); 187 188 //-------- Document Ready ----------// 189 $(document).ready(function () 190 { 191 currentImageIndex = 1; 192 setSliderButtons(); 193 194 $("div.images div.slider a").on("click", function () 195 { 196 var isNext = ($(this).attr("slide") == "next"); 197 currentImageIndex = getCurrentImageIndex(isNext); 198 199 var imageSrc = String.format("{0}/Images/Story/{1}/{2}", ApplicationVariables.SiteURL, storyId, arrImageNames[currentImageIndex - 1]); 200 $("#imgMain").fadeOut(500, function () 201 { 202 $(this).attr('src', imageSrc); 203 }); 204 205 $("#imgMain").on("load", function () 206 { 207 $(this).fadeIn(500); 208 $(this).show(); 209 210 setSliderButtons(); 211 }); 212 }); 213 214 }); 215 216 //-------- getJSArrayFromServerArray ----------// 217 function getJSArrayFromServerArray() 218 { 219 var arrImages = new Array(); 220 if (allImagesCount > 0); 221 arrImages = ['Cyber 1.png']; 222 223 return arrImages; 224 } 225 226 //-------- getCurrentImageIndex ----------// 227 function getCurrentImageIndex(isNext) 228 { 229 if (isNext) 230 return currentImageIndex % allImagesCount + 1; 231 232 return (currentImageIndex + allImagesCount - 1) % allImagesCount; 233 } 234 235 //-------- setSliderButtons ----------// 236 function setSliderButtons() 237 { 238 var prevSlider = $("div.images div.slider a#prev"); 239 var nextSlider = $("div.images div.slider a#next"); 240 241 visibleControl(prevSlider, currentImageIndex > 1); 242 visibleControl(nextSlider, currentImageIndex < allImagesCount); 243 var lblImageIndex = $("#lblImageIndex").html(currentImageIndex); 244 } 245 246</script>
246 247 </div> 248 </div> 249 </section> 250 251 <section class="sidbarSection float-right"> 252 253 <div class="intro"> 254 <h4> 255 We are a growing group of innovative geocaching enthusiasts focused on creating quality outdoor experiences. Head out on adventures to find traditional, locationless, and cyber geocaches. Join us and explore the world around you! 256 </h4> 257 </div> 258 <div class="featuredStories"> 259 <div class="featuredStory"> 260 261 <a href="/Story/112"> 262 <img src="/Images/Home/112/Body.jpg" alt="Site Overview" /> 263 <div class="title">Site Overview</div> 264 <div class="description"> Home, Game, Community </div> 265 </a> 266 267 </div> 268 <div class="featuredStory"> 269 270 <a href="/Story/106"> 271 <img src="/Images/Home/106/Body.jpg" alt="Types of TerraCaches" /> 272 <div class="title">Types of TerraCaches</div> 273 <div class="description"> Traditional, Locationless, and Cyber </div> 274 </a> 275 276 </div> 277 <div class="featuredStory"> 278 279 <a href="/Story/108"> 280 <img src="/Images/Home/108/Body.jpg" alt="The History of Cyber Caches" /> 281 <div class="title">The History of Cyber Caches</div> 282 <div class="description"> An innovative TerraCaching Creation </div> 283 </a> 284 285 </div> 286 <div class="featuredStory"> 287 288 <a href="/Story/121"> 289 <img src="/Images/Home/121/Body.jpg" alt="The Dog Days" /> 290 <div class="title">The Dog Days</div> 291 <div class="description"> Updates from smithwitch123 </div> 292 </a> 293 294 </div> 295 296 </div> 297 298 299 300 301 </section> 302 <div class="clear"></div> 303 </div> 304 305 306 307 <div class="clear"></div> 308 <div class="footerContainer"> 309 <div class="footerContainerSmall"> 310 <div class="footerContainerItem"> 311 <div class="miniLogo"> 312 <img src="/Content/images/minilogo.png" border="0" alt="terracaching" /> 313 </div> 314 <div class="followUs"> 315 <div class="followUsHeader"> 316 FOLLOW US ON 317 </div> 318 <div class="followUsFooter"> 319 <div class="headerMenuItemIcon"> 320 <a href="https://pinterest.com/terracaching/boards/" target="_blank" > 321 <img src="/Content/images/pmenu.png" width="27" height="25" border="0" alt="pmenu" /> 322 </a> 323 </div> 324 <div class="headerMenuItemIcon"> 325 <a href="https://twitter.com/terracaching" target="_blank"> 326 <img src="/Content/images/twitter.png" width="31" height="25" border="0" alt="twitter" /> 327 </a> 328 </div> 329 <div class="headerMenuItemIcon"> 330 <a href="https://instagram.com/terracaching" target="_blank"> 331 <img src="/Content/images/instagram_32x32.jpg" width="25px" height="25px" border="0" alt="instagram" /> 332 </a> 333 </div> 334 <div class="headerMenuItemIcon"> 335 <a href="https://www.facebook.com/pages/TerraCachingcom/161886653878590" target="_blank"> 336 <img src="/Content/images/facebook.png" width="26" height="25" border="0" alt="facebook" /> 337 </a> 338 </div> 339 </div> 340 </div> 341 <div class="clear"> 342 </div> 343 <br /> 344 <div class="footerText"> 345 ©
345TERRACACHING. ALL RIGHTS RESERVED 2004-2026. 346 </div> 347 <div class="footerLink"> 348 <a class="footerLink" href="https://astoundry.com/" target="_blank"> 349 POWERED BY ASTOUNDRY 350 </a> 351 </div> 352 </div> 353 <div class="footerContainerItem itemCenter"> 354 <div class="footerLinkColumn"> 355 <div class="footerLink"> 356 <a class="footerLink" href="https://play.terracaching.com/" authorize="true"> 357 PLAY THE GAME 358 </a> 359 </div> 360 <div class="footerLink"> 361 <a class="footerLink" href="https://play.terracaching.com/TerraCentral/" authorize="true"> 362 TERRACENTRAL 363 </a> 364 </div> 365 <div class="footerLink"> 366 <a href="https://community.terracaching.com/" target="_blank" class="footerLink" > 367 COMMUNITY 368 </a> 369 370 </div> 371 <div class="footerLink"> 372 <a class="footerLink" href="https://play.terracaching.com/Cache/Search" authorize="true" sponsored="true"> 373 CACHE HUNT 374 </a> 375 </div> 376 <div class="footerLink"> 377 <a class="footerLink" href="https://play.terracaching.com/User/Leaderboard" authorize="true" sponsored="true"> 378 LEADERBOARDS 379 </a> 380 </div> 381 </div> 382 383 <div class="footerLinkColumn"> 384 <div class="footerLink"> 385 <a href="https://store.terracaching.com" target="_blank" class="footerLink"> 386 STORE 387 </a> 388 </div> 389 <div class="footerLink"> 390 <a class="footerLink" href="/cdn-cgi/l/email-protection#44373134342b36300430213636252725272c2d2a236a272b29"> 391 CONTACT 392 </a> 393 </div> 394 <div class="footerLink"> 395 <a class="footerLink" href="https://play.terracaching.com/TermsOfUse/" target="_blank"> 396 TERMS OF USE 397 </a> 398 </div> 399 <div class="footerLink"> 400 <a class="footerLink" href="https://play.terracaching.com/PrivacyPolicy/" target="_blank"> 401 PRIVACY POLICY 402 </a> 403 </div> 404 </div> 405 <div class="clear"></div> 406 </div> 407 <div class="footerContainerItemLast"> 408 <div class="followUsHeader"> 409 STAY IN THE LOOP 410 </div> 411 <div class="clear"> 412 </div> 413 <div class="subscribe"> 414 <span class="subHeaderDescriptionItalicText"> 415 Receive emails with cool ideas, inspiring stories, great reviews and TC store offers. 416 </span> 417 <div class="clear"> 418 </div> 419 <br /> 420 <input type="text" id="txtEmailStayInLoop" class="search" /> 421 <input type="button" id="btnStayInLoop" onclick="UpdateStayInLoopEmail();" value="SUBMIT" class="submitRedButton left" /> 422 <span id="lblStayInLoopMessage" class="subHeaderRedDescriptionItalicText" ></span> 423 </div> 424 </div> 425 </div> 426 </div> 427 <!-- Message Dialog --> 428 <div id="dvMessageDialog" title="Message" class='messageDialog'> 429 <div class='image'> 430 <img id='imgDialog' src='' alt='terracaching' /> 431 </div> 432 <div class='message'> 433 <span id="lblMessage"></span> 434 </div> 435 </div> 436 437 <div id="dvForgotPassword"> 438 <div> 439 <div class="forgotPasswordText"> 440 Please enter your email address and we will send you information about how to reset your password. 441 </div> 442 <div> 443 <div class="left"> 444 Email 445 </div> 446 <div class="forgotPassword left"> 447 <input class="loginText" id="txtForgotEmail" name="txtForgotEmail" type="text" value="" /> 448 </div> 449 </div> 450 <div class="clearer"> 451 </div> 452 <div> 453 <input type="button" value="Send" class="submitRedButton" onclick="forgotPassword();" /> 454 </div> 455 </div> 456 </div> 457 458 459 460 461 <!-- Ajax Loader --> 462 <div id="dvAjaxLoader" class="ajaxLoader"></div> 463 <img src='/Content/images/ajax-loading.gif' border="0" id="imgcover" class="loadCover" alt="loading" /> 464 465 <div id="dvLogin"> 466 <div class="loginDiv"> 467<form action="/Account/Login" method="post"> <table border="0" class="loginDialog"> 468 <tr> 469 <td class="loginDialogLeft">Member Name</td> 470 <td class="loginDialogRight"><input class="loginText" data-val="true" data-val-required="The User name: field is required." id="txtLogUserName" name="UserName" type="text" value="" /></td> 471 </tr> 472 <tr> 473 <td class="loginDialogLeft"><label for="Password">Password:</label></td> 474 <td class="loginDialogRight"><input class="loginText" data-val="true" data-val-required="The Password: field is required." id="txtLogPassword" name="Password" type="password" /></td> 475 </tr> 476 <tr> 477 <td class="loginDialogLeft"><label class="loginCheckbox" for="RememberMe">Remember me</label></td> 478 <td class="loginDialogRight"><input class="loginCheckbox" data-val="true" data-val-required="The Remember me field is required." id="RememberMe" name="RememberMe" type="checkbox" value="true" /><input name="RememberMe" type="hidden" value="false" /></td> 479 </tr> 480 <tr> 481 <td colspan="2" class="loginDialogError">
482 <span id="lblErrorMessage" style="display:none;"></span> 483 </td> 484 </tr> 485 <tr> 486 <td> 487 </td> 488 <td class="loginDialogButton" align="right" valign="middle"> 489 <input type="button" value="Log In" class="submitRedButton" onclick="submitLoginForm();" id="btnDialogLogin" loaderText="Logging In..." addLeft='-88' /> 490 <label id="lblLoginLoading" class="hiddenItem">Logging In...</label> 491 <img id="imgLoginLoading" alt="Loading..." class="hiddenItem" src="/Content/themes/terracache/images/AjaxLoading.gif" width="25"/> 492 </td> 493 </tr> 494 <tr> 495 <td colspan="2" align="right" class="forgotPassword"> 496 <a href="javascript:showForgotPasswordDialog();" class="commonLink">Forgot your password?</a> 497 </td> 498 </tr> 499 </table> 500</form> 501</div>
vendor: 110 bytes, lines 501-502
501 502<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
502<script type="text/javascript"> 503 var isInLoginMode = false; 504 function submitLoginForm() 505 { 506 507 if (isInLoginMode) 508 { 509 return; 510 } 511 512 isInLoginMode = true; 513 var requestURL = ApplicationVariables.SiteURL + '/Account/Validate/'; 514 var jsonParams = { UserName: $("#txtLogUserName").val(), Password: $("#txtLogPassword").val(), RememberMe: $("#RememberMe").prop("checked"), RemoteApp: 'TC' }; 515 516 if (typeof xhrActionFeed != 'undefined') 517 { 518 xhrActionFeed.abort(); 519 } 520 521 if (typeof xhrCacheStats != 'undefined') 522 { 523 xhrCacheStats.abort(); 524 } 525 526 if (typeof xhrMapCaches != 'undefined') 527 { 528 xhrMapCaches.abort(); 529 } 530 531 $.ajax({ 532 type: "POST", 533 url: requestURL, 534 data: JSON.stringify(jsonParams), 535 contentType: "application/json; charset=utf-8", 536 success: function (data) 537 { 538 if (data.HasError) 539 { 540 //showMessageDialog(data.ErrorMessage, MessageType.Error); 541 $("#lblErrorMessage").show(); 542 $("#lblErrorMessage").html(data.ErrorMessage); 543 $("#lnkUserName").html(''); 544 } 545 else 546 { 547 $("#lblErrorMessage").hide(); 548 $("#dvLogin").dialog("close"); 549 $("#lnkUserName").html($("#txtUserName").val()); 550 hideLogin(); 551 showLogout(); 552 if (typeof (data.ReturnValue) != 'undefined' && data.ReturnValue != null) 553 { 554 document.location.replace(data.ReturnValue); 555 } 556 else 557 { 558 559 document.location.replace(RedirectUrl); 560 } 561 } 562 }, 563 error: function (XMLHttpRequest, textStatus, errorThrown) 564 { 565 //showMessageDialog(errorThrown, MessageType.Error); 566 }, 567 complete: function () 568 { 569 isInLoginMode = false; 570 isSponsored = false; 571 } 572 }); 573 574 } 575</script>
575 576 577 </div> 578 579 <input type="hidden" id="hdnAuthenticated" value="0" /> 580 581
581<script type="text/javascript"> 582 $('a[authorize="true"]').on('click', function () 583 { 584 showLoginDialog(this.href); 585 return false; 586 }); 587 </script>
587 588 589 590
590<script type="text/javascript"> 591 592 593 jQuery(function () { 594 jQuery("#menu-toggle").click(function() 595 { 596 var mobile_menu = jQuery("#uMenu"); 597 if (mobile_menu.length > 0) 598 { 599 600 if (mobile_menu.hasClass('in')) { 601 mobile_menu.removeClass('in'); 602 mobile_menu.hide(); 603 } 604 else 605 { 606 mobile_menu.addClass('in'); 607 mobile_menu.show(); 608 } 609 } 610 611 } 612 ); 613 }); 614 615 var isIEAgent = isIEAgent(); 616 var isIE10Above = isIE10AboveAgent(); 617 var RedirectUrl = ''; 618 619 //------- Document Ready ------// 620 $(document).ready(function () 621 { 622 623 624 //Featured Stories 625 //--- texts overflow ---// 626 $(".featuredStory .text.readmore").dotdotdot({ 627 ellipsis: "...(read more)" 628 }); 629 630 631 // Search 632 var keyword = ''; 633 var searchKeyword = $('div.search input'); 634 var searchReset = $('div.search span.reset'); 635 var searchButton = $('div.search span.button') 636 searchKeyword.val(keyword); 637 visibleControl(searchReset, !isIE10Above && keyword.length > 0); 638 639 // Search click event 640 searchButton.bind('click', function () 641 { 642 var searchText = $.trim(searchKeyword.val()); 643 var detailsUrl = String.format("{0}/Story/Search?keyword={1}", ApplicationVariables.SiteURL, searchText); 644 window.location = detailsUrl; 645 }); 646 647 if (!isIE10Above) 648 { 649 // Keyword keydown 650 searchKeyword.bind('keyup', function () 651 { 652 var bTextExist = $(this).val().length > 0; 653 visibleControl(searchReset, bTextExist); 654 }); 655 656 // Reset click 657 searchReset.bind('click', function () 658 { 659 searchKeyword.val(""); 660 searchKeyword.focus(); 661 visibleControl(searchReset, false); 662 }); 663 } 664 665 // For Desktop 666 if (isIEAgent) 667 $("div.canvasNavigationBar").addClass("forIE"); 668 669 //$('#divSubscriptions').closest('div.ui-dialog').addClass('subscriber-ui-dialog'); 670 671 672 $("#dvBlog").dialog({ 673 autoOpen: false, 674 //modal: true, 675 margin: 0, 676 resizable: false, 677 draggable: false, 678 overflow: 'scroll', 679 position: 'center', 680 open: function () 681 { 682 /// 683 }, 684 close: function () 685 { 686 $("#ifBlog").removeAttr("src"); 687 } 688 }); 689 690 if ($("#lnkBlog").length > 0) 691 { 692 $("#lnkBlog").click(function () 693 { 694 // Blog' Frame 695 $("#ifBlog").attr("src", "http://blog.terracaching.com"); 696 $("#ifBlog").css("width", "100%"); 697 $("#ifBlog").css("min-height", $(window).height() - 155); 698 $("#ifBlog").load(function () 699 { 700 var bodyHeight = $(this).closest("body").height(); 701 $("#dvBlog").dialog("option", "height", bodyHeight - 100); 702 }); 703 704 // Dialog 705 $("#dvBlog").dialog("option", "width", 1100); 706 $("#dvBlog").dialog("option", "position", ['center', 85]); 707 $("#dvBlog").dialog("open"); 708 }); 709 } 710 711 $('#dvLogin').dialog({ 712 title: 'LOGIN', 713 width: 430, 714 resizable: false, 715 modal: true, 716 autoOpen: false, 717 show: 'fade' 718 719 }); 720 721 }); 722 723 724 //------- Document Ready ------// 725 $(document).keydown(function (event) 726 { 727 if (event.which == 13) 728 { 729 var searchButton = $('div.search span.button'); 730 if (searchButton.length > 0) 731 searchButton.click(); 732 } 733 }); 734 735 736 737 var globalAjaxLoader = true; 738 739 //----------- Ajax Start -----------// 740 $(document).ajaxStart(function () 741 { 742 if(globalAjaxLoader) 743 { 744 var imgCover = $('#imgcover'); 745 imgCover.css("position", "absolute"); 746 imgCover.css("top", Math.max(0, (($(window).height() - $(imgCover).outerHeight()) / 2) + $(window).scrollTop()) + "px"); 747 imgCover.css("left", Math.max(0, (($(window).width() - $(imgCover).outerWidth()) / 2) + $(window).scrollLeft()) + "px"); 748 $('#dvAjaxLoader').css('height', jQuery(document).height()); 749 imgCover.show(); 750 $('#dvAjaxLoader').show(); 751 } 752 }); 753 754 //----------- Ajax Complete -----------// 755 $(document).ajaxComplete(function () 756 { 757 $('#dvAjaxLoader').hide(); 758 $('#imgcover').hide(); 759 }); 760 761 //----------- Show UI Dialog for display Messages -----------// 762 $('#dvMessageDialog').dialog( 763 { 764 height: MessageDialog.Height, 765 width: MessageDialog.Width, 766 resizable: false, 767 modal: true, 768 autoOpen: false, 769 //show: 'slow', 770 dialogClass: "MsgDialogClass", 771 772 overlay: { backgroundColor: "#fff", opacity: 0.5 }, 773 buttons: 774 { 775 OK: function () 776 { 777 $(this).dialog("close"); 778 } 779 } 780 }); 781 782 783 function showLoginDialog(redirectUrl, startupFunction) 784 { 785 if (startupFunction) 786 { 787 StartupFunction = startupFunction; 788 } 789 if (redirectUrl && redirectUrl != '') 790 { 791 RedirectUrl = redirectUrl; 792 } 793 else 794 { 795 //RedirectUrl = 'https://community.terracaching.com'; 796 } 797 $('#UserName').val(''); 798 $('#Password').val(''); 799 800 $("#RememberMe").val(false); 801 $("#lblErrorMessage").html(''); 802 $("#lblErrorMessage").hide(); 803 $("#lnkUserName").html(''); 804 $('#dvLogin').dialog('open'); 805 } 806 807 function showLogout() 808 { 809 $('#dvLogoutContainer').show(); 810 } 811 812 function hideLogin() 813 { 814 $('#dvLoginContainer').hide(); 815 } 816 817 function hideLoginPopup() 818 { 819 $('#dvLogin').dialog("close"); 820 } 821 822 $('#dvForgotPassword').dialog({ 823 title: 'Forgot Your Password', 824 height: 220, 825 width: 380, 826 resizable: false, 827 modal: true, 828 autoOpen: false, 829 show: 'fade' 830 }); 831 832 833 function showForgotPasswordDialog() { 834 $('#txtForgotEmail').val(''); 835 hideLoginPopup(); 836 $('#dvForgotPassword').dialog('open'); 837 } 838 839 function hideForgotPasswordDialog() { 840 $('#txtForgotEmail').val(''); 841 $('#dvForgotPassword').dialog('close'); 842 } 843 844 function forgotPassword() { 845 var txtForgotEmail = $('#txtForgotEmail'); 846 847 var isValid = validateControl(txtForgotEmail, false, ''); 848 var passwordRecoveryURL = String.format("{0}/Account/ResetPassword", ApplicationVariables.SiteURL); 849 var jsonData = { email: txtForgotEmail.val() }; 850 851 if (isValid) { 852 $.ajax({
853 type: "POST", 854 url: passwordRecoveryURL, 855 data: JSON.stringify(jsonData), 856 contentType: "application/json; charset=utf-8", 857 success: function (response) { 858 if (!response.HasError) { 859 hideForgotPasswordDialog(); 860 showMessageDialog('Recovery message has been sent to your account.', MessageType.Success); 861 } 862 else { 863 showMessageDialog(response.ErrorMessage, MessageType.Error); 864 } 865 866 }, 867 error: function (xmlHttpRequest, textStatus, errorThrown) { 868 showMessageDialog(errorThrown, MessageType.Error); 869 } 870 }); 871 } 872 } 873 874 875 876 $(document).keypress(function (event) 877 { 878 var keycode = (event.keyCode ? event.keyCode : event.which); 879 if (keycode == '13' && $("#dvLogin").parents(".ui-dialog").is(":visible")) 880 { 881 submitLoginForm(); 882 } 883 884 }); 885 886 </script>
886 887 888 889 890 <style> 891 .modal-body 892 { 893 -webkit-overflow-scrolling: touch; 894 } 895 </style> 896 897</body> 898</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.