1$(document).ready(function() { 2 3//Image Drag Upload 4 5 6 7 8 9 10//Dropdown User Menu 11 12 $(".top-nav-user").mouseover( 13 function() { 14 $(".user-dropdownmenu").show();}); 15 16 $(".top-nav-user-mob").click( 17 function() { 18 $(".user-dropdownmenu-mob").toggle(); 19 return false;} 20 ); 21 22 $(".user-dropdownmenu").mouseleave( 23 function() { 24 $(".user-dropdownmenu").hide();}); 25 26 $("#search-clicker").click( 27 function() { 28 $(this).toggleClass("search-mob"); 29 $(this).toggleClass("search-mob-x"); 30 if($(".search-form-mob").css("display") == "none") { 31 $(".search-form-mob").css("display", "block"); } 32 else { 33 $(".search-form-mob").css("display", "none");} 34 35 return false; 36 }); 37 38 $("#search-clicker-normal").click( 39 function() { 40 alert("hi-normal"); 41 $(this).toggleClass("search-normal"); 42 $(this).toggleClass("search-normal-x"); 43 if($(".search-normal").css("display") == "none") { 44 $(".search-normal").css("display", "block"); } 45 else { 46 $(".search-normal").css("display", "none");} 47 48 return false; 49 }); 50 51 $(".menu-bars").click( 52 function() { 53 if($(".nav-mob").css("display") == "none") { 54 $(".nav-mob").css("display", "block"); } 55 else { 56 $(".nav-mob").css("display", "none");} 57 58 return false; 59 }); 60 61//Code For #unfollow-button-featured-authors 1-40 62 63 $('#unfollow-button-featured-authors-1').mouseover( 64 function() { 65 $('#unfollow-button-featured-authors-1').text("Unfollow");}); 66 67 $('#unfollow-button-featured-authors-1').mouseleave( 68 function() { 69 $('#unfollow-button-featured-authors-1').html("Following✓"); 70 }); 71 72 $('#unfollow-button-featured-authors-2').mouseover( 73 function() { 74 $('#unfollow-button-featured-authors-2').text("Unfollow");}); 75 76 $('#unfollow-button-featured-authors-2').mouseleave( 77 function() { 78 $('#unfollow-button-featured-authors-2').html("Following✓"); 79 }); 80 81 $('#unfollow-button-featured-authors-3').mouseover( 82 function() { 83 $('#unfollow-button-featured-authors-3').text("Unfollow");}); 84 85 $('#unfollow-button-featured-authors-3').mouseleave( 86 function() { 87 $('#unfollow-button-featured-authors-3').html("Following✓"); 88 }); 89 90 $('#unfollow-button-featured-authors-4').mouseover( 91 function() { 92 $('#unfollow-button-featured-authors-4').text("Unfollow");}); 93 94 $('#unfollow-button-featured-authors-4').mouseleave( 95 function() { 96 $('#unfollow-button-featured-authors-4').html("Following✓"); 97 }); 98 99 $('#unfollow-button-featured-authors-4').mouseover( 100 function() { 101 $('#unfollow-button-featured-authors-4').text("Unfollow");}); 102 103 $('#unfollow-button-featured-authors-4').mouseleave( 104 function() { 105 $('#unfollow-button-featured-authors-4').html("Following✓"); 106 }); 107 108 $('#unfollow-button-featured-authors-4').mouseover( 109 function() { 110 $('#unfollow-button-featured-authors-4').text("Unfollow");}); 111 112 $('#unfollow-button-featured-authors-4').mouseleave( 113 function() { 114 $('#unfollow-button-featured-authors-4').html("Following✓"); 115 }); 116 117 $('#unfollow-button-featured-authors-5').mouseover( 118 function() { 119 $('#unfollow-button-featured-authors-5').text("Unfollow");}); 120 121 $('#unfollow-button-featured-authors-5').mouseleave( 122 function() { 123 $('#unfollow-button-featured-authors-5').html("Following✓"); 124 }); 125 126 $('#unfollow-button-featured-authors-6').mouseover( 127 function() { 128 $('#unfollow-button-featured-authors-6').text("Unfollow");}); 129 130 $('#unfollow-button-featured-authors-6').mouseleave( 131 function() { 132 $('#unfollow-button-featured-authors-6').html("Following✓"); 133 }); 134 135 $('#unfollow-button-featured-authors-7').mouseover( 136 function() { 137 $('#unfollow-button-featured-authors-7').text("Unfollow");}); 138 139 $('#unfollow-button-featured-authors-7').mouseleave( 140 function() { 141 $('#unfollow-button-featured-authors-7').html("Following✓"); 142 }); 143 144 $('#unfollow-button-featured-authors-8').mouseover( 145 function() { 146 $('#unfollow-button-featured-authors-8').text("Unfollow");}); 147 148 $('#unfollow-button-featured-authors-8').mouseleave( 149 function() { 150 $('#unfollow-button-featured-authors-8').html("Following✓"); 151 }); 152 153 $('#unfollow-button-featured-authors-9').mouseover( 154 function() { 155 $('#unfollow-button-featured-authors-9').text("Unfollow");}); 156 157 $('#unfollow-button-featured-authors-9').mouseleave( 158 function() { 159 $('#unfollow-button-featured-authors-9').html("Following✓"); 160 }); 161 162 $('#unfollow-button-featured-authors-10').mouseover( 163 function() { 164 $('#unfollow-button-featured-authors-10').text("Unfollow");}); 165 166 $('#unfollow-button-featured-authors-10').mouseleave( 167 function() { 168 $('#unfollow-button-featured-authors-10').html("Following✓"); 169 }); 170 171 $('#unfollow-button-featured-authors-11').mouseover( 172 function() { 173 $('#unfollow-button-featured-authors-11').text("Unfollow");}); 174 175 $('#unfollow-button-featured-authors-11').mouseleave( 176 function() { 177 $('#unfollow-button-featured-authors-11').html("Following✓"); 178 }); 179
180 $('#unfollow-button-featured-authors-12').mouseover( 181 function() { 182 $('#unfollow-button-featured-authors-12').text("Unfollow");}); 183 184 $('#unfollow-button-featured-authors-12').mouseleave( 185 function() { 186 $('#unfollow-button-featured-authors-12').html("Following✓"); 187 }); 188 189 $('#unfollow-button-featured-authors-13').mouseover( 190 function() { 191 $('#unfollow-button-featured-authors-13').text("Unfollow");}); 192 193 $('#unfollow-button-featured-authors-13').mouseleave( 194 function() { 195 $('#unfollow-button-featured-authors-13').html("Following✓"); 196 }); 197 198 $('#unfollow-button-featured-authors-14').mouseover( 199 function() { 200 $('#unfollow-button-featured-authors-14').text("Unfollow");}); 201 202 $('#unfollow-button-featured-authors-14').mouseleave( 203 function() { 204 $('#unfollow-button-featured-authors-14').html("Following✓"); 205 }); 206 207 $('#unfollow-button-featured-authors-15').mouseover( 208 function() { 209 $('#unfollow-button-featured-authors-15').text("Unfollow");}); 210 211 $('#unfollow-button-featured-authors-15').mouseleave( 212 function() { 213 $('#unfollow-button-featured-authors-15').html("Following✓"); 214 }); 215 216 $('#unfollow-button-featured-authors-16').mouseover( 217 function() { 218 $('#unfollow-button-featured-authors-16').text("Unfollow");}); 219 220 $('#unfollow-button-featured-authors-16').mouseleave( 221 function() { 222 $('#unfollow-button-featured-authors-16').html("Following✓"); 223 }); 224 225 $('#unfollow-button-featured-authors-17').mouseover( 226 function() { 227 $('#unfollow-button-featured-authors-17').text("Unfollow");}); 228 229 $('#unfollow-button-featured-authors-17').mouseleave( 230 function() { 231 $('#unfollow-button-featured-authors-17').html("Following✓"); 232 }); 233 234 $('#unfollow-button-featured-authors-18').mouseover( 235 function() { 236 $('#unfollow-button-featured-authors-18').text("Unfollow");}); 237 238 $('#unfollow-button-featured-authors-18').mouseleave( 239 function() { 240 $('#unfollow-button-featured-authors-18').html("Following✓"); 241 }); 242 243 $('#unfollow-button-featured-authors-19').mouseover( 244 function() { 245 $('#unfollow-button-featured-authors-19').text("Unfollow");}); 246 247 $('#unfollow-button-featured-authors-19').mouseleave( 248 function() { 249 $('#unfollow-button-featured-authors-19').html("Following✓"); 250 }); 251 252 $('#unfollow-button-featured-authors-20').mouseover( 253 function() { 254 $('#unfollow-button-featured-authors-20').text("Unfollow");}); 255 256 $('#unfollow-button-featured-authors-20').mouseleave( 257 function() { 258 $('#unfollow-button-featured-authors-20').html("Following✓"); 259 }); 260 261 $('#unfollow-button-featured-authors-21').mouseover( 262 function() { 263 $('#unfollow-button-featured-authors-21').text("Unfollow");}); 264 265 $('#unfollow-button-featured-authors-21').mouseleave( 266 function() { 267 $('#unfollow-button-featured-authors-21').html("Following✓"); 268 }); 269 270 $('#unfollow-button-featured-authors-22').mouseover( 271 function() { 272 $('#unfollow-button-featured-authors-22').text("Unfollow");}); 273 274 $('#unfollow-button-featured-authors-22').mouseleave( 275 function() { 276 $('#unfollow-button-featured-authors-22').html("Following✓"); 277 }); 278 279 $('#unfollow-button-featured-authors-23').mouseover( 280 function() { 281 $('#unfollow-button-featured-authors-23').text("Unfollow");}); 282 283 $('#unfollow-button-featured-authors-23').mouseleave( 284 function() { 285 $('#unfollow-button-featured-authors-23').html("Following✓"); 286 }); 287 288 $('#unfollow-button-featured-authors-24').mouseover( 289 function() { 290 $('#unfollow-button-featured-authors-24').text("Unfollow");}); 291 292 $('#unfollow-button-featured-authors-24').mouseleave( 293 function() { 294 $('#unfollow-button-featured-authors-24').html("Following✓"); 295 }); 296 297 $('#unfollow-button-featured-authors-25').mouseover( 298 function() { 299 $('#unfollow-button-featured-authors-25').text("Unfollow");}); 300 301 $('#unfollow-button-featured-authors-25').mouseleave( 302 function() { 303 $('#unfollow-button-featured-authors-25').html("Following✓"); 304 }); 305 306 $('#unfollow-button-featured-authors-26').mouseover( 307 function() { 308 $('#unfollow-button-featured-authors-26').text("Unfollow");}); 309 310 $('#unfollow-button-featured-authors-26').mouseleave( 311 function() { 312 $('#unfollow-button-featured-authors-26').html("Following✓"); 313 }); 314 315 $('#unfollow-button-featured-authors-27').mouseover( 316 function() { 317 $('#unfollow-button-featured-authors-27').text("Unfollow");}); 318 319 $('#unfollow-button-featured-authors-27').mouseleave( 320 function() { 321 $('#unfollow-button-featured-authors-27').html("Following✓"); 322 }); 323
324 $('#unfollow-button-featured-authors-28').mouseover( 325 function() { 326 $('#unfollow-button-featured-authors-28').text("Unfollow");}); 327 328 $('#unfollow-button-featured-authors-28').mouseleave( 329 function() { 330 $('#unfollow-button-featured-authors-28').html("Following✓"); 331 }); 332 333 $('#unfollow-button-featured-authors-29').mouseover( 334 function() { 335 $('#unfollow-button-featured-authors-29').text("Unfollow");}); 336 337 $('#unfollow-button-featured-authors-29').mouseleave( 338 function() { 339 $('#unfollow-button-featured-authors-29').html("Following✓"); 340 }); 341 342 $('#unfollow-button-featured-authors-30').mouseover( 343 function() { 344 $('#unfollow-button-featured-authors-30').text("Unfollow");}); 345 346 $('#unfollow-button-featured-authors-30').mouseleave( 347 function() { 348 $('#unfollow-button-featured-authors-30').html("Following✓"); 349 }); 350 351 $('#unfollow-button-featured-authors-31').mouseover( 352 function() { 353 $('#unfollow-button-featured-authors-31').text("Unfollow");}); 354 355 $('#unfollow-button-featured-authors-31').mouseleave( 356 function() { 357 $('#unfollow-button-featured-authors-31').html("Following✓"); 358 }); 359 360 $('#unfollow-button-featured-authors-32').mouseover( 361 function() { 362 $('#unfollow-button-featured-authors-32').text("Unfollow");}); 363 364 $('#unfollow-button-featured-authors-32').mouseleave( 365 function() { 366 $('#unfollow-button-featured-authors-32').html("Following✓"); 367 }); 368 369 $('#unfollow-button-featured-authors-33').mouseover( 370 function() { 371 $('#unfollow-button-featured-authors-33').text("Unfollow");}); 372 373 $('#unfollow-button-featured-authors-33').mouseleave( 374 function() { 375 $('#unfollow-button-featured-authors-33').html("Following✓"); 376 }); 377 378 $('#unfollow-button-featured-authors-34').mouseover( 379 function() { 380 $('#unfollow-button-featured-authors-34').text("Unfollow");}); 381 382 $('#unfollow-button-featured-authors-34').mouseleave( 383 function() { 384 $('#unfollow-button-featured-authors-34').html("Following✓"); 385 }); 386 387 $('#unfollow-button-featured-authors-35').mouseover( 388 function() { 389 $('#unfollow-button-featured-authors-35').text("Unfollow");}); 390 391 $('#unfollow-button-featured-authors-35').mouseleave( 392 function() { 393 $('#unfollow-button-featured-authors-35').html("Following✓"); 394 }); 395 396 $('#unfollow-button-featured-authors-36').mouseover( 397 function() { 398 $('#unfollow-button-featured-authors-36').text("Unfollow");}); 399 400 $('#unfollow-button-featured-authors-36').mouseleave( 401 function() { 402 $('#unfollow-button-featured-authors-36').html("Following✓"); 403 }); 404 405 $('#unfollow-button-featured-authors-37').mouseover( 406 function() { 407 $('#unfollow-button-featured-authors-37').text("Unfollow");}); 408 409 $('#unfollow-button-featured-authors-37').mouseleave( 410 function() { 411 $('#unfollow-button-featured-authors-37').html("Following✓"); 412 }); 413 414 $('#unfollow-button-featured-authors-38').mouseover( 415 function() { 416 $('#unfollow-button-featured-authors-38').text("Unfollow");}); 417 418 $('#unfollow-button-featured-authors-38').mouseleave( 419 function() { 420 $('#unfollow-button-featured-authors-38').html("Following✓"); 421 }); 422 423 $('#unfollow-button-featured-authors-39').mouseover( 424 function() { 425 $('#unfollow-button-featured-authors-39').text("Unfollow");}); 426 427 $('#unfollow-button-featured-authors-39').mouseleave( 428 function() { 429 $('#unfollow-button-featured-authors-39').html("Following✓"); 430 }); 431 432 $('#unfollow-button-featured-authors-40').mouseover( 433 function() { 434 $('#unfollow-button-featured-authors-40').text("Unfollow");}); 435 436 $('#unfollow-button-featured-authors-40').mouseleave( 437 function() { 438 $('#unfollow-button-featured-authors-40').html("Following✓"); 439 }); 440 441 442 443 444 445 446 447 448 449 450 451 $("#follow-button").mouseover( 452 function() { 453 $("#follow-button").text("Unfollow");}); 454 455 $("#follow-button").mouseleave( 456 function() { 457 $("#follow-button").text("Follow"); 458 location.reload(true); 459 }); 460 461 462 // Code for unfollowing or following featured authors via AJAX 463 464 $("#unfollow-form-featured-authors-1").submit(function(event) { 465 466 event.preventDefault(); 467 468 var $form = $( this ), 469 url = $form.attr( 'action' ), 470 profile_id = $("#profile-id-1").val(); 471 user_id = $("#follower-id-1").val(); 472 473 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 474 475 posting.done(function( data ) { 476 $('#unfollow-button-featured-authors-1').html("Unfollowed"); 477 $('#unfollow-button-featured-authors-1').removeAttr('id'); 478 }); 479 });
480 481 $(document).on("submit", "#follow-form-featured-authors-1", function(event) { 482 483 event.preventDefault(); 484 485 var $form = $( this ), 486 url = $form.attr( 'action' ), 487 profile_id = $("#profile-id-1").val(); 488 user_id = $("#follower-id-1").val(); 489 490 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 491 492 posting.done(function( data ) { 493 $("#follow-button-featured-authors-1").html("Following✓"); 494 $('#follow-button-featured-authors-1').removeAttr('id'); 495 }); 496 }); 497 498 $("#unfollow-form-featured-authors-2").submit(function(event) { 499 500 event.preventDefault(); 501 502 var $form = $( this ), 503 url = $form.attr( 'action' ), 504 profile_id = $("#profile-id-2").val(); 505 user_id = $("#follower-id-2").val(); 506 507 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 508 509 posting.done(function( data ) { 510 $('#unfollow-button-featured-authors-2').html("Unfollowed"); 511 $('#unfollow-button-featured-authors-2').removeAttr('id'); 512 }); 513 }); 514 515 $(document).on("submit", "#follow-form-featured-authors-2", function(event) { 516 517 event.preventDefault(); 518 519 var $form = $( this ), 520 url = $form.attr( 'action' ), 521 profile_id = $("#profile-id-2").val(); 522 user_id = $("#follower-id-2").val(); 523 524 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 525 526 posting.done(function( data ) { 527 $("#follow-button-featured-authors-2").html("Following✓"); 528 $('#follow-button-featured-authors-2').removeAttr('id'); 529 }); 530 }); 531 532 $("#unfollow-form-featured-authors-3").submit(function(event) { 533 534 event.preventDefault(); 535 536 var $form = $( this ), 537 url = $form.attr( 'action' ), 538 profile_id = $("#profile-id-3").val(); 539 user_id = $("#follower-id-3").val(); 540 541 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 542 543 posting.done(function( data ) { 544 $('#unfollow-button-featured-authors-3').html("Unfollowed"); 545 $('#unfollow-button-featured-authors-3').removeAttr('id'); 546 }); 547 }); 548 549 $(document).on("submit", "#follow-form-featured-authors-3", function(event) { 550 551 event.preventDefault(); 552 553 var $form = $( this ), 554 url = $form.attr( 'action' ), 555 profile_id = $("#profile-id-3").val(); 556 user_id = $("#follower-id-3").val(); 557 558 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 559 560 posting.done(function( data ) { 561 $("#follow-button-featured-authors-3").html("Following✓"); 562 $('#follow-button-featured-authors-3').removeAttr('id'); 563 }); 564 }); 565 566 $("#unfollow-form-featured-authors-4").submit(function(event) { 567 568 event.preventDefault(); 569 570 var $form = $( this ), 571 url = $form.attr( 'action' ), 572 profile_id = $("#profile-id-4").val(); 573 user_id = $("#follower-id-4").val(); 574 575 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 576 577 posting.done(function( data ) { 578 $('#unfollow-button-featured-authors-4').html("Unfollowed"); 579 $('#unfollow-button-featured-authors-4').removeAttr('id'); 580 }); 581 }); 582 583 $(document).on("submit", "#follow-form-featured-authors-4", function(event) { 584 585 event.preventDefault(); 586 587 var $form = $( this ), 588 url = $form.attr( 'action' ), 589 profile_id = $("#profile-id-4").val(); 590 user_id = $("#follower-id-4").val(); 591 592 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 593 594 posting.done(function( data ) { 595 $("#follow-button-featured-authors-4").html("Following✓"); 596 $('#follow-button-featured-authors-4').removeAttr('id'); 597 }); 598 }); 599 600 $("#unfollow-form-featured-authors-5").submit(function(event) { 601 602 event.preventDefault(); 603 604 var $form = $( this ), 605 url = $form.attr( 'action' ), 606 profile_id = $("#profile-id-5").val(); 607 user_id = $("#follower-id-5").val(); 608 609 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 610 611 posting.done(function( data ) { 612 $('#unfollow-button-featured-authors-5').html("Unfollowed"); 613 $('#unfollow-button-featured-authors-5').removeAttr('id'); 614 }); 615 });
616 617 $(document).on("submit", "#follow-form-featured-authors-5", function(event) { 618 619 event.preventDefault(); 620 621 var $form = $( this ), 622 url = $form.attr( 'action' ), 623 profile_id = $("#profile-id-5").val(); 624 user_id = $("#follower-id-5").val(); 625 626 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 627 628 posting.done(function( data ) { 629 $("#follow-button-featured-authors-5").html("Following✓"); 630 $('#follow-button-featured-authors-5').removeAttr('id'); 631 }); 632 }); 633 634 635 636 $("#unfollow-form-featured-authors-6").submit(function(event) { 637 638 event.preventDefault(); 639 640 var $form = $( this ), 641 url = $form.attr( 'action' ), 642 profile_id = $("#profile-id-6").val(); 643 user_id = $("#follower-id-6").val(); 644 645 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 646 647 posting.done(function( data ) { 648 $('#unfollow-button-featured-authors-6').html("Unfollowed"); 649 $('#unfollow-button-featured-authors-6').removeAttr('id'); 650 }); 651 }); 652 653 $(document).on("submit", "#follow-form-featured-authors-6", function(event) { 654 655 event.preventDefault(); 656 657 var $form = $( this ), 658 url = $form.attr( 'action' ), 659 profile_id = $("#profile-id-6").val(); 660 user_id = $("#follower-id-6").val(); 661 662 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 663 664 posting.done(function( data ) { 665 $("#follow-button-featured-authors-6").html("Following✓"); 666 $('#follow-button-featured-authors-6').removeAttr('id'); 667 }); 668 }); 669 670 671 $("#unfollow-form-featured-authors-7").submit(function(event) { 672 673 event.preventDefault(); 674 675 var $form = $( this ), 676 url = $form.attr( 'action' ), 677 profile_id = $("#profile-id-7").val(); 678 user_id = $("#follower-id-7").val(); 679 680 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 681 682 posting.done(function( data ) { 683 $('#unfollow-button-featured-authors-7').html("Unfollowed"); 684 $('#unfollow-button-featured-authors-7').removeAttr('id'); 685 }); 686 }); 687 688 $(document).on("submit", "#follow-form-featured-authors-7", function(event) { 689 690 event.preventDefault(); 691 692 var $form = $( this ), 693 url = $form.attr( 'action' ), 694 profile_id = $("#profile-id-7").val(); 695 user_id = $("#follower-id-7").val(); 696 697 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 698 699 posting.done(function( data ) { 700 $("#follow-button-featured-authors-7").html("Following✓"); 701 $('#follow-button-featured-authors-7').removeAttr('id'); 702 }); 703 }); 704 705 $("#unfollow-form-featured-authors-8").submit(function(event) { 706 707 event.preventDefault(); 708 709 var $form = $( this ), 710 url = $form.attr( 'action' ), 711 profile_id = $("#profile-id-8").val(); 712 user_id = $("#follower-id-8").val(); 713 714 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 715 716 posting.done(function( data ) { 717 $('#unfollow-button-featured-authors-8').html("Unfollowed"); 718 $('#unfollow-button-featured-authors-8').removeAttr('id'); 719 }); 720 }); 721 722 $(document).on("submit", "#follow-form-featured-authors-8", function(event) { 723 724 event.preventDefault(); 725 726 var $form = $( this ), 727 url = $form.attr( 'action' ), 728 profile_id = $("#profile-id-8").val(); 729 user_id = $("#follower-id-8").val(); 730 731 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 732 733 posting.done(function( data ) { 734 $("#follow-button-featured-authors-8").html("Following✓"); 735 $('#follow-button-featured-authors-8').removeAttr('id'); 736 }); 737 }); 738 739 $("#unfollow-form-featured-authors-9").submit(function(event) { 740 741 event.preventDefault(); 742 743 var $form = $( this ), 744 url = $form.attr( 'action' ), 745 profile_id = $("#profile-id-9").val(); 746 user_id = $("#follower-id-9").val(); 747 748 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 749 750 posting.done(function( data ) { 751 $('#unfollow-button-featured-authors-9').html("Unfollowed"); 752 $('#unfollow-button-featured-authors-9').removeAttr('id'); 753 }); 754 });
755 756 $(document).on("submit", "#follow-form-featured-authors-9", function(event) { 757 758 event.preventDefault(); 759 760 var $form = $( this ), 761 url = $form.attr( 'action' ), 762 profile_id = $("#profile-id-9").val(); 763 user_id = $("#follower-id-9").val(); 764 765 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 766 767 posting.done(function( data ) { 768 $("#follow-button-featured-authors-9").html("Following✓"); 769 $('#follow-button-featured-authors-9').removeAttr('id'); 770 }); 771 }); 772 773 $("#unfollow-form-featured-authors-10").submit(function(event) { 774 775 event.preventDefault(); 776 777 var $form = $( this ), 778 url = $form.attr( 'action' ), 779 profile_id = $("#profile-id-10").val(); 780 user_id = $("#follower-id-10").val(); 781 782 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 783 784 posting.done(function( data ) { 785 $('#unfollow-button-featured-authors-10').html("Unfollowed"); 786 $('#unfollow-button-featured-authors-10').removeAttr('id'); 787 }); 788 }); 789 790 $(document).on("submit", "#follow-form-featured-authors-10", function(event) { 791 792 event.preventDefault(); 793 794 var $form = $( this ), 795 url = $form.attr( 'action' ), 796 profile_id = $("#profile-id-10").val(); 797 user_id = $("#follower-id-10").val(); 798 799 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 800 801 posting.done(function( data ) { 802 $("#follow-button-featured-authors-10").html("Following✓"); 803 $('#follow-button-featured-authors-10').removeAttr('id'); 804 }); 805 }); 806 807 $("#unfollow-form-featured-authors-11").submit(function(event) { 808 809 event.preventDefault(); 810 811 var $form = $( this ), 812 url = $form.attr( 'action' ), 813 profile_id = $("#profile-id-11").val(); 814 user_id = $("#follower-id-11").val(); 815 816 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 817 818 posting.done(function( data ) { 819 $('#unfollow-button-featured-authors-11').html("Unfollowed"); 820 $('#unfollow-button-featured-authors-11').removeAttr('id'); 821 }); 822 }); 823 824 $(document).on("submit", "#follow-form-featured-authors-11", function(event) { 825 826 event.preventDefault(); 827 828 var $form = $( this ), 829 url = $form.attr( 'action' ), 830 profile_id = $("#profile-id-11").val(); 831 user_id = $("#follower-id-11").val(); 832 833 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 834 835 posting.done(function( data ) { 836 $("#follow-button-featured-authors-11").html("Following✓"); 837 $('#follow-button-featured-authors-11').removeAttr('id'); 838 }); 839 }); 840 841 $("#unfollow-form-featured-authors-12").submit(function(event) { 842 843 event.preventDefault(); 844 845 var $form = $( this ), 846 url = $form.attr( 'action' ), 847 profile_id = $("#profile-id-12").val(); 848 user_id = $("#follower-id-12").val(); 849 850 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 851 852 posting.done(function( data ) { 853 $('#unfollow-button-featured-authors-12').html("Unfollowed"); 854 $('#unfollow-button-featured-authors-12').removeAttr('id'); 855 }); 856 }); 857 858 $(document).on("submit", "#follow-form-featured-authors-12", function(event) { 859 860 event.preventDefault(); 861 862 var $form = $( this ), 863 url = $form.attr( 'action' ), 864 profile_id = $("#profile-id-12").val(); 865 user_id = $("#follower-id-12").val(); 866 867 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 868 869 posting.done(function( data ) { 870 $("#follow-button-featured-authors-12").html("Following✓"); 871 $('#follow-button-featured-authors-12').removeAttr('id'); 872 }); 873 }); 874 875 $("#unfollow-form-featured-authors-13").submit(function(event) { 876 877 event.preventDefault(); 878 879 var $form = $( this ), 880 url = $form.attr( 'action' ), 881 profile_id = $("#profile-id-13").val(); 882 user_id = $("#follower-id-13").val(); 883 884 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 885 886 posting.done(function( data ) { 887 $('#unfollow-button-featured-authors-13').html("Unfollowed"); 888 $('#unfollow-button-featured-authors-13').removeAttr('id'); 889 }); 890 });
891 892 $(document).on("submit", "#follow-form-featured-authors-13", function(event) { 893 894 event.preventDefault(); 895 896 var $form = $( this ), 897 url = $form.attr( 'action' ), 898 profile_id = $("#profile-id-13").val(); 899 user_id = $("#follower-id-13").val(); 900 901 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 902 903 posting.done(function( data ) { 904 $("#follow-button-featured-authors-13").html("Following✓"); 905 $('#follow-button-featured-authors-13').removeAttr('id'); 906 }); 907 }); 908 909 910 911 $("#unfollow-form-featured-authors-14").submit(function(event) { 912 913 event.preventDefault(); 914 915 var $form = $( this ), 916 url = $form.attr( 'action' ), 917 profile_id = $("#profile-id-14").val(); 918 user_id = $("#follower-id-14").val(); 919 920 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 921 922 posting.done(function( data ) { 923 $('#unfollow-button-featured-authors-14').html("Unfollowed"); 924 $('#unfollow-button-featured-authors-14').removeAttr('id'); 925 }); 926 }); 927 928 $(document).on("submit", "#follow-form-featured-authors-14", function(event) { 929 930 event.preventDefault(); 931 932 var $form = $( this ), 933 url = $form.attr( 'action' ), 934 profile_id = $("#profile-id-14").val(); 935 user_id = $("#follower-id-14").val(); 936 937 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 938 939 posting.done(function( data ) { 940 $("#follow-button-featured-authors-14").html("Following✓"); 941 $('#follow-button-featured-authors-14').removeAttr('id'); 942 }); 943 }); 944 945 $("#unfollow-form-featured-authors-15").submit(function(event) { 946 947 event.preventDefault(); 948 949 var $form = $( this ), 950 url = $form.attr( 'action' ), 951 profile_id = $("#profile-id-15").val(); 952 user_id = $("#follower-id-15").val(); 953 954 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 955 956 posting.done(function( data ) { 957 $('#unfollow-button-featured-authors-15').html("Unfollowed"); 958 $('#unfollow-button-featured-authors-15').removeAttr('id'); 959 }); 960 }); 961 962 $(document).on("submit", "#follow-form-featured-authors-15", function(event) { 963 964 event.preventDefault(); 965 966 var $form = $( this ), 967 url = $form.attr( 'action' ), 968 profile_id = $("#profile-id-15").val(); 969 user_id = $("#follower-id-15").val(); 970 971 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 972 973 posting.done(function( data ) { 974 $("#follow-button-featured-authors-15").html("Following✓"); 975 $('#follow-button-featured-authors-15').removeAttr('id'); 976 }); 977 }); 978 979 $("#unfollow-form-featured-authors-16").submit(function(event) { 980 981 event.preventDefault(); 982 983 var $form = $( this ), 984 url = $form.attr( 'action' ), 985 profile_id = $("#profile-id-16").val(); 986 user_id = $("#follower-id-16").val(); 987 988 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 989 990 posting.done(function( data ) { 991 $('#unfollow-button-featured-authors-16').html("Unfollowed"); 992 $('#unfollow-button-featured-authors-16').removeAttr('id'); 993 }); 994 }); 995 996 $(document).on("submit", "#follow-form-featured-authors-16", function(event) { 997 998 event.preventDefault(); 999 1000 var $form = $( this ), 1001 url = $form.attr( 'action' ), 1002 profile_id = $("#profile-id-16").val(); 1003 user_id = $("#follower-id-16").val(); 1004 1005 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1006 1007 posting.done(function( data ) { 1008 $("#follow-button-featured-authors-16").html("Following✓"); 1009 $('#follow-button-featured-authors-16').removeAttr('id'); 1010 }); 1011 }); 1012 1013 $("#unfollow-form-featured-authors-17").submit(function(event) { 1014 1015 event.preventDefault(); 1016 1017 var $form = $( this ), 1018 url = $form.attr( 'action' ), 1019 profile_id = $("#profile-id-17").val(); 1020 user_id = $("#follower-id-17").val(); 1021 1022 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1023 1024 posting.done(function( data ) { 1025 $('#unfollow-button-featured-authors-17').html("Unfollowed"); 1026 $('#unfollow-button-featured-authors-17').removeAttr('id'); 1027 }); 1028 });
1029 1030 $(document).on("submit", "#follow-form-featured-authors-17", function(event) { 1031 1032 event.preventDefault(); 1033 1034 var $form = $( this ), 1035 url = $form.attr( 'action' ), 1036 profile_id = $("#profile-id-17").val(); 1037 user_id = $("#follower-id-17").val(); 1038 1039 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1040 1041 posting.done(function( data ) { 1042 $("#follow-button-featured-authors-17").html("Following✓"); 1043 $('#follow-button-featured-authors-17').removeAttr('id'); 1044 }); 1045 }); 1046 1047 $("#unfollow-form-featured-authors-18").submit(function(event) { 1048 1049 event.preventDefault(); 1050 1051 var $form = $( this ), 1052 url = $form.attr( 'action' ), 1053 profile_id = $("#profile-id-18").val(); 1054 user_id = $("#follower-id-18").val(); 1055 1056 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1057 1058 posting.done(function( data ) { 1059 $('#unfollow-button-featured-authors-18').html("Unfollowed"); 1060 $('#unfollow-button-featured-authors-18').removeAttr('id'); 1061 }); 1062 }); 1063 1064 $(document).on("submit", "#follow-form-featured-authors-18", function(event) { 1065 1066 event.preventDefault(); 1067 1068 var $form = $( this ), 1069 url = $form.attr( 'action' ), 1070 profile_id = $("#profile-id-18").val(); 1071 user_id = $("#follower-id-18").val(); 1072 1073 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1074 1075 posting.done(function( data ) { 1076 $("#follow-button-featured-authors-18").html("Following✓"); 1077 $('#follow-button-featured-authors-18').removeAttr('id'); 1078 }); 1079 }); 1080 1081 $("#unfollow-form-featured-authors-19").submit(function(event) { 1082 1083 event.preventDefault(); 1084 1085 var $form = $( this ), 1086 url = $form.attr( 'action' ), 1087 profile_id = $("#profile-id-19").val(); 1088 user_id = $("#follower-id-19").val(); 1089 1090 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1091 1092 posting.done(function( data ) { 1093 $('#unfollow-button-featured-authors-19').html("Unfollowed"); 1094 $('#unfollow-button-featured-authors-19').removeAttr('id'); 1095 }); 1096 }); 1097 1098 $(document).on("submit", "#follow-form-featured-authors-19", function(event) { 1099 1100 event.preventDefault(); 1101 1102 var $form = $( this ), 1103 url = $form.attr( 'action' ), 1104 profile_id = $("#profile-id-19").val(); 1105 user_id = $("#follower-id-19").val(); 1106 1107 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1108 1109 posting.done(function( data ) { 1110 $("#follow-button-featured-authors-19").html("Following✓"); 1111 $('#follow-button-featured-authors-19').removeAttr('id'); 1112 }); 1113 }); 1114 1115 $("#unfollow-form-featured-authors-20").submit(function(event) { 1116 1117 event.preventDefault(); 1118 1119 var $form = $( this ), 1120 url = $form.attr( 'action' ), 1121 profile_id = $("#profile-id-20").val(); 1122 user_id = $("#follower-id-20").val(); 1123 1124 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1125 1126 posting.done(function( data ) { 1127 $('#unfollow-button-featured-authors-20').html("Unfollowed"); 1128 $('#unfollow-button-featured-authors-20').removeAttr('id'); 1129 }); 1130 }); 1131 1132 $(document).on("submit", "#follow-form-featured-authors-20", function(event) { 1133 1134 event.preventDefault(); 1135 1136 var $form = $( this ), 1137 url = $form.attr( 'action' ), 1138 profile_id = $("#profile-id-20").val(); 1139 user_id = $("#follower-id-20").val(); 1140 1141 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1142 1143 posting.done(function( data ) { 1144 $("#follow-button-featured-authors-20").html("Following✓"); 1145 $('#follow-button-featured-authors-20').removeAttr('id'); 1146 }); 1147 }); 1148 1149 $("#unfollow-form-featured-authors-21").submit(function(event) { 1150 1151 event.preventDefault(); 1152 1153 var $form = $( this ), 1154 url = $form.attr( 'action' ), 1155 profile_id = $("#profile-id-21").val(); 1156 user_id = $("#follower-id-21").val(); 1157 1158 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1159 1160 posting.done(function( data ) { 1161 $('#unfollow-button-featured-authors-21').html("Unfollowed"); 1162 $('#unfollow-button-featured-authors-21').removeAttr('id'); 1163 }); 1164 });
1165 1166 $(document).on("submit", "#follow-form-featured-authors-21", function(event) { 1167 1168 event.preventDefault(); 1169 1170 var $form = $( this ), 1171 url = $form.attr( 'action' ), 1172 profile_id = $("#profile-id-21").val(); 1173 user_id = $("#follower-id-21").val(); 1174 1175 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1176 1177 posting.done(function( data ) { 1178 $("#follow-button-featured-authors-21").html("Following✓"); 1179 $('#follow-button-featured-authors-21').removeAttr('id'); 1180 }); 1181 }); 1182 1183 $("#unfollow-form-featured-authors-22").submit(function(event) { 1184 1185 event.preventDefault(); 1186 1187 var $form = $( this ), 1188 url = $form.attr( 'action' ), 1189 profile_id = $("#profile-id-22").val(); 1190 user_id = $("#follower-id-22").val(); 1191 1192 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1193 1194 posting.done(function( data ) { 1195 $('#unfollow-button-featured-authors-22').html("Unfollowed"); 1196 $('#unfollow-button-featured-authors-22').removeAttr('id'); 1197 }); 1198 }); 1199 1200 $(document).on("submit", "#follow-form-featured-authors-22", function(event) { 1201 1202 event.preventDefault(); 1203 1204 var $form = $( this ), 1205 url = $form.attr( 'action' ), 1206 profile_id = $("#profile-id-22").val(); 1207 user_id = $("#follower-id-22").val(); 1208 1209 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1210 1211 posting.done(function( data ) { 1212 $("#follow-button-featured-authors-22").html("Following✓"); 1213 $('#follow-button-featured-authors-22').removeAttr('id'); 1214 }); 1215 }); 1216 1217 $("#unfollow-form-featured-authors-23").submit(function(event) { 1218 1219 event.preventDefault(); 1220 1221 var $form = $( this ), 1222 url = $form.attr( 'action' ), 1223 profile_id = $("#profile-id-23").val(); 1224 user_id = $("#follower-id-23").val(); 1225 1226 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1227 1228 posting.done(function( data ) { 1229 $('#unfollow-button-featured-authors-23').html("Unfollowed"); 1230 $('#unfollow-button-featured-authors-23').removeAttr('id'); 1231 }); 1232 }); 1233 1234 $(document).on("submit", "#follow-form-featured-authors-23", function(event) { 1235 1236 event.preventDefault(); 1237 1238 var $form = $( this ), 1239 url = $form.attr( 'action' ), 1240 profile_id = $("#profile-id-23").val(); 1241 user_id = $("#follower-id-23").val(); 1242 1243 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1244 1245 posting.done(function( data ) { 1246 $("#follow-button-featured-authors-23").html("Following✓"); 1247 $('#follow-button-featured-authors-23').removeAttr('id'); 1248 }); 1249 }); 1250 1251 $("#unfollow-form-featured-authors-24").submit(function(event) { 1252 1253 event.preventDefault(); 1254 1255 var $form = $( this ), 1256 url = $form.attr( 'action' ), 1257 profile_id = $("#profile-id-24").val(); 1258 user_id = $("#follower-id-24").val(); 1259 1260 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1261 1262 posting.done(function( data ) { 1263 $('#unfollow-button-featured-authors-24').html("Unfollowed"); 1264 $('#unfollow-button-featured-authors-24').removeAttr('id'); 1265 }); 1266 }); 1267 1268 $(document).on("submit", "#follow-form-featured-authors-24", function(event) { 1269 1270 event.preventDefault(); 1271 1272 var $form = $( this ), 1273 url = $form.attr( 'action' ), 1274 profile_id = $("#profile-id-24").val(); 1275 user_id = $("#follower-id-24").val(); 1276 1277 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1278 1279 posting.done(function( data ) { 1280 $("#follow-button-featured-authors-24").html("Following✓"); 1281 $('#follow-button-featured-authors-24').removeAttr('id'); 1282 }); 1283 }); 1284 1285 $("#unfollow-form-featured-authors-25").submit(function(event) { 1286 1287 event.preventDefault(); 1288 1289 var $form = $( this ), 1290 url = $form.attr( 'action' ), 1291 profile_id = $("#profile-id-25").val(); 1292 user_id = $("#follower-id-25").val(); 1293 1294 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1295 1296 posting.done(function( data ) { 1297 $('#unfollow-button-featured-authors-25').html("Unfollowed"); 1298 $('#unfollow-button-featured-authors-25').removeAttr('id'); 1299 }); 1300 });
1301 1302 $(document).on("submit", "#follow-form-featured-authors-25", function(event) { 1303 1304 event.preventDefault(); 1305 1306 var $form = $( this ), 1307 url = $form.attr( 'action' ), 1308 profile_id = $("#profile-id-25").val(); 1309 user_id = $("#follower-id-25").val(); 1310 1311 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1312 1313 posting.done(function( data ) { 1314 $("#follow-button-featured-authors-25").html("Following✓"); 1315 $('#follow-button-featured-authors-25').removeAttr('id'); 1316 }); 1317 }); 1318 1319 $("#unfollow-form-featured-authors-26").submit(function(event) { 1320 1321 event.preventDefault(); 1322 1323 var $form = $( this ), 1324 url = $form.attr( 'action' ), 1325 profile_id = $("#profile-id-26").val(); 1326 user_id = $("#follower-id-26").val(); 1327 1328 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1329 1330 posting.done(function( data ) { 1331 $('#unfollow-button-featured-authors-26').html("Unfollowed"); 1332 $('#unfollow-button-featured-authors-26').removeAttr('id'); 1333 }); 1334 }); 1335 1336 $(document).on("submit", "#follow-form-featured-authors-26", function(event) { 1337 1338 event.preventDefault(); 1339 1340 var $form = $( this ), 1341 url = $form.attr( 'action' ), 1342 profile_id = $("#profile-id-26").val(); 1343 user_id = $("#follower-id-26").val(); 1344 1345 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1346 1347 posting.done(function( data ) { 1348 $("#follow-button-featured-authors-26").html("Following✓"); 1349 $('#follow-button-featured-authors-26').removeAttr('id'); 1350 }); 1351 }); 1352 1353 $("#unfollow-form-featured-authors-27").submit(function(event) { 1354 1355 event.preventDefault(); 1356 1357 var $form = $( this ), 1358 url = $form.attr( 'action' ), 1359 profile_id = $("#profile-id-27").val(); 1360 user_id = $("#follower-id-27").val(); 1361 1362 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1363 1364 posting.done(function( data ) { 1365 $('#unfollow-button-featured-authors-27').html("Unfollowed"); 1366 $('#unfollow-button-featured-authors-27').removeAttr('id'); 1367 }); 1368 }); 1369 1370 $(document).on("submit", "#follow-form-featured-authors-27", function(event) { 1371 1372 event.preventDefault(); 1373 1374 var $form = $( this ), 1375 url = $form.attr( 'action' ), 1376 profile_id = $("#profile-id-27").val(); 1377 user_id = $("#follower-id-27").val(); 1378 1379 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1380 1381 posting.done(function( data ) { 1382 $("#follow-button-featured-authors-27").html("Following✓"); 1383 $('#follow-button-featured-authors-27').removeAttr('id'); 1384 }); 1385 }); 1386 1387 $("#unfollow-form-featured-authors-28").submit(function(event) { 1388 1389 event.preventDefault(); 1390 1391 var $form = $( this ), 1392 url = $form.attr( 'action' ), 1393 profile_id = $("#profile-id-28").val(); 1394 user_id = $("#follower-id-28").val(); 1395 1396 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1397 1398 posting.done(function( data ) { 1399 $('#unfollow-button-featured-authors-28').html("Unfollowed"); 1400 $('#unfollow-button-featured-authors-28').removeAttr('id'); 1401 }); 1402 }); 1403 1404 $(document).on("submit", "#follow-form-featured-authors-28", function(event) { 1405 1406 event.preventDefault(); 1407 1408 var $form = $( this ), 1409 url = $form.attr( 'action' ), 1410 profile_id = $("#profile-id-28").val(); 1411 user_id = $("#follower-id-28").val(); 1412 1413 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1414 1415 posting.done(function( data ) { 1416 $("#follow-button-featured-authors-28").html("Following✓"); 1417 $('#follow-button-featured-authors-28').removeAttr('id'); 1418 }); 1419 }); 1420 1421 $("#unfollow-form-featured-authors-29").submit(function(event) { 1422 1423 event.preventDefault(); 1424 1425 var $form = $( this ), 1426 url = $form.attr( 'action' ), 1427 profile_id = $("#profile-id-29").val(); 1428 user_id = $("#follower-id-29").val(); 1429 1430 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1431 1432 posting.done(function( data ) { 1433 $('#unfollow-button-featured-authors-29').html("Unfollowed"); 1434 $('#unfollow-button-featured-authors-29').removeAttr('id'); 1435 }); 1436 });
1437 1438 $(document).on("submit", "#follow-form-featured-authors-29", function(event) { 1439 1440 event.preventDefault(); 1441 1442 var $form = $( this ), 1443 url = $form.attr( 'action' ), 1444 profile_id = $("#profile-id-29").val(); 1445 user_id = $("#follower-id-29").val(); 1446 1447 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1448 1449 posting.done(function( data ) { 1450 $("#follow-button-featured-authors-29").html("Following✓"); 1451 $('#follow-button-featured-authors-29').removeAttr('id'); 1452 }); 1453 }); 1454 1455 $("#unfollow-form-featured-authors-30").submit(function(event) { 1456 1457 event.preventDefault(); 1458 1459 var $form = $( this ), 1460 url = $form.attr( 'action' ), 1461 profile_id = $("#profile-id-30").val(); 1462 user_id = $("#follower-id-30").val(); 1463 1464 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1465 1466 posting.done(function( data ) { 1467 $('#unfollow-button-featured-authors-30').html("Unfollowed"); 1468 $('#unfollow-button-featured-authors-30').removeAttr('id'); 1469 }); 1470 }); 1471 1472 $(document).on("submit", "#follow-form-featured-authors-30", function(event) { 1473 1474 event.preventDefault(); 1475 1476 var $form = $( this ), 1477 url = $form.attr( 'action' ), 1478 profile_id = $("#profile-id-30").val(); 1479 user_id = $("#follower-id-30").val(); 1480 1481 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1482 1483 posting.done(function( data ) { 1484 $("#follow-button-featured-authors-30").html("Following✓"); 1485 $('#follow-button-featured-authors-30').removeAttr('id'); 1486 }); 1487 }); 1488 1489 $("#unfollow-form-featured-authors-31").submit(function(event) { 1490 1491 event.preventDefault(); 1492 1493 var $form = $( this ), 1494 url = $form.attr( 'action' ), 1495 profile_id = $("#profile-id-31").val(); 1496 user_id = $("#follower-id-31").val(); 1497 1498 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1499 1500 posting.done(function( data ) { 1501 $('#unfollow-button-featured-authors-31').html("Unfollowed"); 1502 $('#unfollow-button-featured-authors-31').removeAttr('id'); 1503 }); 1504 }); 1505 1506 $(document).on("submit", "#follow-form-featured-authors-31", function(event) { 1507 1508 event.preventDefault(); 1509 1510 var $form = $( this ), 1511 url = $form.attr( 'action' ), 1512 profile_id = $("#profile-id-31").val(); 1513 user_id = $("#follower-id-31").val(); 1514 1515 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1516 1517 posting.done(function( data ) { 1518 $("#follow-button-featured-authors-31").html("Following✓"); 1519 $('#follow-button-featured-authors-31').removeAttr('id'); 1520 }); 1521 }); 1522 1523 $("#unfollow-form-featured-authors-32").submit(function(event) { 1524 1525 event.preventDefault(); 1526 1527 var $form = $( this ), 1528 url = $form.attr( 'action' ), 1529 profile_id = $("#profile-id-32").val(); 1530 user_id = $("#follower-id-32").val(); 1531 1532 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1533 1534 posting.done(function( data ) { 1535 $('#unfollow-button-featured-authors-32').html("Unfollowed"); 1536 $('#unfollow-button-featured-authors-32').removeAttr('id'); 1537 }); 1538 }); 1539 1540 $(document).on("submit", "#follow-form-featured-authors-32", function(event) { 1541 1542 event.preventDefault(); 1543 1544 var $form = $( this ), 1545 url = $form.attr( 'action' ), 1546 profile_id = $("#profile-id-32").val(); 1547 user_id = $("#follower-id-32").val(); 1548 1549 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1550 1551 posting.done(function( data ) { 1552 $("#follow-button-featured-authors-32").html("Following✓"); 1553 $('#follow-button-featured-authors-32').removeAttr('id'); 1554 }); 1555 }); 1556 1557 $("#unfollow-form-featured-authors-33").submit(function(event) { 1558 1559 event.preventDefault(); 1560 1561 var $form = $( this ), 1562 url = $form.attr( 'action' ), 1563 profile_id = $("#profile-id-33").val(); 1564 user_id = $("#follower-id-33").val(); 1565 1566 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1567 1568 posting.done(function( data ) { 1569 $('#unfollow-button-featured-authors-33').html("Unfollowed"); 1570 $('#unfollow-button-featured-authors-33').removeAttr('id'); 1571 }); 1572 });
1573 1574 $(document).on("submit", "#follow-form-featured-authors-33", function(event) { 1575 1576 event.preventDefault(); 1577 1578 var $form = $( this ), 1579 url = $form.attr( 'action' ), 1580 profile_id = $("#profile-id-33").val(); 1581 user_id = $("#follower-id-33").val(); 1582 1583 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1584 1585 posting.done(function( data ) { 1586 $("#follow-button-featured-authors-33").html("Following✓"); 1587 $('#follow-button-featured-authors-33').removeAttr('id'); 1588 }); 1589 }); 1590 1591 $("#unfollow-form-featured-authors-34").submit(function(event) { 1592 1593 event.preventDefault(); 1594 1595 var $form = $( this ), 1596 url = $form.attr( 'action' ), 1597 profile_id = $("#profile-id-34").val(); 1598 user_id = $("#follower-id-34").val(); 1599 1600 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1601 1602 posting.done(function( data ) { 1603 $('#unfollow-button-featured-authors-34').html("Unfollowed"); 1604 $('#unfollow-button-featured-authors-34').removeAttr('id'); 1605 }); 1606 }); 1607 1608 $(document).on("submit", "#follow-form-featured-authors-34", function(event) { 1609 1610 event.preventDefault(); 1611 1612 var $form = $( this ), 1613 url = $form.attr( 'action' ), 1614 profile_id = $("#profile-id-34").val(); 1615 user_id = $("#follower-id-34").val(); 1616 1617 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1618 1619 posting.done(function( data ) { 1620 $("#follow-button-featured-authors-34").html("Following✓"); 1621 $('#follow-button-featured-authors-34').removeAttr('id'); 1622 }); 1623 }); 1624 1625 $("#unfollow-form-featured-authors-35").submit(function(event) { 1626 1627 event.preventDefault(); 1628 1629 var $form = $( this ), 1630 url = $form.attr( 'action' ), 1631 profile_id = $("#profile-id-35").val(); 1632 user_id = $("#follower-id-35").val(); 1633 1634 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1635 1636 posting.done(function( data ) { 1637 $('#unfollow-button-featured-authors-35').html("Unfollowed"); 1638 $('#unfollow-button-featured-authors-35').removeAttr('id'); 1639 }); 1640 }); 1641 1642 $(document).on("submit", "#follow-form-featured-authors-35", function(event) { 1643 1644 event.preventDefault(); 1645 1646 var $form = $( this ), 1647 url = $form.attr( 'action' ), 1648 profile_id = $("#profile-id-35").val(); 1649 user_id = $("#follower-id-35").val(); 1650 1651 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1652 1653 posting.done(function( data ) { 1654 $("#follow-button-featured-authors-35").html("Following✓"); 1655 $('#follow-button-featured-authors-35').removeAttr('id'); 1656 }); 1657 }); 1658 1659 $("#unfollow-form-featured-authors-36").submit(function(event) { 1660 1661 event.preventDefault(); 1662 1663 var $form = $( this ), 1664 url = $form.attr( 'action' ), 1665 profile_id = $("#profile-id-36").val(); 1666 user_id = $("#follower-id-36").val(); 1667 1668 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1669 1670 posting.done(function( data ) { 1671 $('#unfollow-button-featured-authors-36').html("Unfollowed"); 1672 $('#unfollow-button-featured-authors-36').removeAttr('id'); 1673 }); 1674 }); 1675 1676 $(document).on("submit", "#follow-form-featured-authors-36", function(event) { 1677 1678 event.preventDefault(); 1679 1680 var $form = $( this ), 1681 url = $form.attr( 'action' ), 1682 profile_id = $("#profile-id-36").val(); 1683 user_id = $("#follower-id-36").val(); 1684 1685 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1686 1687 posting.done(function( data ) { 1688 $("#follow-button-featured-authors-36").html("Following✓"); 1689 $('#follow-button-featured-authors-36').removeAttr('id'); 1690 }); 1691 }); 1692 1693 $("#unfollow-form-featured-authors-37").submit(function(event) { 1694 1695 event.preventDefault(); 1696 1697 var $form = $( this ), 1698 url = $form.attr( 'action' ), 1699 profile_id = $("#profile-id-37").val(); 1700 user_id = $("#follower-id-37").val(); 1701 1702 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1703 1704 posting.done(function( data ) { 1705 $('#unfollow-button-featured-authors-37').html("Unfollowed"); 1706 $('#unfollow-button-featured-authors-37').removeAttr('id'); 1707 }); 1708 });
1709 1710 $(document).on("submit", "#follow-form-featured-authors-37", function(event) { 1711 1712 event.preventDefault(); 1713 1714 var $form = $( this ), 1715 url = $form.attr( 'action' ), 1716 profile_id = $("#profile-id-37").val(); 1717 user_id = $("#follower-id-37").val(); 1718 1719 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1720 1721 posting.done(function( data ) { 1722 $("#follow-button-featured-authors-37").html("Following✓"); 1723 $('#follow-button-featured-authors-37').removeAttr('id'); 1724 }); 1725 }); 1726 1727 $("#unfollow-form-featured-authors-38").submit(function(event) { 1728 1729 event.preventDefault(); 1730 1731 var $form = $( this ), 1732 url = $form.attr( 'action' ), 1733 profile_id = $("#profile-id-38").val(); 1734 user_id = $("#follower-id-38").val(); 1735 1736 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1737 1738 posting.done(function( data ) { 1739 $('#unfollow-button-featured-authors-38').html("Unfollowed"); 1740 $('#unfollow-button-featured-authors-38').removeAttr('id'); 1741 }); 1742 }); 1743 1744 $(document).on("submit", "#follow-form-featured-authors-38", function(event) { 1745 1746 event.preventDefault(); 1747 1748 var $form = $( this ), 1749 url = $form.attr( 'action' ), 1750 profile_id = $("#profile-id-38").val(); 1751 user_id = $("#follower-id-38").val(); 1752 1753 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1754 1755 posting.done(function( data ) { 1756 $("#follow-button-featured-authors-38").html("Following✓"); 1757 $('#follow-button-featured-authors-38').removeAttr('id'); 1758 }); 1759 }); 1760 1761 $("#unfollow-form-featured-authors-39").submit(function(event) { 1762 1763 event.preventDefault(); 1764 1765 var $form = $( this ), 1766 url = $form.attr( 'action' ), 1767 profile_id = $("#profile-id-39").val(); 1768 user_id = $("#follower-id-39").val(); 1769 1770 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1771 1772 posting.done(function( data ) { 1773 $('#unfollow-button-featured-authors-39').html("Unfollowed"); 1774 $('#unfollow-button-featured-authors-39').removeAttr('id'); 1775 }); 1776 }); 1777 1778 $(document).on("submit", "#follow-form-featured-authors-39", function(event) { 1779 1780 event.preventDefault(); 1781 1782 var $form = $( this ), 1783 url = $form.attr( 'action' ), 1784 profile_id = $("#profile-id-39").val(); 1785 user_id = $("#follower-id-39").val(); 1786 1787 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1788 1789 posting.done(function( data ) { 1790 $("#follow-button-featured-authors-39").html("Following✓"); 1791 $('#follow-button-featured-authors-39').removeAttr('id'); 1792 }); 1793 }); 1794 1795 $("#unfollow-form-featured-authors-40").submit(function(event) { 1796 1797 event.preventDefault(); 1798 1799 var $form = $( this ), 1800 url = $form.attr( 'action' ), 1801 profile_id = $("#profile-id-40").val(); 1802 user_id = $("#follower-id-40").val(); 1803 1804 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1805 1806 posting.done(function( data ) { 1807 $('#unfollow-button-featured-authors-40').html("Unfollowed"); 1808 $('#unfollow-button-featured-authors-40').removeAttr('id'); 1809 }); 1810 }); 1811 1812 $(document).on("submit", "#follow-form-featured-authors-40", function(event) { 1813 1814 event.preventDefault(); 1815 1816 var $form = $( this ), 1817 url = $form.attr( 'action' ), 1818 profile_id = $("#profile-id-40").val(); 1819 user_id = $("#follower-id-40").val(); 1820 1821 var posting = $.post( url, { profile_id: profile_id, user_id: user_id }); 1822 1823 posting.done(function( data ) { 1824 $("#follow-button-featured-authors-40").html("Following✓"); 1825 $('#follow-button-featured-authors-40').removeAttr('id'); 1826 }); 1827 }); 1828 1829 1830 1831 1832 1833 $("#subscribed-button").mouseover( 1834 function() { 1835 $("#subscribed-button").text("Unsubscribe");}); 1836 1837 $("#subscribed-button").mouseleave( 1838 function() { 1839 $("#subscribed-button").text("Subscribed"); 1840 location.reload(true); 1841 1842 });
1843 1844 $("#read-button").mouseover( 1845 function() { 1846 $("#read-button").text("Uncompleted");}); 1847 1848 $("#read-button").mouseleave( 1849 function() { 1850 $("#read-button").html("Completed✓"); }); 1851 1852 $("#wishlisted-button").mouseover( 1853 function() { 1854 $("#wishlisted-button").text("Remove");}); 1855 1856 $("#wishlisted-button").mouseleave( 1857 function() { 1858 $("#wishlisted-button").text("Wish Listed"); 1859 location.reload(true);}); 1860 1861 $("#favorited-button").mouseover( 1862 function() { 1863 $("#favorited-button").text("Unfavorite");}); 1864 1865 $("#favorited-button").mouseleave( 1866 function() { 1867 $("#favorited-button").text("Favorited"); 1868 location.reload(true);}); 1869 1870// $("#cancel-form").submit( 1871// function() { 1872// vconfirm = confirm("Are you sure you want to cancel your Channillo membership?"); 1873 1874 1875// if (vconfirm == false) { 1876// alert("false"); 1877// return false;} 1878 1879// }); 1880 1881 $("#downgrade-form-bronze").submit( 1882 function() { 1883 vconfirm = confirm("Are you sure you want to downgrade your Channillo membership?"); 1884 1885 if (vconfirm == false) { 1886 return false;} 1887 }); 1888 1889 $("#downgrade-form-gold").submit( 1890 function() { 1891 vconfirm = confirm("Are you sure you want to downgrade your Channillo membership?"); 1892 1893 if (vconfirm == false) { 1894 return false;} 1895 }); 1896 1897 $("#upgrade-form-gold").submit( 1898 function() { 1899 vconfirm = confirm("Are you sure you want to upgrade your Channillo membership?"); 1900 1901 if (vconfirm == false) { 1902 return false;} 1903 }); 1904 1905 $("#upgrade-form-platinum").submit( 1906 function() { 1907 vconfirm = confirm("Are you sure you want to upgrade your Channillo membership?"); 1908 1909 if (vconfirm == false) { 1910 return false;} 1911 }); 1912 1913 $("#-form").submit( 1914 function() { 1915 vconfirm = confirm("Are you sure you want to downgrade your Channillo membership?"); 1916 1917 if (vconfirm == false) { 1918 return false;} 1919 }); 1920 1921 $("#delete-chapter-form").submit( 1922 function() { 1923 vconfirm = confirm("Are you sure you want to delete this work?"); 1924 1925 1926 if (vconfirm == false) { 1927 return false;} 1928 }); 1929 1930 //Delete posts 1931 $(".delete-post-link").click( 1932 function() { 1933 $("#delete-post-form").submit(); 1934 }); 1935 // 1936 $(".delete-post-form").submit( 1937 function() { 1938 vconfirm = confirm("Are you sure you want to delete this post?"); 1939 1940 1941 if (vconfirm == false) { 1942 return false;} 1943 }); 1944 1945 //For Form Refreshes 1946 1947 $("input").each(function(){ 1948 $(this).blur(function() { 1949 if($(this).val() != '') { 1950 var cookie_val = $(this).val(); 1951 var cookie_name = $(this).attr("name"); 1952 document.cookie = cookie_name + "=" + cookie_val;} 1953 }); 1954 }); 1955 1956 $("textarea").each(function(){ 1957 $(this).blur(function() { 1958 if($(this).val() != '') { 1959 var cookie_val = $(this).val(); 1960 var cookie_name = $(this).attr("name"); 1961 document.cookie = cookie_name + "=" + cookie_val;} 1962 }); 1963 }); 1964 1965 //Discover Page 1966 1967 //Pop Up Description Boxes 1-8 1968 1969 $(".coverbox-pic-cont-v3-1").mouseover( 1970 function() { 1971 $(".pop-up-desc-1").show();}); 1972 1973 $(".coverbox-pic-cont-v3-1").mouseleave( 1974 function() { 1975 $(".pop-up-desc-1").hide();}); 1976 1977 $(".coverbox-pic-cont-v3-2").mouseover( 1978 function() { 1979 $(".pop-up-desc-2").show();}); 1980 1981 $(".coverbox-pic-cont-v3-2").mouseleave( 1982 function() { 1983 $(".pop-up-desc-2").hide();}); 1984 1985 $(".coverbox-pic-cont-v3-3").mouseover( 1986 function() { 1987 $(".pop-up-desc-3").show();}); 1988 1989 $(".coverbox-pic-cont-v3-3").mouseleave( 1990 function() { 1991 $(".pop-up-desc-3").hide();}); 1992 1993 $(".coverbox-pic-cont-v3-4").mouseover( 1994 function() { 1995 $(".pop-up-desc-4").show();}); 1996 1997 $(".coverbox-pic-cont-v3-4").mouseleave( 1998 function() { 1999 $(".pop-up-desc-4").hide();}); 2000 2001 $(".coverbox-pic-cont-v3-5").mouseover( 2002 function() { 2003 $(".pop-up-desc-5").show();}); 2004 2005 $(".coverbox-pic-cont-v3-5").mouseleave( 2006 function() { 2007 $(".pop-up-desc-5").hide();}); 2008 2009 $(".coverbox-pic-cont-v3-6").mouseover( 2010 function() { 2011 $(".pop-up-desc-6").show();}); 2012 2013 $(".coverbox-pic-cont-v3-6").mouseleave( 2014 function() { 2015 $(".pop-up-desc-6").hide();}); 2016 2017 $(".coverbox-pic-cont-v3-7").mouseover( 2018 function() { 2019 $(".pop-up-desc-7").show();}); 2020 2021 $(".coverbox-pic-cont-v3-7").mouseleave( 2022 function() { 2023 $(".pop-up-desc-7").hide();}); 2024 2025 $(".coverbox-pic-cont-v3-8").mouseover( 2026 function() { 2027 $(".pop-up-desc-8").show();}); 2028 2029 $(".coverbox-pic-cont-v3-8").mouseleave( 2030 function() { 2031 $(".pop-up-desc-8").hide();}); 2032 2033 $(".coverbox-pic-cont-v3-9").mouseover( 2034 function() { 2035 $(".pop-up-desc-9").show();}); 2036 2037 $(".coverbox-pic-cont-v3-9").mouseleave( 2038 function() { 2039 $(".pop-up-desc-9").hide();}); 2040 2041 $(".coverbox-pic-cont-v3-10").mouseover( 2042 function() { 2043 $(".pop-up-desc-10").show();}); 2044 2045 $(".coverbox-pic-cont-v3-10").mouseleave( 2046 function() { 2047 $(".pop-up-desc-10").hide();}); 2048 2049 $(".coverbox-pic-cont-v3-11").mouseover( 2050 function() { 2051 $(".pop-up-desc-11").show();}); 2052 2053 $(".coverbox-pic-cont-v3-11").mouseleave( 2054 function() { 2055 $(".pop-up-desc-11").hide();}); 2056 2057 $(".coverbox-pic-cont-v3-12").mouseover( 2058 function() { 2059 $(".pop-up-desc-12").show();}); 2060 2061 $(".coverbox-pic-cont-v3-12").mouseleave( 2062 function() { 2063 $(".pop-up-desc-12").hide();}); 2064 2065 $(".coverbox-pic-cont-v3-13").mouseover( 2066 function() { 2067 $(".pop-up-desc-13").show();}); 2068 2069 $(".coverbox-pic-cont-v3-13").mouseleave( 2070 function() { 2071 $(".pop-up-desc-13").hide();}); 2072
2073 $(".coverbox-pic-cont-v3-14").mouseover( 2074 function() { 2075 $(".pop-up-desc-14").show();}); 2076 2077 $(".coverbox-pic-cont-v3-14").mouseleave( 2078 function() { 2079 $(".pop-up-desc-14").hide();}); 2080 2081 $(".coverbox-pic-cont-v3-15").mouseover( 2082 function() { 2083 $(".pop-up-desc-15").show();}); 2084 2085 $(".coverbox-pic-cont-v3-15").mouseleave( 2086 function() { 2087 $(".pop-up-desc-15").hide();}); 2088 2089 $(".coverbox-pic-cont-v3-16").mouseover( 2090 function() { 2091 $(".pop-up-desc-16").show();}); 2092 2093 $(".coverbox-pic-cont-v3-16").mouseleave( 2094 function() { 2095 $(".pop-up-desc-16").hide();}); 2096 2097 $(".coverbox-pic-cont-v3-17").mouseover( 2098 function() { 2099 $(".pop-up-desc-17").show();}); 2100 2101 $(".coverbox-pic-cont-v3-17").mouseleave( 2102 function() { 2103 $(".pop-up-desc-17").hide();}); 2104 2105 $(".coverbox-pic-cont-v3-18").mouseover( 2106 function() { 2107 $(".pop-up-desc-18").show();}); 2108 2109 $(".coverbox-pic-cont-v3-18").mouseleave( 2110 function() { 2111 $(".pop-up-desc-18").hide();}); 2112 2113 $(".coverbox-pic-cont-v3-19").mouseover( 2114 function() { 2115 $(".pop-up-desc-19").show();}); 2116 2117 $(".coverbox-pic-cont-v3-19").mouseleave( 2118 function() { 2119 $(".pop-up-desc-19").hide();}); 2120 2121 $(".coverbox-pic-cont-v3-20").mouseover( 2122 function() { 2123 $(".pop-up-desc-20").show();}); 2124 2125 $(".coverbox-pic-cont-v3-20").mouseleave( 2126 function() { 2127 $(".pop-up-desc-20").hide();}); 2128 2129 $(".coverbox-pic-cont-v3-21").mouseover( 2130 function() { 2131 $(".pop-up-desc-21").show();}); 2132 2133 $(".coverbox-pic-cont-v3-21").mouseleave( 2134 function() { 2135 $(".pop-up-desc-21").hide();}); 2136 2137 $(".coverbox-pic-cont-v3-22").mouseover( 2138 function() { 2139 $(".pop-up-desc-22").show();}); 2140 2141 $(".coverbox-pic-cont-v3-22").mouseleave( 2142 function() { 2143 $(".pop-up-desc-22").hide();}); 2144 2145 $(".coverbox-pic-cont-v3-23").mouseover( 2146 function() { 2147 $(".pop-up-desc-23").show();}); 2148 2149 $(".coverbox-pic-cont-v3-23").mouseleave( 2150 function() { 2151 $(".pop-up-desc-23").hide();}); 2152 2153 $(".coverbox-pic-cont-v3-24").mouseover( 2154 function() { 2155 $(".pop-up-desc-24").show();}); 2156 2157 $(".coverbox-pic-cont-v3-24").mouseleave( 2158 function() { 2159 $(".pop-up-desc-24").hide();}); 2160 2161 $(".coverbox-pic-cont-v3-25").mouseover( 2162 function() { 2163 $(".pop-up-desc-25").show();}); 2164 2165 $(".coverbox-pic-cont-v3-25").mouseleave( 2166 function() { 2167 $(".pop-up-desc-25").hide();}); 2168 2169 $(".coverbox-pic-cont-v3-26").mouseover( 2170 function() { 2171 $(".pop-up-desc-26").show();}); 2172 2173 $(".coverbox-pic-cont-v3-26").mouseleave( 2174 function() { 2175 $(".pop-up-desc-26").hide();}); 2176 2177 $(".coverbox-pic-cont-v3-27").mouseover( 2178 function() { 2179 $(".pop-up-desc-27").show();}); 2180 2181 $(".coverbox-pic-cont-v3-27").mouseleave( 2182 function() { 2183 $(".pop-up-desc-27").hide();}); 2184 2185 $(".coverbox-pic-cont-v3-28").mouseover( 2186 function() { 2187 $(".pop-up-desc-28").show();}); 2188 2189 $(".coverbox-pic-cont-v3-28").mouseleave( 2190 function() { 2191 $(".pop-up-desc-28").hide();}); 2192 2193 $(".coverbox-pic-cont-v3-29").mouseover( 2194 function() { 2195 $(".pop-up-desc-29").show();}); 2196 2197 $(".coverbox-pic-cont-v3-29").mouseleave( 2198 function() { 2199 $(".pop-up-desc-29").hide();}); 2200 2201 $(".coverbox-pic-cont-v3-30").mouseover( 2202 function() { 2203 $(".pop-up-desc-30").show();}); 2204 2205 $(".coverbox-pic-cont-v3-30").mouseleave( 2206 function() { 2207 $(".pop-up-desc-30").hide();}); 2208 2209 $(".coverbox-pic-cont-v3-31").mouseover( 2210 function() { 2211 $(".pop-up-desc-31").show();}); 2212 2213 $(".coverbox-pic-cont-v3-31").mouseleave( 2214 function() { 2215 $(".pop-up-desc-31").hide();}); 2216 2217 $(".coverbox-pic-cont-v3-32").mouseover( 2218 function() { 2219 $(".pop-up-desc-32").show();}); 2220 2221 $(".coverbox-pic-cont-v3-32").mouseleave( 2222 function() { 2223 $(".pop-up-desc-32").hide();}); 2224 2225 $(".coverbox-pic-cont-v3-33").mouseover( 2226 function() { 2227 $(".pop-up-desc-33").show();}); 2228 2229 $(".coverbox-pic-cont-v3-33").mouseleave( 2230 function() { 2231 $(".pop-up-desc-33").hide();}); 2232 2233 $(".coverbox-pic-cont-v3-34").mouseover( 2234 function() { 2235 $(".pop-up-desc-34").show();}); 2236 2237 $(".coverbox-pic-cont-v3-34").mouseleave( 2238 function() { 2239 $(".pop-up-desc-34").hide();}); 2240 2241 $(".coverbox-pic-cont-v3-35").mouseover( 2242 function() { 2243 $(".pop-up-desc-35").show();}); 2244 2245 $(".coverbox-pic-cont-v3-35").mouseleave( 2246 function() { 2247 $(".pop-up-desc-35").hide();}); 2248 2249 $(".coverbox-pic-cont-v3-36").mouseover( 2250 function() { 2251 $(".pop-up-desc-36").show();}); 2252 2253 $(".coverbox-pic-cont-v3-36").mouseleave( 2254 function() { 2255 $(".pop-up-desc-36").hide();}); 2256 2257 $(".coverbox-pic-cont-v3-37").mouseover( 2258 function() { 2259 $(".pop-up-desc-37").show();}); 2260 2261 $(".coverbox-pic-cont-v3-37").mouseleave( 2262 function() { 2263 $(".pop-up-desc-37").hide();}); 2264
2265 $(".coverbox-pic-cont-v3-38").mouseover( 2266 function() { 2267 $(".pop-up-desc-38").show();}); 2268 2269 $(".coverbox-pic-cont-v3-38").mouseleave( 2270 function() { 2271 $(".pop-up-desc-38").hide();}); 2272 2273 $(".coverbox-pic-cont-v3-39").mouseover( 2274 function() { 2275 $(".pop-up-desc-39").show();}); 2276 2277 $(".coverbox-pic-cont-v3-39").mouseleave( 2278 function() { 2279 $(".pop-up-desc-39").hide();}); 2280 2281 $(".coverbox-pic-cont-v3-40").mouseover( 2282 function() { 2283 $(".pop-up-desc-40").show();}); 2284 2285 $(".coverbox-pic-cont-v3-40").mouseleave( 2286 function() { 2287 $(".pop-up-desc-40").hide();}); 2288 2289 2290 2291 2292 $(".type-selection-mob").click( 2293 function() { 2294 if($(".series-type-menu").css("display") == "none") { 2295 $(".series-type-menu").css("display", "block"); } 2296 else { 2297 $(".series-type-menu").css("display", "none");} 2298 2299 return false; 2300 }); 2301 2302 $(".category-selection-mob").click( 2303 function() { 2304 if($(".category-type-menu").css("display") == "none") { 2305 $(".category-type-menu").css("display", "block"); } 2306 else { 2307 $(".category-type-menu").css("display", "none");} 2308 2309 return false; 2310 }); 2311 2312 $(".arrow-icon-first-6").click( 2313 function() { 2314 $(".first-6").css("display", "none"); 2315 $(".second-6").css("display", "table"); 2316 2317 return false; 2318 }); 2319 2320 $(".arrow-icon-second-6").click( 2321 function() { 2322 $(".second-6").css("display", "none"); 2323 $(".third-6").css("display", "table"); 2324 2325 return false; 2326 }); 2327 2328 $(".arrow-icon-third-6").click( 2329 function() { 2330 $(".third-6").css("display", "none"); 2331 $(".fourth-6").css("display", "table"); 2332 $(".arrow-icon-fourth-6").css("display", "none"); 2333 2334 return false; 2335 }); 2336 2337 $(".left-arrow-icon-second-6").click( 2338 function() { 2339 $(".second-6").css("display", "none"); 2340 $(".first-6").css("display", "table"); 2341 2342 return false; 2343 }); 2344 2345 $(".left-arrow-icon-third-6").click( 2346 function() { 2347 $(".third-6").css("display", "none"); 2348 $(".second-6").css("display", "table"); 2349 2350 return false; 2351 }); 2352 2353 $(".left-arrow-icon-fourth-6").click( 2354 function() { 2355 $(".fourth-6").css("display", "none"); 2356 $(".third-6").css("display", "table"); 2357 2358 return false; 2359 }); 2360 2361 $(".arrow-icon-first-8").click( 2362 function() { 2363 $(".first-8").css("display", "none"); 2364 $(".second-8").css("display", "table"); 2365 2366 return false; 2367 }); 2368 2369 $(".arrow-icon-second-8").click( 2370 function() { 2371 $(".second-8").css("display", "none"); 2372 $(".third-8").css("display", "table"); 2373 2374 return false; 2375 }); 2376 2377 $(".arrow-icon-third-8").click( 2378 function() { 2379 $(".third-8").css("display", "none"); 2380 $(".fourth-8").css("display", "table"); 2381 2382 return false; 2383 }); 2384 2385 $(".arrow-icon-fourth-8").click( 2386 function() { 2387 $(".fourth-8").css("display", "none"); 2388 $(".fifth-8").css("display", "table"); 2389 2390 return false; 2391 }); 2392 2393 $(".left-arrow-icon-second-8").click( 2394 function() { 2395 $(".second-8").css("display", "none"); 2396 $(".first-8").css("display", "table"); 2397 2398 return false; 2399 }); 2400 2401 $(".left-arrow-icon-third-8").click( 2402 function() { 2403 $(".third-8").css("display", "none"); 2404 $(".second-8").css("display", "table"); 2405 2406 return false; 2407 }); 2408 2409 $(".left-arrow-icon-fourth-8").click( 2410 function() { 2411 $(".fourth-8").css("display", "none"); 2412 $(".third-8").css("display", "table"); 2413 2414 return false; 2415 }); 2416 2417 $(".left-arrow-icon-fifth-8").click( 2418 function() { 2419 $(".fifth-8").css("display", "none"); 2420 $(".fourth-8").css("display", "table"); 2421 2422 return false; 2423 }); 2424 2425 $(".arrow-icon-first-10-mp").click( 2426 function() { 2427 $(".first-10-mp").css("display", "none"); 2428 $(".second-10-mp").css("display", "table"); 2429 2430 return false; 2431 }); 2432 2433 $(".arrow-icon-second-10-mp").click( 2434 function() { 2435 $(".second-10-mp").css("display", "none"); 2436 $(".third-10-mp").css("display", "table"); 2437 $(".arrow-icon-third-10-mp").css("display", "none"); 2438 2439 return false; 2440 });
2441 2442 2443 $(".left-arrow-icon-second-10-mp").click( 2444 function() { 2445 $(".second-10-mp").css("display", "none"); 2446 $(".first-10-mp").css("display", "table"); 2447 2448 return false; 2449 }); 2450 2451 $(".left-arrow-icon-third-10-mp").click( 2452 function() { 2453 $(".third-10-mp").css("display", "none"); 2454 $(".second-10-mp").css("display", "table"); 2455 2456 return false; 2457 }); 2458 2459 $(".arrow-icon-first-10-new").click( 2460 function() { 2461 $(".first-10-new").css("display", "none"); 2462 $(".second-10-new").css("display", "table"); 2463 return false; 2464 }); 2465 2466 $(".arrow-icon-second-10-new").click( 2467 function() { 2468 $(".second-10-new").css("display", "none"); 2469 $(".third-10-new").css("display", "table"); 2470 $(".arrow-icon-third-10-new").css("display", "none"); 2471 2472 return false; 2473 }); 2474 2475 $(".left-arrow-icon-second-10-new").click( 2476 function() { 2477 $(".second-10-new").css("display", "none"); 2478 $(".first-10-new").css("display", "table"); 2479 2480 return false; 2481 }); 2482 2483 $(".left-arrow-icon-third-10-new").click( 2484 function() { 2485 $(".third-10-new").css("display", "none"); 2486 $(".second-10-new").css("display", "table"); 2487 2488 return false; 2489 }); 2490 2491 2492$('p').each(function() { 2493 var $this = $(this); 2494 if($this.html().replace(/\s| /g, '').length == 0) 2495 $this.remove(); 2496 2497 }); 2498 2499//reply message 2500$(".reply-message").click( 2501 function() { 2502 if($(".reply-message-cont").css("display") == "none") { 2503 $(".reply-message-cont").css("display", "block"); } 2504 else { 2505 $(".reply-message-cont").css("display", "none");} 2506 2507 return false; 2508 }); 2509 2510//discussion.php 2511$(".reply-link-1").click( 2512 function() { 2513 if($(".reply-form-1").css("display") == "none") { 2514 $(".reply-form-1").css("display", "block"); } 2515 else { 2516 $(".reply-form-1").css("display", "none");} 2517 2518 return false; 2519 }); 2520 2521$(".reply-link-2").click( 2522 function() { 2523 if($(".reply-form-2").css("display") == "none") { 2524 $(".reply-form-2").css("display", "block"); } 2525 else { 2526 $(".reply-form-2").css("display", "none");} 2527 2528 return false; 2529 }); 2530 2531$(".reply-link-3").click( 2532 function() { 2533 if($(".reply-form-3").css("display") == "none") { 2534 $(".reply-form-3").css("display", "block"); } 2535 else { 2536 $(".reply-form-3").css("display", "none");} 2537 2538 return false; 2539 }); 2540 2541$(".reply-link-4").click( 2542 function() { 2543 if($(".reply-form-4").css("display") == "none") { 2544 $(".reply-form-4").css("display", "block"); } 2545 else { 2546 $(".reply-form-4").css("display", "none");} 2547 2548 return false; 2549 }); 2550 2551$(".reply-link-5").click( 2552 function() { 2553 if($(".reply-form-5").css("display") == "none") { 2554 $(".reply-form-5").css("display", "block"); } 2555 else { 2556 $(".reply-form-5").css("display", "none");} 2557 2558 return false; 2559 }); 2560 2561$(".reply-link-6").click( 2562 function() { 2563 if($(".reply-form-6").css("display") == "none") { 2564 $(".reply-form-6").css("display", "block"); } 2565 else { 2566 $(".reply-form-6").css("display", "none");} 2567 2568 return false; 2569 }); 2570 2571$(".reply-link-7").click( 2572 function() { 2573 if($(".reply-form-7").css("display") == "none") { 2574 $(".reply-form-7").css("display", "block"); } 2575 else { 2576 $(".reply-form-7").css("display", "none");} 2577 2578 return false; 2579 }); 2580 2581$(".reply-link-8").click( 2582 function() { 2583 if($(".reply-form-8").css("display") == "none") { 2584 $(".reply-form-8").css("display", "block"); } 2585 else { 2586 $(".reply-form-8").css("display", "none");} 2587 2588 return false; 2589 }); 2590 2591$(".reply-link-9").click( 2592 function() { 2593 if($(".reply-form-9").css("display") == "none") { 2594 $(".reply-form-9").css("display", "block"); } 2595 else { 2596 $(".reply-form-9").css("display", "none");} 2597 2598 return false; 2599 }); 2600 2601$(".reply-link-10").click( 2602 function() { 2603 if($(".reply-form-10").css("display") == "none") { 2604 $(".reply-form-10").css("display", "block"); } 2605 else { 2606 $(".reply-form-10").css("display", "none");} 2607 2608 return false; 2609 });
2610 2611//Code for 100 Chapter Checks. Obviously improve when you figure out how 2612 2613$(".check-1").click( 2614 function() { 2615 $(".chapter-read-form-1").submit(); 2616 }); 2617 2618$(".check-2").click( 2619 function() { 2620 $(".chapter-read-form-2").submit(); 2621 }); 2622 2623$(".check-3").click( 2624 function() { 2625 $(".chapter-read-form-3").submit(); 2626 }); 2627 2628$(".check-4").click( 2629 function() { 2630 $(".chapter-read-form-4").submit(); 2631 }); 2632 2633$(".check-5").click( 2634 function() { 2635 $(".chapter-read-form-5").submit(); 2636 }); 2637 2638$(".check-6").click( 2639 function() { 2640 $(".chapter-read-form-6").submit(); 2641 }); 2642 2643$(".check-7").click( 2644 function() { 2645 $(".chapter-read-form-7").submit(); 2646 }); 2647 2648$(".check-8").click( 2649 function() { 2650 $(".chapter-read-form-8").submit(); 2651 }); 2652 2653$(".check-9").click( 2654 function() { 2655 $(".chapter-read-form-9").submit(); 2656 }); 2657 2658$(".check-10").click( 2659 function() { 2660 $(".chapter-read-form-10").submit(); 2661 }); 2662 2663$(".check-11").click( 2664 function() { 2665 $(".chapter-read-form-11").submit(); 2666 }); 2667 2668$(".check-12").click( 2669 function() { 2670 $(".chapter-read-form-12").submit(); 2671 }); 2672 2673$(".check-13").click( 2674 function() { 2675 $(".chapter-read-form-13").submit(); 2676 }); 2677 2678$(".check-14").click( 2679 function() { 2680 $(".chapter-read-form-14").submit(); 2681 }); 2682 2683$(".check-15").click( 2684 function() { 2685 $(".chapter-read-form-15").submit(); 2686 }); 2687 2688$(".check-16").click( 2689 function() { 2690 $(".chapter-read-form-16").submit(); 2691 }); 2692 2693$(".check-17").click( 2694 function() { 2695 $(".chapter-read-form-17").submit(); 2696 }); 2697 2698$(".check-18").click( 2699 function() { 2700 $(".chapter-read-form-18").submit(); 2701 }); 2702 2703$(".check-19").click( 2704 function() { 2705 $(".chapter-read-form-19").submit(); 2706 }); 2707 2708$(".check-20").click( 2709 function() { 2710 $(".chapter-read-form-20").submit(); 2711 }); 2712 2713$(".check-21").click( 2714 function() { 2715 $(".chapter-read-form-21").submit(); 2716 }); 2717 2718$(".check-22").click( 2719 function() { 2720 $(".chapter-read-form-22").submit(); 2721 }); 2722 2723$(".check-23").click( 2724 function() { 2725 $(".chapter-read-form-23").submit(); 2726 }); 2727 2728$(".check-24").click( 2729 function() { 2730 $(".chapter-read-form-24").submit(); 2731 }); 2732 2733$(".check-25").click( 2734 function() { 2735 $(".chapter-read-form-25").submit(); 2736 }); 2737 2738$(".check-26").click( 2739 function() { 2740 $(".chapter-read-form-26").submit(); 2741 }); 2742 2743$(".check-27").click( 2744 function() { 2745 $(".chapter-read-form-27").submit(); 2746 }); 2747 2748$(".check-28").click( 2749 function() { 2750 $(".chapter-read-form-28").submit(); 2751 }); 2752 2753$(".check-29").click( 2754 function() { 2755 $(".chapter-read-form-29").submit(); 2756 }); 2757 2758$(".check-30").click( 2759 function() { 2760 $(".chapter-read-form-30").submit(); 2761 }); 2762 2763$(".check-31").click( 2764 function() { 2765 $(".chapter-read-form-31").submit(); 2766 }); 2767 2768$(".check-32").click( 2769 function() { 2770 $(".chapter-read-form-32").submit(); 2771 }); 2772 2773$(".check-33").click( 2774 function() { 2775 $(".chapter-read-form-33").submit(); 2776 }); 2777 2778$(".check-34").click( 2779 function() { 2780 $(".chapter-read-form-34").submit(); 2781 }); 2782 2783$(".check-35").click( 2784 function() { 2785 $(".chapter-read-form-35").submit(); 2786 }); 2787 2788$(".check-36").click( 2789 function() { 2790 $(".chapter-read-form-36").submit(); 2791 }); 2792 2793$(".check-37").click( 2794 function() { 2795 $(".chapter-read-form-37").submit(); 2796 }); 2797 2798$(".check-38").click( 2799 function() { 2800 $(".chapter-read-form-38").submit(); 2801 }); 2802 2803$(".check-39").click( 2804 function() { 2805 $(".chapter-read-form-39").submit(); 2806 }); 2807 2808$(".check-40").click( 2809 function() { 2810 $(".chapter-read-form-40").submit(); 2811 }); 2812 2813$(".check-41").click( 2814 function() { 2815 $(".chapter-read-form-41").submit(); 2816 }); 2817 2818$(".check-42").click( 2819 function() { 2820 $(".chapter-read-form-42").submit(); 2821 }); 2822 2823$(".check-43").click( 2824 function() { 2825 $(".chapter-read-form-43").submit(); 2826 }); 2827 2828$(".check-44").click( 2829 function() { 2830 $(".chapter-read-form-44").submit(); 2831 }); 2832 2833$(".check-45").click( 2834 function() { 2835 $(".chapter-read-form-45").submit(); 2836 }); 2837 2838$(".check-46").click( 2839 function() { 2840 $(".chapter-read-form-46").submit(); 2841 }); 2842 2843$(".check-47").click( 2844 function() { 2845 $(".chapter-read-form-47").submit(); 2846 }); 2847 2848$(".check-48").click( 2849 function() { 2850 $(".chapter-read-form-48").submit(); 2851 }); 2852 2853$(".check-49").click( 2854 function() { 2855 $(".chapter-read-form-49").submit(); 2856 }); 2857 2858$(".check-50").click( 2859 function() { 2860 $(".chapter-read-form-50").submit(); 2861 }); 2862 2863$(".check-51").click( 2864 function() { 2865 $(".chapter-read-form-51").submit(); 2866 }); 2867 2868$(".check-52").click( 2869 function() { 2870 $(".chapter-read-form-52").submit(); 2871 }); 2872 2873$(".check-53").click( 2874 function() { 2875 $(".chapter-read-form-53").submit(); 2876 }); 2877 2878$(".check-54").click( 2879 function() { 2880 $(".chapter-read-form-54").submit(); 2881 }); 2882 2883$(".check-55").click( 2884 function() { 2885 $(".chapter-read-form-55").submit(); 2886 }); 2887 2888$(".check-56").click( 2889 function() { 2890 $(".chapter-read-form-56").submit(); 2891 }); 2892 2893$(".check-57").click( 2894 function() { 2895 $(".chapter-read-form-57").submit(); 2896 }); 2897 2898$(".check-58").click( 2899 function() { 2900 $(".chapter-read-form-58").submit(); 2901 }); 2902 2903$(".check-59").click( 2904 function() { 2905 $(".chapter-read-form-59").submit(); 2906 }); 2907 2908$(".check-60").click( 2909 function() { 2910 $(".chapter-read-form-60").submit(); 2911 }); 2912 2913$(".check-61").click( 2914 function() { 2915 $(".chapter-read-form-61").submit(); 2916 }); 2917 2918$(".check-62").click( 2919 function() { 2920 $(".chapter-read-form-62").submit(); 2921 }); 2922 2923$(".check-63").click( 2924 function() { 2925 $(".chapter-read-form-63").submit(); 2926 }); 2927 2928$(".check-64").click( 2929 function() { 2930 $(".chapter-read-form-64").submit(); 2931 }); 2932 2933$(".check-65").click( 2934 function() { 2935 $(".chapter-read-form-65").submit(); 2936 }); 2937 2938$(".check-66").click( 2939 function() { 2940 $(".chapter-read-form-66").submit(); 2941 }); 2942 2943$(".check-67").click( 2944 function() { 2945 $(".chapter-read-form-67").submit(); 2946 }); 2947 2948$(".check-68").click( 2949 function() { 2950 $(".chapter-read-form-68").submit(); 2951 }); 2952 2953$(".check-69").click( 2954 function() { 2955 $(".chapter-read-form-69").submit(); 2956 }); 2957 2958$(".check-70").click( 2959 function() { 2960 $(".chapter-read-form-70").submit(); 2961 }); 2962 2963$(".check-71").click( 2964 function() { 2965 $(".chapter-read-form-71").submit(); 2966 }); 2967 2968$(".check-72").click( 2969 function() { 2970 $(".chapter-read-form-72").submit(); 2971 }); 2972 2973$(".check-73").click( 2974 function() { 2975 $(".chapter-read-form-73").submit(); 2976 }); 2977 2978$(".check-74").click( 2979 function() { 2980 $(".chapter-read-form-74").submit(); 2981 }); 2982 2983$(".check-75").click( 2984 function() { 2985 $(".chapter-read-form-75").submit(); 2986 }); 2987 2988$(".check-76").click( 2989 function() { 2990 $(".chapter-read-form-76").submit(); 2991 }); 2992 2993$(".check-77").click( 2994 function() { 2995 $(".chapter-read-form-77").submit(); 2996 }); 2997 2998$(".check-78").click( 2999 function() { 3000 $(".chapter-read-form-78").submit(); 3001 }); 3002 3003$(".check-79").click( 3004 function() { 3005 $(".chapter-read-form-79").submit(); 3006 }); 3007 3008$(".check-80").click( 3009 function() { 3010 $(".chapter-read-form-80").submit(); 3011 }); 3012 3013$(".check-81").click( 3014 function() { 3015 $(".chapter-read-form-81").submit(); 3016 }); 3017 3018$(".check-82").click( 3019 function() { 3020 $(".chapter-read-form-82").submit(); 3021 }); 3022 3023$(".check-83").click( 3024 function() { 3025 $(".chapter-read-form-83").submit(); 3026 }); 3027 3028$(".check-84").click( 3029 function() { 3030 $(".chapter-read-form-84").submit(); 3031 }); 3032 3033$(".check-85").click( 3034 function() { 3035 $(".chapter-read-form-85").submit(); 3036 }); 3037 3038$(".check-86").click( 3039 function() { 3040 $(".chapter-read-form-86").submit(); 3041 }); 3042 3043$(".check-87").click( 3044 function() { 3045 $(".chapter-read-form-87").submit(); 3046 }); 3047 3048$(".check-88").click( 3049 function() { 3050 $(".chapter-read-form-88").submit(); 3051 }); 3052 3053$(".check-89").click( 3054 function() { 3055 $(".chapter-read-form-89").submit(); 3056 }); 3057 3058$(".check-97").click( 3059 function() { 3060 $(".chapter-read-form-97").submit(); 3061 }); 3062 3063$(".check-98").click( 3064 function() { 3065 $(".chapter-read-form-98").submit(); 3066 }); 3067 3068$(".check-99").click( 3069 function() { 3070 $(".chapter-read-form-99").submit(); 3071 }); 3072 3073$(".check-100").click( 3074 function() { 3075 $(".chapter-read-form-100").submit(); 3076 }); 3077 3078$(".check-101").click( 3079 function() { 3080 $(".chapter-read-form-101").submit(); 3081 }); 3082 3083$(".check-102").click( 3084 function() { 3085 $(".chapter-read-form-102").submit(); 3086 }); 3087 3088$(".check-103").click( 3089 function() { 3090 $(".chapter-read-form-103").submit(); 3091 }); 3092 3093$(".check-104").click( 3094 function() { 3095 $(".chapter-read-form-104").submit(); 3096 }); 3097 3098$(".check-105").click( 3099 function() { 3100 $(".chapter-read-form-105").submit(); 3101 }); 3102 3103$(".clickable-row").click(function() { 3104 window.document.location = $(this).data("href"); 3105 });
3106 3107$(".clickable-row-last-update").click(function() { 3108 window.document.location = $(this).data("href"); 3109 }); 3110 3111$(".maybe_later").click(function() { 3112 location.reload(true); 3113 }); 3114 3115 3116 3117 3118 3119 3120 3121}); 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132
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.