-
brew list
-
brew uninstall [package_name]
- Remove turbolinks
- Remove
jquery-turbolinks
gem too (if any) - Install this gem
- Bundle install
- Push to Heroku
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() { | |
$("#trackBtn").on("click", function(){ | |
var tracking_num = $("#tracking_number").val(); | |
if ($.trim(tracking_num).length === 0) { | |
alert("Tracking number is empty!"); | |
} else { | |
getTracking(tracking_num); | |
} |
Put this inside body
or html
CSS:
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
Example:
Note: Make sure you have Homebrew installed.
If you're getting libiconv is missing
error, run this commands:
brew install libiconv
brew link libiconv
Demo: http://jsfiddle.net/8v1cpb0u/501/
HTML:
<div class="container">
<hr class="vertical" />
</div>
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> | |
<head> | |
</head> | |
<body> | |
<div style="position:absolute; left:77; top:77; width:377; height:377; clip:rect(0,381,381,0); background:#FFF;"> | |
<div class="fixed">FIXED NAVIGATION BAR</div> |