Help with JQuery function syntax and debugging

Help with JQuery function syntax and debugging

I am having a few issues with my JQuery functions. Below is the code: In Dreamweaver Line 14 is highlighted red as an error. I can't spot the error. and my $PopUp modal window doesn't fire on the last function. The HTML for that is below the JS.

Also for multiple JS functions on a page, can/should I just use one <script> and $(document).ready (function() ?

  1. <script>
  2. $(document).ready (function(){
  3. $(".status").click(function() {
  4.   $("#slider").slideToggle( "slow" );
  5. })
  6. });
  7. </script>
  8. <script>
  9. $(document).ready(function(){
  10.   
  11.     $('.featured h2').delay(2000).css('opacity:', '0').fadeTo(3500, 1,'swing')
  12.   });
  13. </script>
  14. <script>
  15. $(document).ready(function(){

  16. $(".social-circle li a").hover(
  17.    // Mouse Over
  18.   function(){
  19.  
  20.     
  21. $(this).css({opacity:.5},1000);
  22.   },
  23.   // Mouse Out
  24.   function(){
  25.       $(this).css({opacity:1},1000);
  26. })
  27. });
  28. </script>
  29. <script>
  30. // Semicolon (;) to ensure closing of earlier scripting
  31.     // Encapsulation
  32.     // $ is assigned to jQuery
  33.     ;(function($) {

  34.          // DOM Ready
  35.         $(function() {

  36.             // Binding a click event
  37.             // From jQuery v.1.7.0 use .on() instead of .bind()
  38.             $('.PopUp').bind('click', function(e) {

  39.                 // Prevents the default action to be triggered. 
  40.                 e.preventDefault();

  41.                 // Triggering bPopup when click event is fired
  42.                $('.PopUp').bPopup({
  43.             speed: 650,
  44.             transition: 'slideIn',
  45.    transitionClose: 'slideBack'
  46.         });

  47.             });

  48.         });

  49.     })(jQuery);
  50. </script>
  51.  <p>This is supposed to PopUp when clicked <a class="PopUp" href="#" title="PopUp">PopUp</a></p>