This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //hostname based google code, only run if on live site - Tom Horak | |
| //placed right before closing body tag according to google best practice: http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=55488 | |
| //moved to right before closing head tag per SEOverflow 05/25/12 | |
| $hostname = $_SERVER['HTTP_HOST']; //dev.zenman.com | localhost | Live server | etc.. | |
| switch ($hostname) { | |
| case 'localhost': //do nothing | |
| //echo '<!-- no google analytics code -->'; | |
| break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Flat Sign In</title> | |
| <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> | |
| </head> | |
| <body> | |
| <div class="main-signin"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $FBid = 'FACEBOOK_ID_HERE'; | |
| //Get the contents of a Facebook page | |
| $FBpage = file_get_contents('https://graph.facebook.com/' . $FBid . '/feed?access_token=ACCESS_TOKEN&limit=4'); | |
| //Interpret data with JSON | |
| $FBdata = json_decode($FBpage); | |
| foreach ($FBdata->data as $news ) | |
| { | |
| //Explode News and Page ID's into 2 values | |
| $StatusID = explode("_", $news->id); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function($) { | |
| var allPanels = $('.accordion > div.acc-content').hide(); | |
| $('.accordion > div.acc-more > a').click(function() { | |
| $this = $(this); | |
| $target = $this.parent().next(); | |
| if(!$target.hasClass('active')){ | |
| allPanels.removeClass('active').slideUp(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <body> | |
| <p>Rebound of <a href="http://dribbble.com/shots/845017-Searchbar?list=popular&offset=529" target="_blank">Searchbar </a> by <a href="http://dribbble.com/taurean" target="_blank">taurean</a> | |
| <div class="wrapper"> | |
| <input type="text" placeholder="Is it me you're looking for?"/> | |
| <div class="search"> | |
| <input type="submit" value="" /> | |
| <div class="icon"></div> | |
| </div> | |
| </div> | |
| </body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <body> | |
| <div class="description"> | |
| <div id="fig1" class="fig fig1"> | |
| <h1>Big</h1> | |
| </div> | |
| <div id="fig2" class="fig fig2"> | |
| <h1>Bigish</h1> | |
| </div> | |
| <div id="fig3" class="fig fig3"> | |
| <h1>Biggah!</h1> |
NewerOlder