|
|
(33 intermediate revisions not shown) |
Line 1: |
Line 1: |
| + | <html> |
| + | <style type=text/css> |
| | | |
- | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| + | body, #content { |
| + | background: #FFFFFF |
| + | } |
| + | |
| + | body { |
| + | margin: 10px 0 0 0; |
| + | font-family:arial; |
| + | } |
| + | |
| + | #content { |
| + | padding:10px auto; |
| + | margin:0 auto; |
| + | color: black; |
| + | position: relative; |
| + | border: none; |
| + | } |
| + | |
| + | #whole_wrapper { |
| + | margin:100px 0 0 0; |
| + | } |
| + | |
| + | #right_wrapper2 { |
| + | padding: 0 0 0 72px; |
| + | } |
| + | |
| + | h1 { |
| + | border-bottom: 1px solid #AAA; |
| + | padding: 0 0 10px 0; |
| + | } |
| + | |
| + | #title { |
| + | width:85%; |
| + | padding-left:20px; |
| + | color:crimson; |
| + | border-bottom: 1px solid #AAA; |
| + | padding: 0 0 10px 0; |
| + | } |
| + | |
| + | |
| + | |
| + | table { |
| + | margin: 0 0 30px 0; |
| + | } |
| + | |
| + | td { |
| + | padding: 5px; |
| + | } |
| + | |
| + | #top-section { |
| + | width: 965px; |
| + | height: 0; |
| + | margin: 0 auto; |
| + | padding: 0; |
| + | border: none; |
| + | } |
| + | |
| + | .left-menu:hover { |
| + | background-color: #FFFFFF; |
| + | } |
| + | #menubar li a { |
| + | background-color: #FFFFFF; |
| + | } |
| + | #menubar:hover { |
| + | color: black; |
| + | } |
| + | #menubar li a { |
| + | color: white; |
| + | } |
| + | #menubar:hover li a { |
| + | color: black; |
| + | } |
| + | #menubar > ul > li:last-child { |
| + | display:none; |
| + | } |
| + | |
| + | dt {width:90%;padding-left:25px;} |
| + | |
| + | dd {width:85%;padding-left:20px;} |
| + | |
| + | /*hide default igem banner and reformat style into blank slate*/ |
| + | |
| + | #p-logo {display:none;} |
| + | |
| + | #top-section {border:none;} |
| + | |
| + | #menubar a {color:#000000;} |
| + | #menubar a:hover{text-decoration:none; color:#52749C;} |
| + | |
| + | |
| + | .printfooter {display:none;} |
| + | #footer-box {border:none;} |
| + | #catlinks {display:none;} |
| + | .firstHeading {display:none;} |
| + | |
| + | </style> |
| + | </html> |
| + | <html> |
| + | <head> |
| + | </head> |
| + | <body style="background-color:#000000;"> |
| + | </body> |
| <html dir="ltr" lang="en"> | | <html dir="ltr" lang="en"> |
| <head> | | <head> |
| <meta charset="UTF-8" /> | | <meta charset="UTF-8" /> |
- | <title> Project Title Goes Here</title> | + | <title> E. musici</title> |
| <link rel="profile" href="http://gmpg.org/xfn/11" /> | | <link rel="profile" href="http://gmpg.org/xfn/11" /> |
| <link rel="stylesheet" href="http://s1.wp.com/wp-content/themes/pub/triton-lite/style.css?m=1346172069g" type="text/css" media="screen" /> | | <link rel="stylesheet" href="http://s1.wp.com/wp-content/themes/pub/triton-lite/style.css?m=1346172069g" type="text/css" media="screen" /> |
| <link rel="pingback" href="http://uscigem2012.wordpress.com/xmlrpc.php" /> | | <link rel="pingback" href="http://uscigem2012.wordpress.com/xmlrpc.php" /> |
- | <link rel="alternate" type="application/rss+xml" title="Project Title Goes Here » Feed" href="http://uscigem2012.wordpress.com/feed/" /> | + | <link rel="alternate" type="application/rss+xml" title="E. musici » Feed" href="http://uscigem2012.wordpress.com/feed/" /> |
- | <link rel="alternate" type="application/rss+xml" title="Project Title Goes Here » Comments Feed" href="http://uscigem2012.wordpress.com/comments/feed/" /> | + | <link rel="alternate" type="application/rss+xml" title="E. musici » Comments Feed" href="http://uscigem2012.wordpress.com/comments/feed/" /> |
- | <link rel="alternate" type="application/rss+xml" title="Project Title Goes Here » About Comments Feed" href="http://uscigem2012.wordpress.com/about/feed/" /> | + | <link rel="alternate" type="application/rss+xml" title="E. musici » E. Musici Comments Feed" href="http://uscigem2012.wordpress.com/about/feed/" /> |
| <script type="text/javascript"> | | <script type="text/javascript"> |
| /* <![CDATA[ */ | | /* <![CDATA[ */ |
Line 16: |
Line 118: |
| /* ]]> */ | | /* ]]> */ |
| </script> | | </script> |
- | <link rel='stylesheet' id='all-css-0' href='http://s0.wp.com/_static/??/wp-includes/css/admin-bar.css,/wp-content/mu-plugins/subscriptions/follow.css,/wp-content/mu-plugins/hover-bubbles/style.css,/wp-content/mu-plugins/admin-bar/wpcom-admin-bar.css,/i/noticons/noticons.css,/wp-content/mu-plugins/post-flair/style.css,/wp-content/mu-plugins/notes/admin-bar-rest.css,/wp-content/mu-plugins/post-flair/sharing/sharing.css,/wp-content/themes/h4/global.css?m=1348827410j' type='text/css' media='all' /> | + | <link rel='stylesheet' id='all-css-0' href='http://s1.wp.com/_static/??/wp-content/blog-plugins/loggedout-follow/widget.css,/wp-content/mu-plugins/post-flair/style.css,/wp-content/mu-plugins/post-flair/sharing/sharing.css,/wp-content/themes/h4/global.css?m=1345177132j' type='text/css' media='all' /> |
| <link rel='stylesheet' id='print-css-0' href='http://s0.wp.com/wp-content/mu-plugins/global-print/global-print.css?m=1335386953g' type='text/css' media='print' /> | | <link rel='stylesheet' id='print-css-0' href='http://s0.wp.com/wp-content/mu-plugins/global-print/global-print.css?m=1335386953g' type='text/css' media='print' /> |
- | <script type='text/javascript' src='http://s1.wp.com/_static/??/wp-includes/js/jquery/jquery.js,/wp-content/mu-plugins/subscriptions/follow.js,/wp-includes/js/comment-reply.js,/wp-includes/js/spin.js,/wp-includes/js/jquery/jquery.spin.js?m=1348613495j'></script> | + | <script type='text/javascript'> |
| + | /* <![CDATA[ */ |
| + | var LoggedOutFollow = {"invalid_email":"Your subscription did not succeed, please try again with a valid email address."}; |
| + | /* ]]> */ |
| + | </script> |
| + | <script type='text/javascript' src='http://s2.wp.com/_static/??/wp-includes/js/jquery/jquery.js,/wp-content/blog-plugins/loggedout-follow/widget.js,/wp-includes/js/comment-reply.js?m=1333391137j'></script> |
| <link rel='stylesheet' id='all-css-0' href='http://s1.wp.com/wp-content/mu-plugins/highlander-comments/style.css?m=1343991657g' type='text/css' media='all' /> | | <link rel='stylesheet' id='all-css-0' href='http://s1.wp.com/wp-content/mu-plugins/highlander-comments/style.css?m=1343991657g' type='text/css' media='all' /> |
| <!--[if lt IE 8]> | | <!--[if lt IE 8]> |
Line 30: |
Line 137: |
| <link rel='shortlink' href='http://wp.me/P2CDGD-2' /> | | <link rel='shortlink' href='http://wp.me/P2CDGD-2' /> |
| <link rel="alternate" type="application/json+oembed" href="http://public-api.wordpress.com/oembed/1.0/?format=json&url=http%3A%2F%2Fuscigem2012.wordpress.com%2F&for=wpcom-auto-discovery" /><link rel="alternate" type="application/xml+oembed" href="http://public-api.wordpress.com/oembed/1.0/?format=xml&url=http%3A%2F%2Fuscigem2012.wordpress.com%2F&for=wpcom-auto-discovery" /><meta property="og:type" content="blog" /> | | <link rel="alternate" type="application/json+oembed" href="http://public-api.wordpress.com/oembed/1.0/?format=json&url=http%3A%2F%2Fuscigem2012.wordpress.com%2F&for=wpcom-auto-discovery" /><link rel="alternate" type="application/xml+oembed" href="http://public-api.wordpress.com/oembed/1.0/?format=xml&url=http%3A%2F%2Fuscigem2012.wordpress.com%2F&for=wpcom-auto-discovery" /><meta property="og:type" content="blog" /> |
- | <meta property="og:title" content="Project Title Goes Here" /> | + | <meta property="og:title" content="E. musici" /> |
| <meta property="og:url" content="http://uscigem2012.wordpress.com/" /> | | <meta property="og:url" content="http://uscigem2012.wordpress.com/" /> |
| <meta property="og:description" content="University of Southern California iGEM 2012" /> | | <meta property="og:description" content="University of Southern California iGEM 2012" /> |
- | <meta property="og:site_name" content="Project Title Goes Here" /> | + | <meta property="og:site_name" content="E. musici" /> |
| <meta name="twitter:card" content="summary" /> | | <meta name="twitter:card" content="summary" /> |
| <meta property="fb:app_id" content="249643311490" /> | | <meta property="fb:app_id" content="249643311490" /> |
- | <link rel="shortcut icon" type="image/x-icon" href="http://s2.wp.com/i/favicon.ico?m=1311976022g" sizes="16x16 24x24 32x32 48x48" /> | + | <link rel="shortcut icon" type="image/x-icon" href="http://s2.wp.com/i/favicon.ico?m=1311976024g" sizes="16x16 24x24 32x32 48x48" /> |
- | <link rel="icon" type="image/x-icon" href="http://s2.wp.com/i/favicon.ico?m=1311976022g" sizes="16x16 24x24 32x32 48x48" /> | + | <link rel="icon" type="image/x-icon" href="http://s2.wp.com/i/favicon.ico?m=1311976024g" sizes="16x16 24x24 32x32 48x48" /> |
| <link rel="apple-touch-icon-precomposed" href="http://s0.wp.com/i/webclip.png?m=1311618091g" /> | | <link rel="apple-touch-icon-precomposed" href="http://s0.wp.com/i/webclip.png?m=1311618091g" /> |
| <link rel='openid.server' href='http://uscigem2012.wordpress.com/?openidserver=1' /> | | <link rel='openid.server' href='http://uscigem2012.wordpress.com/?openidserver=1' /> |
| <link rel='openid.delegate' href='http://uscigem2012.wordpress.com/' /> | | <link rel='openid.delegate' href='http://uscigem2012.wordpress.com/' /> |
- | <link rel="search" type="application/opensearchdescription+xml" href="http://uscigem2012.wordpress.com/osd.xml" title="Project Title Goes Here" /> | + | <link rel="search" type="application/opensearchdescription+xml" href="http://uscigem2012.wordpress.com/osd.xml" title="E. musici" /> |
| <link rel="search" type="application/opensearchdescription+xml" href="http://wordpress.com/opensearch.xml" title="WordPress.com" /> | | <link rel="search" type="application/opensearchdescription+xml" href="http://wordpress.com/opensearch.xml" title="WordPress.com" /> |
| <style> | | <style> |
| /* <![CDATA[ */ | | /* <![CDATA[ */ |
- | /* Block: adminbar_like */
| |
- | #wpadminbar li#wp-admin-bar-wpl-like a { outline: none; }
| |
- | #wpadminbar li#wp-admin-bar-wpl-like a em { font-style: normal }
| |
- | #wpadminbar li#wp-admin-bar-wpl-like a.loading { background-position: 8px 50% !important; }
| |
- | #wpadminbar li.like > a { height: 28px; }
| |
- | #wpadminbar div#reblog { background: #444; color: #fff; }
| |
- |
| |
| /* Block: reblog */ | | /* Block: reblog */ |
| | | |
Line 83: |
Line 183: |
| /* ]]> */ | | /* ]]> */ |
| </style> | | </style> |
- | <style type="text/css" media="print">#wpadminbar { display:none; }</style> | + | |
- | <style type="text/css" media="screen">
| + | <style type="text/css"> |
- | html { margin-top: 28px !important; }
| + | /* <![CDATA[ */ |
- | * html body { margin-top: 28px !important; }
| + | /* |
- | </style> | + | * Link color |
- | <meta name="application-name" content="Project Title Goes Here" /><meta name="msapplication-window" content="width=device-width;height=device-height" /><meta name="msapplication-tooltip" content="University of Southern California iGEM 2012" /><meta name="msapplication-task" content="name=Edit page;action-uri=http://uscigem2012.wordpress.com/wp-admin/post.php?post=2&action=edit;icon-uri=http://s0.wp.com/i/icons/page.ico" /><meta name="msapplication-task" content="name=Write a post;action-uri=http://uscigem2012.wordpress.com/wp-admin/post-new.php;icon-uri=http://s2.wp.com/i/icons/post.ico" /><meta name="msapplication-task" content="name=Moderate comments;action-uri=http://uscigem2012.wordpress.com/wp-admin/edit-comments.php?comment_status=moderated;icon-uri=http://s0.wp.com/i/icons/comment.ico" /><meta name="msapplication-task" content="name=Upload new media;action-uri=http://uscigem2012.wordpress.com/wp-admin/media-new.php;icon-uri=http://s2.wp.com/i/icons/media.ico" /><meta name="msapplication-task" content="name=Blog stats;action-uri=http://uscigem2012.wordpress.com/wp-admin/index.php?page=stats;icon-uri=http://s1.wp.com/i/icons/stats.ico" /><meta name="title" content="About | Project Title Goes Here on WordPress.com" /> | + | */ |
| + | a, |
| + | .post-wrap a, |
| + | .by-author a, |
| + | #posts .post-content .post-foot a { |
| + | color: #e1c647; |
| + | } |
| + | |
| + | #masthead, |
| + | #access ul ul, |
| + | #comments .form-submit input, |
| + | #comments .form-submit input:hover, |
| + | #footer { |
| + | background-color: #bf1d2c; |
| + | } |
| + | #access .current-menu-item > a, |
| + | #access .current-menu-ancestor > a, |
| + | #access .current_page_item > a, |
| + | #access .current_page_ancestor > a { |
| + | background: rgba( 0, 0, 0, 0.3 ); |
| + | } |
| + | #access a, |
| + | #access ul ul a, |
| + | #comments .form-submit input, |
| + | #footer { |
| + | color: rgba( 255, 255, 255, 0.7 ); |
| + | } |
| + | #access ul ul a { |
| + | border-bottom: 1px solid rgba( 0, 0, 0, 0.2 ); |
| + | } |
| + | #access ul ul a:hover, |
| + | #access ul ul :hover > a { |
| + | background: rgba( 0, 0, 0, 0.3 ); |
| + | color: rgba( 255, 255, 255, 1 ); |
| + | } |
| + | #access .current-menu-item > a, |
| + | #access .current-menu-ancestor > a, |
| + | #access .current_page_item > a, |
| + | #access .current_page_ancestor > a, |
| + | #footer a { /* Top-level current links */ |
| + | color: rgba( 255, 255, 255, 1 ); |
| + | } |
| + | #access ul ul .current-menu-item > a, |
| + | #access ul ul .current-menu-ancestor > a, |
| + | #access ul ul .current_page_item > a, |
| + | #access ul ul .current_page_ancestor > a { /* Sub-level current links */ |
| + | background: rgba( 0, 0, 0, 0.3 ); |
| + | color: rgba( 255, 255, 255, 1 ); |
| + | } |
| + | #access ul ul .current-menu-ancestor > a, |
| + | #access ul ul .current_page_ancestor > a { |
| + | background: rgba( 0, 0, 0, 0.3 ); |
| + | } |
| + | #access ul ul .current-menu-ancestor > a:hover, |
| + | #access ul ul .current_page_ancestor > a:hover { |
| + | background: rgba( 0, 0, 0, 0.3 ); |
| + | } |
| + | /* ]]> */ |
| + | </style> |
| + | <meta name="application-name" content="E. musici" /><meta name="msapplication-window" content="width=device-width;height=device-height" /><meta name="msapplication-tooltip" content="University of Southern California iGEM 2012" /><meta name="msapplication-task" content="name=Subscribe;action-uri=http://uscigem2012.wordpress.com/feed/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="msapplication-task" content="name=Sign up for a free blog;action-uri=http://wordpress.com/signup/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="msapplication-task" content="name=WordPress.com Support;action-uri=http://support.wordpress.com/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="msapplication-task" content="name=WordPress.com Forums;action-uri=http://forums.wordpress.com/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="title" content="E. Musici | E. musici on WordPress.com" /> |
| <meta name="description" content="University of Southern California iGEM 2012" /> | | <meta name="description" content="University of Southern California iGEM 2012" /> |
- | | + | <style type="text/css"> |
| + | #header-image { |
| + | background: url( 'http://uscigem2012.files.wordpress.com/2012/10/igem-header.gif' ) no-repeat; |
| + | float: left; |
| + | margin: 0 0 20px; |
| + | width: 960px; |
| + | height: 270px; |
| + | } |
| + | #header-image a { |
| + | display: block; |
| + | text-indent: -9999px; |
| + | width: 100%; |
| + | height: 100%; |
| + | } |
| + | </style> |
| + | |
| <style type="text/css"> | | <style type="text/css"> |
- | #logo h1 a, | + | #logo { |
- | .desc {
| + | display: none; |
- | color: #d62215 !important; | + | |
| } | | } |
| + | |
| </style> | | </style> |
| | | |
| + | <style type="text/css" id="custom-background-css"> |
| + | body.custom-background { background-color: #ffffff; } |
| + | </style> |
| </head> | | </head> |
- | <body class="home page page-id-2 page-template-default logged-in admin-bar single-author one-column chrome highlander-enabled highlander-light"> | + | <body class="home page page-id-2 page-template-default custom-background single-author one-column gecko highlander-enabled highlander-light"> |
| | | |
| <div id="masthead"> | | <div id="masthead"> |
| <div class="container"> | | <div class="container"> |
| <div id="access"> | | <div id="access"> |
- | <div class="menu"><ul><li class="page_item page-item-2 current_page_item"><a href="http://uscigem2012.wordpress.com/">About</a></li><li class="page_item page-item-5"><a href="http://uscigem2012.wordpress.com/team/">Team</a></li><li class="page_item page-item-10"><a href="http://uscigem2012.wordpress.com/project/">Project</a></li><li class="page_item page-item-12"><a href="http://uscigem2012.wordpress.com/our-biobricks/">Our BioBricks</a></li><li class="page_item page-item-14"><a href="http://uscigem2012.wordpress.com/lab-notebook/">Lab Notebook</a></li><li class="page_item page-item-16"><a href="http://uscigem2012.wordpress.com/human-practices/">Human Practices</a></li><li class="page_item page-item-45"><a href="http://uscigem2012.wordpress.com/safety/">Safety</a></li></ul></div> | + | <div class="menu"><ul><li class="page_item page-item-2 current_page_item"><a href="https://2012.igem.org/Team:USC">E. Musici</a></li><li class="page_item page-item-5"><a href="https://2012.igem.org/Team:USC/Team">Team</a></li><li class="page_item page-item-10"><a href="https://2012.igem.org/Team:USC/Project">Project</a></li><li class="page_item page-item-12"><a href=" |
| + | https://2012.igem.org/Team:USC/Parts">Our BioBricks</a></li><li class="page_item page-item-14"><a href="https://2012.igem.org/Team:USC/Notebook">Lab Notebook</a></li><li class="page_item page-item-16"><a href="https://2012.igem.org/Team:USC/HumanPractices">Human Practices</a></li><li class="page_item page-item-45"><a href=" |
| + | https://2012.igem.org/Team:USC/Safety">Safety</a></li></ul></div> |
| </div><!-- #access --> | | </div><!-- #access --> |
| </div><!-- .container --> | | </div><!-- .container --> |
Line 111: |
Line 290: |
| <div id="header"> | | <div id="header"> |
| <div class="container"> | | <div class="container"> |
| + | <div id="header-image"> |
| + | <a href="https://2012.igem.org/Team:USC" title="E. musici" rel="home">E. musici</a> |
| + | </div><!-- #header-image --> |
| <div id="logo"> | | <div id="logo"> |
| <h1> | | <h1> |
- | <a href="http://uscigem2012.wordpress.com/">Project Title Goes Here</a> | + | <a href="https://2012.igem.org/Team:USC">E. musici</a> |
| </h1> | | </h1> |
| <div class="desc"> | | <div class="desc"> |
Line 122: |
Line 304: |
| <div id="slider-wrapper"> | | <div id="slider-wrapper"> |
| </div><!-- #slider-wrapper --> | | </div><!-- #slider-wrapper --> |
- |
| |
- | <div class="container">
| |
- | <div id="posts" class="single-page-post">
| |
- | <div class="post-wrap">
| |
| | | |
| | | |
Line 131: |
Line 309: |
| <div class="post-content"> | | <div class="post-content"> |
| <h2 class="postitle"> | | <h2 class="postitle"> |
- | About </h2><!-- .postitle --> | + | E. Musici </h2><!-- .postitle --> |
| | | |
- | <p>Project Abstract Goes here.</p> | + | <style="text-align:left;"><href="http://uscigem2012.files.wordpress.com/2012/07/2172138.gif"><img class="aligncenter size-full wp-image-180" title="tumble" src="http://uscigem2012.files.wordpress.com/2012/07/2172138.gif?w=960" alt="" /></a></p> |
- | <div id="jp-post-flair" class="sharedaddy sd-like-enabled sd-sharing-enabled"></div> <div class="edit-link"><a class="post-edit-link" href="http://uscigem2012.wordpress.com/wp-admin/post.php?post=2&action=edit" title="Edit Page">Edit</a></div> </div><!-- .post-content --> | + | <p style="text-align:center;"><span style="color:#000000;"><strong>Abstract</strong></span></p> |
| + | <p style="text-align:justify;"><span style="color:#000000;">Our project aims to create a new system to quantify how environmental conditions effect the bacterium <em>E. coli</em> by engineering a system that produces a predictable response in a controlled environment. Many strains of <em>E. coli</em> possess flagella, a whip-like appendage that can be found protruding from both eukaryotic and prokaryotic single-celled organisms. The assembly and motor control of <em>E. coli</em> flagella is under the control of a key group of genetic factors primarily for flagella assembly and chemotactic control. Expression of these genes can be regulated by creating various combinations of genetic promoters, which modulate the activity of individual components of the flagella apparatus. By promoting the <em>E. coli</em> flagella genes under varying conditions, such as salt concentration, nitrate concentration, pH and temperature, we can identify a significant change in flagella rotation and frequency. Ultimately, this frequency can be translated into an audible range which can act as an indicator of the bacteria’s distress based on the varied environmental condition (see below). Thus, by specifying the bacteria’s response to an environmental change on a genetic level, the resulting frequency can be used as a convenient assay to determine the real time status of the culture.</span></p> |
| + | <p><a href="http://uscigem2012.files.wordpress.com/2012/07/singing_bacteria3.gif"><img class="aligncenter size-full wp-image-259" title="Singing_Bacteria" src="http://uscigem2012.files.wordpress.com/2012/07/singing_bacteria3.gif?w=960" alt="" /></a></p> |
| + | <p style="text-align:justify;"><a href="http://uscigem2012.files.wordpress.com/2012/07/usc_logo.jpg"><img class="aligncenter size-full wp-image-234" title="USC_logo" src="http://uscigem2012.files.wordpress.com/2012/07/usc_logo.jpg?w=960" alt="" /></a></p> |
| + | <div id="jp-post-flair" class="sharedaddy sd-like-enabled sd-sharing-enabled"></div> </div><!-- .post-content --> |
| </div><!-- #post-2 --> | | </div><!-- #post-2 --> |
- | | + | <br> |
- | <div class="comments-template">
| + | <p><strong>Special thanks to:</strong></p> |
- |
| + | <p> University of Southern California Undergraduate Research Programs</p> |
- | <div id="comments">
| + | <p> Davis School of Gerontology </p> |
- | | + | <p> Viterbi School of Engineering </p> |
- |
| + | <p> Dornsife College of Letters, Arts, and Sciences</p> |
- |
| + | |
- |
| + | |
- | <div id="respond">
| + | |
- | <h3 id="reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/#respond" style="display:none;">Cancel reply</a></small></h3>
| + | |
- | <form action="http://uscigem2012.wordpress.com/wp-comments-post.php" method="post" id="commentform">
| + | |
- |
| + | |
- | <input type="hidden" name="hc_post_as" id="hc_post_as" value="wordpress" />
| + | |
- | | + | |
- | <div class="comment-form-field comment-textarea">
| + | |
- | <label for="comment">Enter your comment here...</label>
| + | |
- | <div id="comment-form-comment"><textarea id="comment" name="comment"></textarea></div>
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="comment-form-identity">
| + | |
- | | + | |
- | <div id="comment-form-nascar">
| + | |
- | <p>Fill in your details below or click an icon to log in:</p>
| + | |
- | <ul>
| + | |
- | <li style="display:none;">
| + | |
- | <a href="#comment-form-guest" id="postas-guest" title="Guest">
| + | |
- | <span></span>
| + | |
- | </a>
| + | |
- | </li>
| + | |
- | <li class="selected">
| + | |
- | <a href="#comment-form-load-service:WordPress.com" id="postas-wordpress" title="WordPress.com">
| + | |
- | <span></span>
| + | |
- | </a>
| + | |
- | </li>
| + | |
- | <li>
| + | |
- | <a href="#comment-form-load-service:Twitter" id="postas-twitter" title="Twitter">
| + | |
- | <span></span>
| + | |
- | </a>
| + | |
- | </li>
| + | |
- | <li>
| + | |
- | <a href="#comment-form-load-service:Facebook" id="postas-facebook" title="Facebook">
| + | |
- | <span></span>
| + | |
- | </a>
| + | |
- | </li>
| + | |
- | </ul>
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="comment-form-guest" class="comment-form-service">
| + | |
- | <div class="comment-form-padder">
| + | |
- | <div class="comment-form-avatar">
| + | |
- | <a href="https://gravatar.com/site/signup/" target="_blank"> <img src="http://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=25&d=identicon&forcedefault=y&r=G" alt="Gravatar" width="25" class="no-grav" />
| + | |
- | </a> </div>
| + | |
- | | + | |
- | <div class="comment-form-fields">
| + | |
- | <div class="comment-form-field comment-form-email">
| + | |
- | <label for="email">Email <span class="required">(required)</span> <span class="nopublish">(Address never made public)</span></label>
| + | |
- | <div class="comment-form-input"><input id="email" name="email" type="email" value="" /></div>
| + | |
- | </div>
| + | |
- | <div class="comment-form-field comment-form-author">
| + | |
- | <label for="author">Name <span class="required">(required)</span></label>
| + | |
- | <div class="comment-form-input"><input id="author" name="author" type="text" value="" /></div>
| + | |
- | </div>
| + | |
- | <div class="comment-form-field comment-form-url">
| + | |
- | <label for="url">Website</label>
| + | |
- | <div class="comment-form-input"><input id="url" name="url" type="text" value="" /></div>
| + | |
- | </div>
| + | |
- | </div>
| + | |
- |
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="comment-form-wordpress" class="comment-form-service selected">
| + | |
- | <div class="comment-form-padder">
| + | |
- | <div class="comment-form-avatar">
| + | |
- | <img src="http://1.gravatar.com/avatar/1c1cf0d86c1e9e1bf42529b9bb55352e?s=25&d=identicon&r=G" alt="Gravatar" width="25" class="no-grav" />
| + | |
- | </div>
| + | |
- | | + | |
- | <div class="comment-form-fields">
| + | |
- | <input type="hidden" name="wp_avatar" id="wordpress-avatar" class="comment-meta-wordpress" value="http://1.gravatar.com/avatar/1c1cf0d86c1e9e1bf42529b9bb55352e?s=25&d=http%3A%2F%2Fs2.wp.com%2Fwp-content%2Fmu-plugins%2Fhighlander-comments%2Fimages%2Fwplogo.png&r=G" />
| + | |
- | <input type="hidden" name="wp_user_id" id="wordpress-user_id" class="comment-meta-wordpress" value="38193600" />
| + | |
- | <input type="hidden" name="wp_access_token" id="wordpress-access_token" class="comment-meta-wordpress" value="229c49022e4e2dce16afb74ce49c63076878c455" />
| + | |
- | <p class="comment-form-posting-as pa-wordpress"><strong>uscigem2012:</strong> You are commenting using your WordPress.com account. <span class="comment-form-log-out">( <a href="javascript:HighlanderComments.doExternalLogout( 'wordpress' );">Log Out</a> / <a href="#" onclick="javascript:HighlanderComments.switchAccount();return false;">Change</a> )</span></p>
| + | |
- | </div>
| + | |
- |
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="comment-form-twitter" class="comment-form-service">
| + | |
- | <div class="comment-form-padder">
| + | |
- | <div class="comment-form-avatar">
| + | |
- | <img src="http://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=25&d=identicon&forcedefault=y&r=G" alt="Twitter picture" width="25" class="no-grav" />
| + | |
- | </div>
| + | |
- | | + | |
- | <div class="comment-form-fields">
| + | |
- | <input type="hidden" name="twitter_avatar" id="twitter-avatar" class="comment-meta-twitter" value="" />
| + | |
- | <input type="hidden" name="twitter_user_id" id="twitter-user_id" class="comment-meta-twitter" value="" />
| + | |
- | <input type="hidden" name="twitter_access_token" id="twitter-access_token" class="comment-meta-twitter" value="" />
| + | |
- | <p class="comment-form-posting-as pa-twitter"><strong></strong> You are commenting using your Twitter account. <span class="comment-form-log-out">( <a href="javascript:HighlanderComments.doExternalLogout( 'twitter' );">Log Out</a> / <a href="#" onclick="javascript:HighlanderComments.switchAccount();return false;">Change</a> )</span></p>
| + | |
- | </div>
| + | |
- |
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | | + | |
- | <div id="comment-form-facebook" class="comment-form-service">
| + | |
- | <div class="comment-form-padder">
| + | |
- | <div class="comment-form-avatar">
| + | |
- | <img src="http://1.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=25&d=identicon&forcedefault=y&r=G" alt="Facebook photo" width="25" class="no-grav" />
| + | |
- | </div>
| + | |
- | | + | |
- | <div class="comment-form-fields">
| + | |
- | <input type="hidden" name="fb_avatar" id="facebook-avatar" class="comment-meta-facebook" value="" />
| + | |
- | <input type="hidden" name="fb_user_id" id="facebook-user_id" class="comment-meta-facebook" value="" />
| + | |
- | <input type="hidden" name="fb_access_token" id="facebook-access_token" class="comment-meta-facebook" value="" />
| + | |
- | <p class="comment-form-posting-as pa-facebook"><strong></strong> You are commenting using your Facebook account. <span class="comment-form-log-out">( <a href="javascript:HighlanderComments.doExternalLogout( 'facebook' );">Log Out</a> / <a href="#" onclick="javascript:HighlanderComments.switchAccount();return false;">Change</a> )</span></p>
| + | |
- | </div>
| + | |
- |
| + | |
- | </div>
| + | |
- | </div>
| + | |
- | | + | |
- | | + | |
- | <div id="comment-form-load-service" class="comment-form-service">
| + | |
- | <div class="comment-form-posting-as-cancel"><a href="javascript:HighlanderComments.cancelExternalWindow();">Cancel</a></div>
| + | |
- | <p>Connecting to %s</p>
| + | |
- | </div>
| + | |
- |
| + | |
- |
| + | |
- | </div>
| + | |
- | | + | |
- | <script type="text/javascript">
| + | |
- | jQuery(document).ready(function(){
| + | |
- | var input = document.createElement( 'input' ),
| + | |
- | comment = jQuery( '#comment' );
| + | |
- | | + | |
- | if ( 'placeholder' in input ) {
| + | |
- | comment.attr( 'placeholder', jQuery( '.comment-textarea label' ).remove().text() );
| + | |
- | }
| + | |
- | | + | |
- | // Expando Mode: start small, then auto-resize on first click + text length
| + | |
- | jQuery( '#comment-form-identity' ).hide();
| + | |
- | jQuery( '#comment-form-subscribe' ).hide();
| + | |
- | jQuery( '#commentform .form-submit' ).hide();
| + | |
- | | + | |
- | comment.css( { 'height':'10px' } ).one( 'focus', function() {
| + | |
- | var timer = setInterval( HighlanderComments.resizeCallback, 10 )
| + | |
- | jQuery( this ).animate( { 'height': HighlanderComments.initialHeight } ).delay( 100 ).queue( function(n) { clearInterval( timer ); HighlanderComments.resizeCallback(); n(); } );
| + | |
- | jQuery( '#comment-form-identity' ).slideDown();
| + | |
- | jQuery( '#comment-form-subscribe' ).slideDown();
| + | |
- | jQuery( '#commentform .form-submit' ).slideDown();
| + | |
- | });
| + | |
- | });
| + | |
- | </script> | + | |
- | | + | |
- | <div id="comment-form-subscribe">
| + | |
- | <p class="comment-subscription-form"><input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;" tabindex="6"/> <label class="subscribe-label" id="subscribe-label" for="subscribe">Notify me of follow-up comments via email.</label></p></div>
| + | |
- | | + | |
- | <p class="form-submit">
| + | |
- | <input name="submit" type="submit" id="comment-submit" value="Post Comment" />
| + | |
- | <input type='hidden' name='comment_post_ID' value='2' id='comment_post_ID' />
| + | |
- | <input type='hidden' name='comment_parent' id='comment_parent' value='0' />
| + | |
- | </p>
| + | |
- |
| + | |
- | <input type="hidden" name="genseq" value="1348893372" />
| + | |
- | <p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="868f648022" /></p><script type='text/javascript' src='http://s2.wp.com/wp-content/mu-plugins/akismet-2.5/form.js?m=1308783962g'></script>
| + | |
- | <p style="display: none;"><input type="hidden" id="ak_js" name="ak_js" value="13"/></p> </form>
| + | |
- | </div><!-- #respond -->
| + | |
- | <div style="clear: both"></div>
| + | |
- | </div><!-- #comments --> </div><!-- .comments-template -->
| + | |
- | | + | |
| | | |
- | </div><!-- .post-wrap -->
| + | </body> |
- | </div><!-- #posts -->
| + | |
- | </div><!-- .container -->
| + | |
- |
| + | |
- | <div id="footer">
| + | |
- |
| + | |
- | <div id="copyright">
| + | |
- | <div class="container">
| + | |
- | <div class="copytext">
| + | |
- | <a href="http://wordpress.com/?ref=footer" rel="generator">Blog at WordPress.com</a>.
| + | |
- | Theme: <a href="http://theme.wordpress.com/themes/triton-lite/" title="Learn more about this theme">Triton Lite</a> by <a href="http://www.towfiqi.com/" rel="designer"> Towfiq I</a>. </div><!-- copytext -->
| + | |
- | </div><!-- .container -->
| + | |
- | </div><!-- #copyright -->
| + | |
- | </div><!-- #footer -->
| + | |
- | <script type="text/javascript">
| + | |
- | var gravityInsightsParams = {
| + | |
- | type:'content',
| + | |
- | version:'1.1',
| + | |
- | super_site_guid:'268fc15296103bd0d639409cab651e35',
| + | |
- | site_guid:"38761695",
| + | |
- | section_id:'',
| + | |
- | subsection_id:''
| + | |
- | };
| + | |
- | document.write( unescape( "%3Cscript src='http://cdn.insights.gravity.com/moth-min.js' type='text/javascript'%3E%3C/script%3E" ) );
| + | |
- | </script>
| + | |
- | | + | |
- | <script type="text/javascript">
| + | |
- | var _qevents = _qevents || [], wpcomQuantcastData = {"qacct":"p-18-mFEk4J448M","labels":",language.en,type.wpcom,wp.loggedin"};
| + | |
- | function wpcomQuantcastPixel( labels, options ) {
| + | |
- | var i, defaults = wpcomQuantcastData, data = { event: 'ajax' };
| + | |
- | | + | |
- | labels = labels || '';
| + | |
- | options = options || {};
| + | |
- | | + | |
- | if ( typeof labels != 'string' )
| + | |
- | options = labels;
| + | |
- | | + | |
- | for ( i in defaults ) {
| + | |
- | data[i] = defaults[i];
| + | |
- | }
| + | |
- | | + | |
- | for ( i in options ) {
| + | |
- | data[i] = options[i];
| + | |
- | }
| + | |
- | | + | |
- | if ( data.labels ) {
| + | |
- | data.labels += ',' + labels;
| + | |
- | } else {
| + | |
- | data.labels = labels;
| + | |
- | }
| + | |
- | | + | |
- | _qevents.push( data );
| + | |
- | };
| + | |
- | (function() {var elem = document.createElement('script');elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge") + ".quantserve.com/quant.js";elem.async = true;elem.type = "text/javascript";var scpt = document.getElementsByTagName('script')[0];scpt.parentNode.insertBefore(elem, scpt); })();
| + | |
- | _qevents.push( wpcomQuantcastData );
| + | |
- | </script>
| + | |
- | <noscript><div style="display: none;"><img src="//pixel.quantserve.com/pixel/p-18-mFEk4J448M.gif?labels=%2Clanguage.en%2Ctype.wpcom%2Cwp.loggedin" height="1" width="1" alt="" /></div></noscript>
| + | |
- | | + | |
- | <script type="text/javascript">
| + | |
- | /* <![CDATA[ */
| + | |
- | jQuery(document).ready( function($) {
| + | |
- | function doFollowingHover() {
| + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').unbind( '.unfollow' );
| + | |
- |
| + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').bind( 'mouseover.unfollow', function() {
| + | |
- |
| + | |
- | $(this).html( "Unfollow" ).parent( 'li' ).addClass( 'unfollow' );
| + | |
- | });
| + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').bind( 'mouseout.unfollow', function() {
| + | |
- | $(this).html( "Following" ).parent( 'li' ).removeClass( 'unfollow' );
| + | |
- | });
| + | |
- | }
| + | |
- |
| + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').click( function( e ) {
| + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').unbind( '.unfollow' );
| + | |
- |
| + | |
- | e.preventDefault();
| + | |
- | | + | |
- | var link = $( this ), li = $( '#wp-admin-bar-follow' ), timeout = 0;
| + | |
- | | + | |
- | if ( li.hasClass( 'subscribed' ) ) {
| + | |
- | li.removeClass( 'subscribed' ).removeClass( 'unfollow' );
| + | |
- | link.html( "Follow" );
| + | |
- |
| + | |
- | $('body').append( $( 'div.wpcom-bubble' ).removeClass( 'fadein' ) ).off( 'click.bubble' );
| + | |
- |
| + | |
- | var action = 'ab_unsubscribe_from_blog';
| + | |
- | } else {
| + | |
- | li.addClass( 'subscribed' ).removeClass( 'unfollow' );
| + | |
- | link.html( "Following" );
| + | |
- |
| + | |
- | var left = 131 - link.width();
| + | |
- | li.append( $( 'div.wpcom-bubble' ).css( { left: '-' + left + 'px' } ) );
| + | |
- | $( 'div.bubble-txt', 'div.wpcom-bubble' ).html( "New posts from this blog will now appear in <a target=\"_blank\" href=\"http:\/\/wordpress.com\/#!\/read\/\">your reader<\/a>." );
| + | |
- | $( 'div.wpcom-bubble.action-bubble' ).addClass( 'fadein' );
| + | |
- |
| + | |
- | setTimeout( function() {
| + | |
- | $('body').on( 'click.bubble touchstart.bubble', function(e) {
| + | |
- | if ( !$(e.target).hasClass('wpcom-bubble') && !$(e.target).parents( 'div.wpcom-bubble' ).length )
| + | |
- | hideBubble();
| + | |
- | });
| + | |
- | setTimeout( hideBubble, 10000 );
| + | |
- | }, 500 );
| + | |
- |
| + | |
- | var action = 'ab_subscribe_to_blog';
| + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').bind( 'mouseout.shift', function() {
| + | |
- | doFollowingHover();
| + | |
- | $(this).unbind( '.shift' );
| + | |
- | });
| + | |
- | }
| + | |
- | | + | |
- | var nonce = link.attr( 'href' ).split( '_wpnonce=' );
| + | |
- | nonce = nonce[1];
| + | |
- | | + | |
- | $.post( "http:\/\/uscigem2012.wordpress.com\/wp-admin\/admin-ajax.php", {
| + | |
- | 'action': action,
| + | |
- | '_wpnonce': nonce,
| + | |
- | 'source': 'admin_bar',
| + | |
- | 'blog_url': "uscigem2012.wordpress.com" });
| + | |
- | });
| + | |
- | });
| + | |
- | /* ]]> */
| + | |
- | </script>
| + | |
- | | + | |
- | <script type="text/javascript">
| + | |
- | /* <![CDATA[ */
| + | |
- | (function($){
| + | |
- | $(document).on( 'ready post-load', function() {
| + | |
- | | + | |
- | $('#wpadminbar li#wp-admin-bar-wpl-like > a, .wpl-button > a.like, .wpl-button > a.liked').click( function() {
| + | |
- | var $link, postid, islikable, count, likeText, $wplbox, $wplbutton, $wplbuttonlink, $wplcount, $wplavatars;
| + | |
- | var timeout = 0;
| + | |
- | var action;
| + | |
- |
| + | |
- | function postLikeFollow( path ) {
| + | |
- | $( path ).click( function(e) {
| + | |
- | e.preventDefault();
| + | |
- | var link = $(this);
| + | |
- | var nonce = link.attr( 'href' ).split( '_wpnonce=' );
| + | |
- | nonce = nonce[1];
| + | |
- | action = 'ab_subscribe_to_blog';
| + | |
- |
| + | |
- | $.post( 'http://uscigem2012.wordpress.com/wp-admin/admin-ajax.php', {
| + | |
- | 'action': action,
| + | |
- | '_wpnonce': nonce,
| + | |
- | 'source': 'after_like',
| + | |
- | 'blog_url': 'uscigem2012.wordpress.com'
| + | |
- | });
| + | |
- |
| + | |
- |
| + | |
- | $( '.wpl-follow' ).html( 'Following' );
| + | |
- | | + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').html( 'Following' ).parent( 'li' ).removeClass( 'unfollow' ).addClass( 'subscribed' );
| + | |
- |
| + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').bind( 'mouseover.unfollow', function() {
| + | |
- | $(this).html( 'Unfollow' ).parent( 'li' ).addClass( 'unfollow' );
| + | |
- | });
| + | |
- |
| + | |
- | $('#wpadminbar #wp-admin-bar-follow > a').bind( 'mouseout.unfollow', function() {
| + | |
- | $(this).html( 'Following' ).parent( 'li' ).removeClass( 'unfollow' );
| + | |
- | });
| + | |
- |
| + | |
- | return false;
| + | |
- | }); }
| + | |
- |
| + | |
- | function postLikeFollowPrompt() {
| + | |
- | var text = ' <span class="wpl-follow"><a href="http://wordpress.com/read?b=38761695&_wpnonce=d72447270a">Follow this Blog?</a></span>';
| + | |
- | if ( $( '#wpadminbar #wp-admin-bar-follow > a span' ).html() != 'Following' && $( '#wpadminbar #wp-admin-bar-follow > a' ).html() != 'Following' )
| + | |
- | return text;
| + | |
- | return '';
| + | |
- | }
| + | |
- | | + | |
- | $link = $(this);
| + | |
- | islikable = 1;
| + | |
- | count = 0;
| + | |
- | if ( ! islikable ) {
| + | |
- | $wplbox = $(this).parents('div.wpl-likebox');
| + | |
- | $wplbutton = $(this).parent();
| + | |
- | } else {
| + | |
- | $wplbox = $('div.wpl-likebox');
| + | |
- | $wplbutton = $('.wpl-button');
| + | |
- | }
| + | |
- | $wplbuttonlink = $wplbutton.children('a');
| + | |
- | $wplcount = $wplbutton.siblings('.wpl-count');
| + | |
- | $wplavatars = $wplbutton.siblings('.wpl-avatars');
| + | |
- |
| + | |
- | postid = 2;
| + | |
- | | + | |
- | $wplcount.fadeOut(150);
| + | |
- |
| + | |
- | if ( $wplbuttonlink.hasClass( 'like' ) || $('#wp-admin-bar-wpl-like').hasClass( 'like' ) ) {
| + | |
- | action = 'like_it';
| + | |
- | | + | |
- | if ( 'Be the first to like this.' == $wplcount.html() )
| + | |
- | likeText = 'You like this.' + postLikeFollowPrompt();
| + | |
- | else if ( 'One blogger likes this.' == $wplcount.html() ) {
| + | |
- | count = 1;
| + | |
- | likeText = 'You and one other blogger like this.' + postLikeFollowPrompt();
| + | |
- | } else {
| + | |
- | count = $wplcount.children('.wpl-count-number').text();
| + | |
- | likeText = "You and <span class=\"wpl-count-number\">%%count%%<\/span> other bloggers like this.".replace( '%%count%%', count ) + postLikeFollowPrompt();
| + | |
- | }
| + | |
- |
| + | |
- | $wplbuttonlink.fadeOut(150, function() {
| + | |
- | $wplbuttonlink.removeClass('like');
| + | |
- | $wplbuttonlink.addClass('liked');
| + | |
- | $wplbox.addClass('liked');
| + | |
- | | + | |
- | $wplcount.html( likeText );
| + | |
- | postLikeFollow( '.wpl-count .wpl-follow > a' );
| + | |
- |
| + | |
- | if ( !$wplavatars.length ) {
| + | |
- | $wplcount.after('<ul class="wpl-avatars"><li class="wp-liker-me"><a title="uscigem2012" href="http://gravatar.com/uscigem2012" class="wpl-liker" rel="nofollow"><img src="http://gravatar.com/avatar/1c1cf0d86c1e9e1bf42529b9bb55352e?s=30&d=wavatar" alt="My Grav" width="30" height="30" /></a></li></ul>').hide();
| + | |
- | $wplavatars.children('a:first').hide().fadeIn(850);
| + | |
- | } else {
| + | |
- | $wplavatars.prepend('<li class="wp-liker-me"><a href="http://gravatar.com/uscigem2012" class="wpl-liker" rel="nofollow"><img src="http://gravatar.com/avatar/1c1cf0d86c1e9e1bf42529b9bb55352e?s=30&d=wavatar" alt="My Grav" width="30" height="30" style="padding-right: 3px;" /></a></li>');
| + | |
- | $wplavatars.children('a:first').hide();
| + | |
- | }
| + | |
- | | + | |
- | $wplcount.fadeIn(150);
| + | |
- | $wplbuttonlink.html('<span>Liked</span>').fadeIn(150, function() {
| + | |
- | $wplavatars.children('a:first').fadeIn(550);
| + | |
- | });
| + | |
- | });
| + | |
- | | + | |
- | if ( $link.hasClass( 'ab-item' ) ) {
| + | |
- | $link.parents( 'li' ).append( $( 'div.wpcom-bubble' ).css( { left: '-83px' } ) );
| + | |
- | $( 'div.bubble-txt', 'div.wpcom-bubble' ).html( likeText + ' View <a target="_blank" href="http://wordpress.com/#!/read/likes/">Posts I Like</a> to see all the posts you\'ve liked.' );
| + | |
- | $( 'div.wpcom-bubble' ).not('.wpcom-follow-bubble').addClass( 'fadein' );
| + | |
- |
| + | |
- | setTimeout( function() {
| + | |
- | $('body').on( 'click.bubble touchstart.bubble', function(e) {
| + | |
- | if ( !$(e.target).hasClass('wpcom-bubble') && !$(e.target).parents( 'div.wpcom-bubble' ).length )
| + | |
- | hideBubble();
| + | |
- | });
| + | |
- | setTimeout( hideBubble, 10000 );
| + | |
- | }, 500 );
| + | |
- | }
| + | |
- | | + | |
- | if ( islikable ) {
| + | |
- | if ( $link.parent().hasClass('ab-wpl-like') ) {
| + | |
- | timeout = 1200;
| + | |
- | $('#wpadminbar li#wp-admin-bar-wpl-like a').addClass('loading');
| + | |
- | }
| + | |
- | | + | |
- | setTimeout( function() {
| + | |
- | $('#wpadminbar li#wp-admin-bar-wpl-like').removeClass('like').addClass('liked');
| + | |
- | $('#wpadminbar li#wp-admin-bar-wpl-like > a').removeClass('loading').html('<span>Unlike</span>');
| + | |
- | }, timeout );
| + | |
- | }
| + | |
- | } else {
| + | |
- | action = 'unlike_it';
| + | |
- | | + | |
- | $wplbuttonlink.fadeOut(150, function() {
| + | |
- | $wplbuttonlink.removeClass('liked');
| + | |
- | $wplbuttonlink.addClass('like');
| + | |
- | $wplbox.removeClass('liked');
| + | |
- | $wplbox.addClass('like');
| + | |
- | | + | |
- | if ( 'You like this.' == $wplcount.html() ) {
| + | |
- | $wplcount.html('Be the first to like this.');
| + | |
- | } else if ( 'You and one other blogger like this.' == $wplcount.html() ) {
| + | |
- | count = 1;
| + | |
- | $wplcount.html('One blogger likes this.');
| + | |
- | } else {
| + | |
- | count = $wplcount.children('.wpl-count-number').text();
| + | |
- | $wplcount.html( "<span class=\"wpl-count-number\">%%count%%<\/span> bloggers like this.".replace( '%%count%%', count ) );
| + | |
- | }
| + | |
- | | + | |
- | $wplavatars.children('li.wp-liker-me').remove();
| + | |
- | $wplcount.fadeIn(150);
| + | |
- | $wplbuttonlink.html('<span>Like</span>').fadeIn(150);
| + | |
- | });
| + | |
- | | + | |
- | if ( islikable ) {
| + | |
- | if ( $link.parent().hasClass('ab-wpl-like') ) {
| + | |
- | timeout = 1200;
| + | |
- | $('#wpadminbar li#wp-admin-bar-wpl-like a').addClass('loading');
| + | |
- | }
| + | |
- | | + | |
- | setTimeout( function() {
| + | |
- | $('#wpadminbar li#wp-admin-bar-wpl-like').removeClass('liked').addClass('like');
| + | |
- | $('#wpadminbar li#wp-admin-bar-wpl-like > a').removeClass('loading').html('<span>Like</span>');
| + | |
- | }, timeout );
| + | |
- | }
| + | |
- | }
| + | |
- | | + | |
- | var nonce = $link.attr('href').split('_wpnonce=');
| + | |
- | nonce = nonce[1];
| + | |
- | | + | |
- | $.post( 'http://uscigem2012.wordpress.com/wp-admin/admin-ajax.php', {
| + | |
- | 'action': action,
| + | |
- | '_wpnonce': nonce,
| + | |
- | 'blog_id': 38761695,
| + | |
- | 'post_id': postid
| + | |
- | });
| + | |
- | return false;
| + | |
- | });
| + | |
- | });
| + | |
- | })(jQuery);
| + | |
- | /* ]]> */
| + | |
- | </script>
| + | |
- | | + | |
- | <script type='text/javascript' src='http://s.gravatar.com/js/gprofiles.js?ver=201239ab'></script>
| + | |
- | <script type='text/javascript'>
| + | |
- | /* <![CDATA[ */
| + | |
- | var WPGroHo = {"my_hash":"1c1cf0d86c1e9e1bf42529b9bb55352e"};
| + | |
- | /* ]]> */
| + | |
- | </script>
| + | |
- | <script type='text/javascript' src='http://s1.wp.com/wp-content/mu-plugins/gravatar-hovercards/wpgroho.js?m=1318621548g'></script>
| + | |
- | <script>jQuery(document).ready(function($){ Gravatar.profile_cb = function( h, d ) { WPGroHo.syncProfileData( h, d ); }; Gravatar.my_hash = WPGroHo.my_hash; Gravatar.init( 'body', '#wp-admin-bar-my-account' ); });</script> <div style="display:none">
| + | |
- | </div>
| + | |
- | <script type='text/javascript'>
| + | |
- | /* <![CDATA[ */
| + | |
- | var HighlanderComments = {"loggingInText":"Logging In\u2026","submittingText":"Posting Comment\u2026","postCommentText":"Post Comment","connectingToText":"Connecting to %s","commentingAsText":"%1$s: You are commenting using your %2$s account.","logoutText":"Log Out","loginText":"Log In","connectURL":"http:\/\/uscigem2012.wordpress.com\/public.api\/connect\/?action=request","logoutURL":"http:\/\/uscigem2012.wordpress.com\/wp-login.php?action=logout&_wpnonce=befa14c838","homeURL":"http:\/\/uscigem2012.wordpress.com\/","postID":"2","gravDefault":"identicon","enterACommentError":"Please enter a comment","enterEmailError":"Please enter your email address here","invalidEmailError":"Invalid email address","enterAuthorError":"Please enter your name here","gravatarFromEmail":"This picture will show whenever you leave a comment. Click to customize it.","logInToExternalAccount":"Log in to use details from one of these accounts.","change":"Change","changeAccount":"Change Account","comment_registration":"0","userIsLoggedIn":"1","isJetpack":"0"};
| + | |
- | /* ]]> */
| + | |
- | </script>
| + | |
- | <script type='text/javascript' src='http://s0.wp.com/wp-content/mu-plugins/highlander-comments/script.js?m=1342824083g'></script>
| + | |
- | <script type="text/javascript" src="http://b.scorecardresearch.com/beacon.js"></script><script type="text/javascript">try{COMSCORE.beacon({c1:2,c2:7518284});}catch(e){}</script><noscript><p class="robots-nocontent"><img src="http://b.scorecardresearch.com/p?cj=1c1=2&c2=7518284" alt="" style="display:none" width="1" height="1" /></p></noscript><script type='text/javascript' src='http://s2.wp.com/_static/??/wp-includes/js/admin-bar.js,/wp-content/js/devicepx.js?m=1346791564j'></script>
| + | |
- | <script type='text/javascript'>
| + | |
- | /* <![CDATA[ */
| + | |
- | var kissmetrics = {"api_key":"1a5dae51d4d383f128e683a5d7774363d60b5f5d","username":"uscigem2012"};
| + | |
- | /* ]]> */
| + | |
- | </script>
| + | |
- | <script type='text/javascript' src='http://s0.wp.com/wp-content/mu-plugins/kissmetrics/kissmetrics.js?m=1347939810g&ver=3.5-alpha-21535'></script>
| + | |
- | <script type='text/javascript' src='http://s2.wp.com/_static/??/wp-includes/js/underscore.min.js,/wp-includes/js/backbone.min.js,/wp-content/js/mustache.js,/wp-content/mu-plugins/notes/notes-rest-common.js,/wp-content/themes/pub/triton-lite/js/masonry.js,/wp-content/themes/pub/triton-lite/js/imagesloaded.js,/wp-content/themes/pub/triton-lite/js/hoverIntent.js,/wp-content/themes/pub/triton-lite/js/triton-lite.js,/wp-content/mu-plugins/notes/admin-bar-rest.js,/wp-content/js/postmessage.js?m=1348776558j'></script>
| + | |
- | <script type="text/javascript">
| + | |
- | // <![CDATA[
| + | |
- | (function() {
| + | |
- | try{
| + | |
- | if ( window.external &&'msIsSiteMode' in window.external) {
| + | |
- | if (window.external.msIsSiteMode()) {
| + | |
- | var jl = document.createElement('script');
| + | |
- | jl.type='text/javascript';
| + | |
- | jl.async=true;
| + | |
- | jl.src='/wp-content/plugins/ie-sitemode/custom-jumplist.php';
| + | |
- | var s = document.getElementsByTagName('script')[0];
| + | |
- | s.parentNode.insertBefore(jl, s);
| + | |
- | }
| + | |
- | }
| + | |
- | }catch(e){}
| + | |
- | })();
| + | |
- | // ]]>
| + | |
- | </script><script src="http://s.stats.wordpress.com/w.js?21" type="text/javascript"></script>
| + | |
- | <script type="text/javascript">
| + | |
- | st_go({'blog':'38761695','v':'wpcom','user':'1','user_id':'38193600','post':'2','subd':'uscigem2012'});
| + | |
- | ex_go({'crypt':'UE40eW5QN0p8M2Y/RE1zNDZ8S252Wis9XUQyb3YrcUVIU2R0VH5TdWI5d350TFdaeXR4OFRqWUoyfFtuRV9iJXctZy1TVzc4c2wuM1csUD0vWjVrX0o3dnJzOV8vM1hNLy0xK250NE5aVW1KUUhFRVJ3Ky1nU1ZJUWEtdkNob3I5b1o3X2QmJXRSW3crMzIsSE5LPzMsSDJHb3E/Z1pmMGc1SWc2PWolUC5FRV01ZWg9c01Pek14SVFiSGlpaFpDRlRxM1hMel1SVUUuWmllRkFBS29sTlJ0WU9oR2R1eEdncW5LUS9zYWU9Zk5Mb0UwOU5ldHRy'});
| + | |
- | </script>
| + | |
- | <noscript><img src="http://stats.wordpress.com/b.gif?v=noscript" style="height:0px;width:0px;overflow:hidden" alt="" /></noscript>
| + | |
- | <script type="text/javascript">
| + | |
- | jQuery(document).ready( function($) {
| + | |
- | var iptOpen, iptClose;
| + | |
- | | + | |
- | iptOpen = function() {
| + | |
- | var iframe = $( 'iframe#ab-post' );
| + | |
- | | + | |
- | $( '#wp-admin-bar-ab-new-post' ).addClass('hover');
| + | |
- | | + | |
- | if ( ! iframe.length ) {
| + | |
- | iframe = $( '<iframe id="ab-post" name="ab-post" src="http://postto.wordpress.com/?abpost&bid=38761695"></iframe>' );
| + | |
- | | + | |
- | $( 'body' ).prepend( '<div id="ab-post-options"><a href="" id="ab-close-button">Close</a> | <a href="" id="ab-popout-button">Pop-out</a></div>' );
| + | |
- | $( 'div#ab-post-options' ).hide();
| + | |
- | $( 'body' ).prepend( iframe );
| + | |
- | iframe.unbind( 'load' ).bind( 'load', function() { $( 'div#ab-post-options' ).fadeIn(); });
| + | |
- |
| + | |
- | } else {
| + | |
- | iframe.animate( { 'height': '289px' }, 350, function() {
| + | |
- | $(this).removeClass( 'noborder' );
| + | |
- | $( 'div#ab-post-options' ).fadeIn();
| + | |
- | } );
| + | |
- | }
| + | |
- | | + | |
- | $( 'body, #wpadminbar' ).animate( { 'margin-top': '293px' }, 350 );
| + | |
- | $( 'iframe#ab-post' ).animate( { 'height': '293px' }, 350 );
| + | |
- | };
| + | |
- | | + | |
- | iptClose = function() {
| + | |
- | $( '#wp-admin-bar-ab-new-post' ).removeClass('hover').mouseout();
| + | |
- | | + | |
- | $( 'div#ab-post-options' ).hide();
| + | |
- | $( 'iframe#ab-post' ).addClass( 'noborder' ).animate( { 'height': '0' }, 300 );
| + | |
- | $( 'body, #wpadminbar' ).animate( { 'margin-top': '0' }, 300 );
| + | |
- | };
| + | |
- | | + | |
- | // move all clicks to the body tag
| + | |
- | $('body').bind('click.iptframe', function(e) {
| + | |
- | var t = $(e.target);
| + | |
- | | + | |
- | if ( t.is( '#wp-admin-bar-ab-new-post a' ) ) {
| + | |
- | e.preventDefault();
| + | |
- | if ( !$( 'iframe#ab-post' ).height() > 0 )
| + | |
- | iptOpen();
| + | |
- | else
| + | |
- | iptClose();
| + | |
- | } else if ( t.is( '#ab-close-button' ) ) {
| + | |
- | e.preventDefault();
| + | |
- | iptClose();
| + | |
- | } else if ( t.is( '#ab-popout-button' ) ) {
| + | |
- | e.preventDefault();
| + | |
- | window.open( 'http://postto.wordpress.com/?abpost&bid=38761695', 'popoutpost', 'width=850, height=320' );
| + | |
- | iptClose();
| + | |
- | }
| + | |
- | });
| + | |
- | });
| + | |
- | </script>
| + | |
- | <script>
| + | |
- | var wpNotesA8CUser = false ;
| + | |
- | </script>
| + | |
- | <script type="text/javascript">
| + | |
- | (function() {
| + | |
- | var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');
| + | |
- | | + | |
- | request = true;
| + | |
- | | + | |
- | b[c] = b[c].replace( rcs, '' );
| + | |
- | b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
| + | |
- | }());
| + | |
- | </script>
| + | |
- | <div id="wpadminbar" class="nojq nojs ltr" role="navigation">
| + | |
- | <a class="screen-reader-text screen-reader-shortcut" href="#wp-toolbar" tabindex="1">Skip to toolbar</a>
| + | |
- | <div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="Top navigation toolbar.">
| + | |
- | <ul id="wp-admin-bar-root-default" class="ab-top-menu">
| + | |
- | <li id="wp-admin-bar-newdash" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://wordpress.com/"><span id="newdash-icon">WordPress.com</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-newdash-default" class="ab-submenu">
| + | |
- | <li id="wp-admin-bar-newdash-new-post"><a class="ab-item" href="http://wordpress.com/#!/post/">New Post</a> </li>
| + | |
- | <li id="wp-admin-bar-newdash-read-blogs"><a class="ab-item" href="http://wordpress.com/#!/read/">Reader</a> </li>
| + | |
- | <li id="wp-admin-bar-newdash-notifications"><a class="ab-item" href="http://wordpress.com/#!/notifications/">Notifications</a> </li>
| + | |
- | <li id="wp-admin-bar-newdash-stats"><a class="ab-item" href="http://wordpress.com/#!/my-stats/">Stats</a> </li>
| + | |
- | <li id="wp-admin-bar-newdash-my-blogs"><a class="ab-item" href="http://wordpress.com/#!/my-blogs/">My Blog</a> </li>
| + | |
- | <li id="wp-admin-bar-newdash-freshly-pressed"><a class="ab-item" href="http://wordpress.com/#!/fresh/">Freshly Pressed</a> </li>
| + | |
- | <li id="wp-admin-bar-newdash-settings"><a class="ab-item" href="http://wordpress.com/#!/settings/">Settings</a> </li></ul></div> </li>
| + | |
- | <li id="wp-admin-bar-jumptotop-button-menu"><a class="ab-item" href="#"><div id="jumptotop"><span class="noticon noticon-top"></span></div></a> </li>
| + | |
- | <li id="wp-admin-bar-blog" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://uscigem2012.wordpress.com/">Project Title Goes H…</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-blog-default" class="ab-submenu">
| + | |
- | <li id="wp-admin-bar-dashboard"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/">Dashboard</a> </li>
| + | |
- | <li id="wp-admin-bar-edit"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/post.php?post=2&action=edit">Edit</a> </li>
| + | |
- | <li id="wp-admin-bar-new-content" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://uscigem2012.wordpress.com/wp-admin/post-new.php?post_type=post">New</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-new-content-default" class="ab-submenu">
| + | |
- | <li id="wp-admin-bar-new-post"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/post-new.php?post_type=post">Post</a> </li>
| + | |
- | <li id="wp-admin-bar-new-page"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/post-new.php?post_type=page">Page</a> </li>
| + | |
- | <li id="wp-admin-bar-new-media"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/media-new.php">Media</a> </li>
| + | |
- | <li id="wp-admin-bar-new-link"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/link-add.php">Link</a> </li></ul></div> </li>
| + | |
- | <li id="wp-admin-bar-comments"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/edit-comments.php">Comments</a> </li>
| + | |
- | <li id="wp-admin-bar-customize" class="hide-if-no-customize"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/customize.php">Customize</a> </li>
| + | |
- | <li id="wp-admin-bar-widgets"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/widgets.php">Widgets</a> </li></ul><ul id="wp-admin-bar-blog-secondary" class="ab-sub-secondary ab-submenu">
| + | |
- | <li id="wp-admin-bar-shortlink"><a class="ab-item" href="http://wp.me/P2CDGD-2">Shortlink http://wp.me/P2CDGD-2</a>Shortlink: <input id="adminbar-shortlink-input" value="http://wp.me/P2CDGD-2" readonly="readonly" /> </li>
| + | |
- | <li id="wp-admin-bar-random-post" class="menu-item-random-post"><a class="ab-item" href="http://uscigem2012.wordpress.com/?random">Random Post</a> </li>
| + | |
- | <li id="wp-admin-bar-report-as-mature"><a class="ab-item" href="http://wordpress.com/report-mature/?url=uscigem2012.wordpress.com">Report as mature</a> </li>
| + | |
- | <li id="wp-admin-bar-theme-triton-lite"><a class="ab-item" href="http://theme.wordpress.com/themes/triton-lite/">Theme: Triton Lite</a> </li></ul></div> </li>
| + | |
- | <li id="wp-admin-bar-follow"><a class="ab-item" href="http://wordpress.com/read?b=38761695&_wpnonce=d72447270a"><span id="admin-bar-follow-link">Follow</span></a> </li>
| + | |
- | <li id="wp-admin-bar-wpl-like" class="like"><a class="ab-item" href="http://uscigem2012.wordpress.com/?like=1&_wpnonce=5938d7d655">Like</a> </li>
| + | |
- | <li id="wp-admin-bar-stats"><a class="ab-item" href="http://wordpress.com/#!/my-stats/"><div><script type='text/javascript'>var src;if(typeof(window.devicePixelRatio)=='undefined'||window.devicePixelRatio<2){src='/wp-includes/charts/admin-bar-hours-scale.php';}else{src='/wp-includes/charts/admin-bar-hours-scale-2x.php';}document.write('<img src=\''+src+'\' alt=\'Stats\' title=\'Showing site views per hour for the last 48 hours. Click for full Site Stats.\' />');</script></div></a> </li></ul><ul id="wp-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
| + | |
- | <li id="wp-admin-bar-search" class="admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form id='adminbarsearch' name='adminbarsearch' action='http://en.search.wordpress.com' type='get'>
| + | |
- | <input class='adminbar-search-input' name='q' id='q' type='text' value='' maxlength='150' tabindex='10' />
| + | |
- | <input type="hidden" name="site" value="uscigem2012.wordpress.com" />
| + | |
- | </form></div> </li>
| + | |
- | <li id="wp-admin-bar-my-account" class="menupop with-avatar"><a class="ab-item" aria-haspopup="true" href="http://wordpress.com/#!/settings/"><span class="ab-display-name">uscigem2012</span><img alt='' src='http://1.gravatar.com/avatar/1c1cf0d86c1e9e1bf42529b9bb55352e?s=32&d=mm&r=G' class='avatar avatar-32' height='32' width='32' /></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user-actions" class="ab-submenu">
| + | |
- | <li id="wp-admin-bar-user-info" class="user-info user-info-item"><a class="ab-item" tabindex="-1" href="#"><a href="http://wordpress.com/#!/settings/"><img alt='' src='http://1.gravatar.com/avatar/1c1cf0d86c1e9e1bf42529b9bb55352e?s=128&d=mm&r=G' class='avatar avatar-128' height='128' width='128' /><span class="display-name">uscigem2012</span><span class="username">uscigem2012</span></a></a> </li>
| + | |
- | <li id="wp-admin-bar-find-friends" class="user-info-item"><a class="ab-item" href="http://wordpress.com/#!/read/find-friends/">Find Friends</a> </li>
| + | |
- | <li id="wp-admin-bar-manage-blogs" class="user-info-item"><a class="ab-item" href="http://wordpress.com/#!/my-blogs/">Manage My Blogs</a> </li>
| + | |
- | <li id="wp-admin-bar-help" class="user-info-item"><a class="ab-item" href="http://en.support.wordpress.com/">Help</a> </li>
| + | |
- | <li id="wp-admin-bar-logout" class="user-info-item"><a class="ab-item" href="http://wordpress.com/wp-login.php?action=logout&redirect_to=http%3A%2F%2Fwordpress.com%2F">Sign Out</a> </li></ul><ul id="wp-admin-bar-my-sites" class="ab-sub-secondary ab-submenu">
| + | |
- | <li id="wp-admin-bar-blog-38761695" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://uscigem2012.wordpress.com/"><img src="http://s2.wp.com/i/wpmini-blue.png?m=1311732102g" alt="Blavatar" width="16" height="16" />Project Title Goes Here</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-blog-38761695-default" class="ab-submenu">
| + | |
- | <li id="wp-admin-bar-blog-38761695-d"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/">Dashboard</a> </li>
| + | |
- | <li id="wp-admin-bar-blog-38761695-n"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/post-new.php">New Post</a> </li>
| + | |
- | <li id="wp-admin-bar-blog-38761695-s"><a class="ab-item" href="http://wordpress.com/#!/my-stats/?blog=38761695">Site Stats</a> </li>
| + | |
- | <li id="wp-admin-bar-blog-38761695-c"><a class="ab-item" href="http://uscigem2012.wordpress.com/wp-admin/edit-comments.php">Manage Comments</a> </li>
| + | |
- | <li id="wp-admin-bar-blog-38761695-v"><a class="ab-item" href="http://uscigem2012.wordpress.com">Read Blog</a> </li></ul></div> </li></ul></div> </li>
| + | |
- | <li id="wp-admin-bar-notes" class="menupop"><div class="ab-item ab-empty-item" ><span id="wpnt-notes-unread-count" class="wpnt-loading wpn-read">
| + | |
- | <span class="noticon noticon-notification" /></span>
| + | |
- | </span></div><div id="wpnt-notes-panel" style="display:none"><div class="wpnt-notes-panel-header"><span class="wpnt-notes-header">Notifications</span><span class="wpnt-notes-panel-link"></span></div></div> </li>
| + | |
- | <li id="wp-admin-bar-ab-new-post"><a class="ab-item" href="http://wordpress.com/#!/post/">New Post</a> </li></ul> </div>
| + | |
- | <a class="screen-reader-text screen-reader-shortcut" href="http://uscigem2012.wordpress.com/wp-login.php?action=logout&_wpnonce=befa14c838">Log Out</a>
| + | |
- | </div>
| + | |
- | | + | |
- |
| + | |
- | <script type="text/javascript">
| + | |
- | /* <![CDATA[ */
| + | |
- | var clickDebugLink;
| + | |
- | | + | |
- | jQuery(document).ready( function($) {
| + | |
- | var single = false, w = 1000,
| + | |
- | supe = false;
| + | |
- | | + | |
- | $(document.body).load(function(){ $('#wpadminbar img.grav-hashed').removeClass('grav-hashed'); }); // hack to hide the gravatar hovercard
| + | |
- | | + | |
- | if ( single && supe )
| + | |
- | w = 1385;
| + | |
- | else if ( supe )
| + | |
- | w = 1200;
| + | |
- | | + | |
- | // debug bar extra
| + | |
- | clickDebugLink = function( parent_id, obj ) {
| + | |
- | | + | |
- | $('#'+parent_id).children('div').hide();
| + | |
- | | + | |
- | document.getElementById( obj.href.substr( obj.href.indexOf( '#' ) + 1 ) ).style.display = 'block';
| + | |
- | $( obj.href.substr( obj.href.indexOf( '#' ) ) ).show()
| + | |
- | | + | |
- | $(obj).parent().addClass('current').siblings('li').removeClass('current');
| + | |
- | | + | |
- | return false;
| + | |
- | };
| + | |
- | | + | |
- | $('#wpadminbar li ul').each( function(i, el) {
| + | |
- | | + | |
- | // DISABLE SCROLLING MENUS
| + | |
- | // @todo: Update scrolling menus for 3.3.
| + | |
- | return;
| + | |
- | | + | |
- | var ul = $(el), li = ul.children('li').not('.adminbar-handle, #wp-admin-bar-my-account-info'),
| + | |
- | handle, index = 0, step = 3, len = li.length, size;
| + | |
- | | + | |
- | if ( 'wp-admin-bar-my-account-with-avatar' == $( this ).parent().attr( 'id' ) )
| + | |
- | size = Math.round( ( $( window ).height() - 354 ) / 28 );
| + | |
- | else
| + | |
- | size = Math.round( ( $( window ).height() - 170 ) / 28 );
| + | |
- | | + | |
- | if ( !ul.length || len < size + 1 || $('li:first', ul).is('.handle-top') )
| + | |
- | return;
| + | |
- | | + | |
- | if ( len - size < 3 )
| + | |
- | step = len - size;
| + | |
- | | + | |
- | handle = $('<li class="adminbar-handle" />');
| + | |
- | | + | |
- | if ( 'wp-admin-bar-my-account-with-avatar' == $( this ).parent().attr( 'id' ) ) {
| + | |
- | $( '#wp-admin-bar-my-account-info' ).after( handle.clone().addClass('handle-top scrollend') );
| + | |
- | $( '#wp-admin-bar-my-account-info' ).css( {'padding-bottom': '15px'} );
| + | |
- | ul.css( {'padding-bottom': '15px'} );
| + | |
- | } else {
| + | |
- | ul.css({'padding': '15px 0'}).prepend( handle.clone().addClass('handle-top scrollend') );
| + | |
- | }
| + | |
- | | + | |
- | ul.append( handle.addClass('handle-bottom') );
| + | |
- | | + | |
- | li.slice(size).hide();
| + | |
- | | + | |
- | $('li.adminbar-handle', ul).click(function(e){
| + | |
- | e.stopPropagation();
| + | |
- | | + | |
- | if ( $(this).hasClass('handle-top') ) {
| + | |
- | if ( li.first().is(':visible') )
| + | |
- | return;
| + | |
- | | + | |
- | index -= step;
| + | |
- | $('.handle-bottom', ul).removeClass('scrollend');
| + | |
- | | + | |
- | if ( index <= 0 ) {
| + | |
- | index = 0;
| + | |
- | $(this).addClass('scrollend');
| + | |
- | }
| + | |
- | | + | |
- | li.slice(index, index + step).show();
| + | |
- | li.slice(index + size, index + size + step).hide();
| + | |
- | } else {
| + | |
- | if ( li.last().is(':visible') )
| + | |
- | return;
| + | |
- | | + | |
- | index += step;
| + | |
- | | + | |
- | $('.handle-top', ul).removeClass('scrollend');
| + | |
- | | + | |
- | if ( index >= len - size ) {
| + | |
- | index = len - size;
| + | |
- | $(this).addClass('scrollend');
| + | |
- | }
| + | |
- | | + | |
- | li.slice(index - step, index).hide();
| + | |
- | li.slice(index + (size - step), index + size).show();
| + | |
- | }
| + | |
- | });
| + | |
- | });
| + | |
- | | + | |
- | $( '#wpadminbar #wp-admin-bar-shortlink' ).click( function() {
| + | |
- | $( '#adminbar-shortlink-input' ).select();
| + | |
- | });
| + | |
- | | + | |
- | $( '#wpadminbar #adminbarsearch .adminbar-search-input' ).focus( function() {
| + | |
- | $( '#wpadminbar #adminbarsearch input' ).addClass( 'search-input-focus' );
| + | |
- | $( '#wpadminbar #wp-admin-bar-search' ).addClass( 'search-input-focus' );
| + | |
- | });
| + | |
- | | + | |
- | $( '#wpadminbar #adminbarsearch .adminbar-search-input' ).focusout( function() {
| + | |
- | $( '#wpadminbar #adminbarsearch input.adminbar-search-input' ).removeClass( 'search-input-focus' );
| + | |
- | $( '#wpadminbar #wp-admin-bar-search' ).removeClass( 'search-input-focus' );
| + | |
- | });
| + | |
- | | + | |
- | });
| + | |
- | /* ]]> */
| + | |
- | </script>
| + | |
- | <div class="wpcom-bubble action-bubble">
| + | |
- | <div class="bubble-txt"></div>
| + | |
- | </div>
| + | |
- | <script type="text/javascript">function hideBubble() { jQuery('body').append( jQuery( 'div.wpcom-bubble' ).removeClass( 'fadein' ) ).off( 'click.bubble touchstart.bubble' ); jQuery(document).off( 'scroll.bubble' ); };</script>
| + | |
- | <script type="text/javascript">
| + | |
- | jQuery( '#wp-admin-bar-jumptotop-button-menu a' ).click( function( e ) {
| + | |
- | e.preventDefault();
| + | |
- | jQuery( 'html, body' ).animate( { scrollTop: 0 }, 'fast' );
| + | |
- | } );
| + | |
- | function hideShowTbJumpToTop() {
| + | |
- | var total_width = 0;
| + | |
- | // Calculate total width taken by li's minus our button to see if we it'll
| + | |
- | // overlap with other toolbar menus.
| + | |
- | jQuery( '#wp-admin-bar-root-default > li' ).each( function() {
| + | |
- | var self = jQuery( this );
| + | |
- | if ( 'wp-admin-bar-jumptotop-button-menu' != self.attr( 'id' ) )
| + | |
- | total_width += self.width();
| + | |
- | });
| + | |
- | if ( jQuery( '#wp-admin-bar-jumptotop-button-menu' ).position()['left'] - total_width < 10 ) {
| + | |
- | jQuery( '#jumptotop' ).animate( { 'top': '-50px' }, 'fast' );
| + | |
- | } else if ( jQuery( window ).scrollTop() >= 350 && parseInt( jQuery( '#jumptotop' ).css( 'top' ) ) < 0 ) {
| + | |
- | if ( jQuery( '#wp-admin-bar-jumptotop-button-menu' ).position()['left'] - total_width < 10 )
| + | |
- | return;
| + | |
- | jQuery( '#jumptotop' ).animate( { 'top': 0 }, 'fast' );
| + | |
- | } else if ( jQuery( window ).scrollTop() < 1 && parseInt( jQuery( '#jumptotop' ).css( 'top' ) ) >= 0 ) {
| + | |
- | jQuery( '#jumptotop' ).animate( { 'top': '-50px' }, 'fast' );
| + | |
- | }
| + | |
- | }
| + | |
- | // handle on page load if auto scrolling to a position
| + | |
- | hideShowTbJumpToTop();
| + | |
- | // bind to scrolll event
| + | |
- | jQuery( window ).scroll( function() {
| + | |
- | hideShowTbJumpToTop();
| + | |
- | } );
| + | |
- | </script>
| + | |
- | </body>
| + | |
| </html> | | </html> |