This file contains 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="map-detail" class="notransform"> | |
<div class="toolbar"> | |
<h1>Map Details</h1> | |
<a href="#" class="back">Back</a> | |
</div> | |
<div id="map-container" class="notransform"> | |
<div id="map-info"> | |
<div> |
This file contains 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
$(document).ready(function() { | |
if ($('body').hasClass('fullscreen')) { | |
alert("fullscreen"); | |
} | |
}); |
This file contains 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
/* MAPS */ | |
#map-info { | |
position: absolute; | |
z-index: 1000; | |
top: 45px; | |
background-color: rgb(0,0,0); | |
opacity: .85; | |
width: 100%; | |
padding: 8px 0px 8px 0px; | |
margin: 0; |
This file contains 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(){ | |
$('#jqt').ajaxComplete(function(){ | |
add_ga(); // add google analytics on each page load | |
}); | |
$(document).ready(function() { | |
add_ga(); // add google analytics to the first page | |
}); | |
function add_ga() { |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Private Key</key> | |
<string>Pr1v4t3_K3y</string> | |
</dict> | |
</plist> |
This file contains 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
<VirtualHost *:80> | |
ServerName m.test.edu | |
DocumentRoot /Users/[your_username]/Sites/MIT-Mobile-Web/web | |
<Directory /Users/[your_username]/Sites/MIT-Mobile-Web/web> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None | |
Order allow,deny | |
allow from all | |
</Directory> | |
</VirtualHost> |
This file contains 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
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-XXXXXX-X']); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
This file contains 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> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var f_page = "wvumountaineers"; // the page name for your fan page, e.g. the 'wvumountaineers' part of http://facebook.com/wvumountaineers | |
var t_page = "westvirginiau"; // the account name for your main twitter account | |
function add_commas(number) { | |
if (number.length > 3) { | |
var mod = number.length % 3; |
This file contains 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
javascript:var%20els=document.getElementsByClassName('main-content');els[0].style.width='660px';var%20els=document.getElementsByClassName('dashboard');els[0].style.maxWidth='360px';els[0].style.minWidth='300px';var%20els=document.getElementsByClassName('twitter-anywhere-tweet-box-editor');els[0].style.maxWidth='600px';els[0].style.width='600px';function%20moveTweetName(){var%20els=document.getElementsByClassName('tweet-content');var%20k=0;var%20movedClass = new RegExp('moved\-tweet\-name');while(k<els.length){var%20classes=els[k].className;if(!movedClass.test(classes)){moving=els[k].childNodes[1].cloneNode(true);moving.style.float='left';els[k].insertBefore(moving,els[k].childNodes[4]);els[k].removeChild(els[k].childNodes[1]);els[k].className%20+=%20'%20moved-tweet-name';}k++;}}function%20resizeTweetName(){var%20els=document.getElementsByClassName('tweet-user-name');var%20i=0;while(i<els.length){els[i].style.fontSize='11px';i++;}var%20els=document.getElementsByClassName('tweet-screen-name');var%20i=0;while(i< |
OlderNewer