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> | |
| <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
| <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
| <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
| <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title>Custom Controls Test</title> |
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
| class Walker_Nav_Menu_Dropdown extends Walker_Nav_Menu{ | |
| function start_lvl(&$output, $depth){ | |
| $indent = str_repeat("\t", $depth); // don't output children opening tag (`<ul>`) | |
| } | |
| function end_lvl(&$output, $depth){ | |
| $indent = str_repeat("\t", $depth); // don't output children closing tag | |
| } | |
| function start_el(&$output, $item, $depth, $args){ |
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
| #import the GOVDataSDK file into your sample project. | |
| require './GOVDataSDK' | |
| #Create a new object and call the extend data set. | |
| API_HOST = 'http://api.dol.gov' | |
| API_KEY = 'c789a707-76b6-470e-8e94-a9bfb9d9a7d6' | |
| API_SECRET = 'bosses_office' | |
| API_URI = 'V1' | |
| API_DATA = 'article/xml' |
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
| SELECT DISTINCT wp_posts.ID, wp_postmeta.meta_value as EventStartDate, IF(tribe_event_duration.meta_value IS NULL, tribe_event_end_date.meta_value, DATE_ADD(CAST(wp_postmeta.meta_value AS DATETIME), INTERVAL tribe_event_duration.meta_value SECOND)) as EventEndDate, tribe_event_duration.meta_value as EventDuration FROM wp_posts INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) AND wp_postmeta.meta_key = '_EventStartDate' LEFT JOIN wp_postmeta as tribe_event_end_date ON ( wp_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = '_EventEndDate' ) LEFT JOIN wp_postmeta as tribe_event_duration ON ( wp_posts.ID = tribe_event_duration.post_id AND tribe_event_duration.meta_key = '_EventDuration' ) WHERE 1=1 AND wp_posts.post_type = 'tribe_events' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') AND (wp_postmeta.meta_key = '_EventStartDate' ) AND ((wp_postmeta.meta_value >= '2013-12-01' AND wp_postmeta.meta_value <= '2013-12-31') OR (IF(tribe_event_duration.m |
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
| <div id="tribe-events-gmap" style="height: 350px; width: 100%; margin-bottom: 15px;"></div><!-- #tribe-events-gmap --> | |
| <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script><script src="http://maps.gstatic.com/intl/en_us/mapfiles/api-3/15/5/main.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| var event_address; | |
| function initialize() { | |
| var myOptions = { | |
| zoom: 15, | |
| center: event_address, | |
| mapTypeId: google.maps.MapTypeId.ROADMAP |
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
| <html id="HTML" xmlns="http://www.w3.org/1999/xhtml" lang="en-us"><head id="PageHead"><title> | |
| Breast Cancer Donations | Donate to BCRF - The Breast Cancer Research Foundation | |
| </title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"><link rel="stylesheet" href="/stylesheet0.635124079126100000.css?id=0&iuqt=1" type="text/css"> | |
| <link rel="stylesheet" href="/stylesheet48.635161518576330000.css?id=48&nodefaults=1&iuqt=1" type="text/css"> | |
| <link rel="stylesheet" href="/stylesheet37.634571552590370000.css?id=37&nodefaults=1&iuqt=1" type="text/css"> | |
| <link rel="stylesheet" href="/stylesheet46.634571562615230000.css?id=46&nodefaults=1&iuqt=1" type="text/css"> | |
| <link rel="stylesheet" href="/Client/Styles/IE8Menu.css?&iuqt=1" type="text/css"> | |
| <link rel="stylesheet" href="/client/styles/jquery/smoothness/jquery-ui-1.7.1.all.css?&iuqt=1" type="text/css"> | |
| <base id="baseId" target="_self"> |
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
| /*Gets all posts with type 'Tribe Events'*/ | |
| SELECT posts.* | |
| FROM wp_posts AS posts | |
| JOIN wp_postmeta AS pm1 | |
| ON (posts.ID = pm1.post_id AND pm1.meta_key = '_EventStartDate') | |
| JOIN wp_term_relationships AS term_relationships | |
| ON posts.ID = term_relationships.object_id | |
| INNER JOIN wp_term_taxonomy AS term_taxonomy | |
| ON term_relationships.term_taxonomy_id = term_taxonomy.term_taxonomy_id | |
| JOIN wp_terms AS terms |
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
| .generate-nav(@n, @i: 1) when (@i =< @n) { | |
| @percent: (@i*-100); | |
| input[type=radio]#slide@{i}:checked ~ .slides { | |
| margin-left: 0; | |
| //.another-rule { needs-to-be: nested-in-here; } | |
| } | |
| .generate-nav(@n, (@i + 1)); | |
| } | |
| .generate-nav(10); |
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
| ### BOX MODEL | |
| http://css-tricks.com/the-css-box-model/ | |
| ### POSITIONING | |
| http://www.w3schools.com/css/css_positioning.asp | |
| ### FLOATS | |
| http://alistapart.com/article/css-floats-101 | |
| http://www.quirksmode.org/css/clearing.html | |
| http://www.w3schools.com/css/css_float.asp |