Use jQuery to Detect if User has Scrolled to the Bottom or Top of a Page
$(function () {
var $win = $(window);

$win.scroll(function () {
if ($win.scrollTop() == 0)
alert('Scrolled to Page Top');
else if ($win.height() + $win.scrollTop()
== $(document).height()) {
alert('Scrolled to Page Bottom');
}
});
});
ios  jquery  scroll  tech 
8 days ago
How do you run JavaScript script through the Terminal? - Stack Overflow
If you have a Mac you can get jsc a javascript console in OS X (Terminal) by typing

/System/Library/Frameworks/JavaScriptCore.framework/Versions/Current/Resources/jsc
in Terminal.app.
javascript  terminal  mac 
27 days ago
scrolling - Iframe always showing scroll bars in IE7 - Stack Overflow
adding scroll="no" to the body of my iframe target page worked for me. In total, here's the additional cruft I've added to my iframe for various browsers, perhaps this will help someone else:

iFrame source HTML:

<body style="overflow:hidden;" scroll="no">
iFrame tag on page:

<iframe width="280" height="196" src="http://dev.example.com/source.html"
style="overflow:hidden;" marginheight="0" marginwidth="0" frameborder="0">
</iframe>
iframe  scrollbar  ie 
4 weeks ago
Adobe Forums: CS5 drag layers between tabs
In preferences, turn off "open documents in tabs". (first thing I do after a new install)
dragdrop  photoshop  tips  cs5 
6 weeks ago
Public Readable Amazon S3 Bucket Policy - Ariejan.net
{
"Version":"2008-10-17",
"Statement":[{
"Sid":"AllowPublicRead",
"Effect":"Allow",
"Principal": {
"AWS": "*"
},
"Action":["s3:GetObject"],
"Resource":["arn:aws:s3:::bucket/*"
]
}
]
}
amazon  aws  s3  storage  public  policy 
7 weeks ago
CSS Animation Keyframes from a SVG Path
CSS ANIMATIONalong a path at constant speed
animation  css  css3  curve  path  bezier  svg 
november 2011
« earlier      
3d accessibility accordion adaptive admin administration adobe ajax alphachannel alternatives amazon analytics anchor Android animation api apple application appstore arial array art audio aws background backgrounds backup bacon barbeque bbq beer bestpractices bezier billing bittman blog bodycopy boilerplate bond book border broiled browser bug business buttons calculator calendar campaignmonitor canvas carousel cdn chart cheap cheatsheet chrome CLI clipboard clothes cloud cms coca-cola cocktails coda code codeigniter coke collapse color commandline computer content converter cookie cookies cooking creativity creditcard crossbrowser cs5 css css3 curve custom customcontent customfields customize cutout database date datetime db dead delicious demo deploy design designer desk desktop development disk django domain domains dotcloud download dragdrop drink dropbox dropdown dropshadows drupal duckduckgo dvd earthquake ecommerce edge editor email embed english events explosions extension facebook fallback fields findandreplace flash flickr fluid font fontface fonts food format foundry fpo framework Free freeware funny gallery Gameofthrones generator georgerrmartin git global gmail google google+ googleplus GoogleVoice gradients graphics grayscale Greatest grid guide GV hack hackintosh hacks hair hardware hash heroku highlight highlighter Hits homescreen hosting hover howto html html5 humor iceandfire icon icons ie ie7 iframe ikea illustration image images inspiration internet ios ipad iphone iphone4 itunes jamesbond janus japan java javascript jquery js keyboard linux lion livepreview livetweets looseleaf Mac macvim magazine mamp manager markup mask media mediaqueries merchant microsoft mobile modal module money movies multicolumn multipage multiple music mysql netflix network news nightly node nodejs object objects oldfashioned onepage online opensource optimization options original orwell osama OSX oven ownership page pageorder password path pattern patterns payment paypal pdf performance Phone photography photos Photoshop php PhpMyAdmin Pinboard pixelperfect placeholders plugin plugins plugnplay policy pork portfolio post productivity programming prosciutto prototyping pseudo public pulledpork python QRCode radio rails recipe recipes reference refresh registrar replacement reset responsive retro ricelentils ruby s3 safari salad sardines satellite Script scroll scrollbar sear search secret security server settings sharing shelves shopping shortcodes shortcut simple slideshow smooth socialmedia software sort soup speed spotify SQL static steak stirfry stock storage streaming subpage suggestions suits sustainable svg synchronous syntax system taxonomy tea tech terminal texteditor textmate textures theme themeable tile tiling Tinymce tips tools transparent tsunami tutorial tv twitter type typeface typekit typography ui unicode userfriendly usort utf8 ux validation variabl vector vi video Videos vim vimeo VOIP vps wallpaper wallpapers web webdesign webdev webdevelopement Webfaction win7 windows wordpress workflow wp youtube zindex

Copy this bookmark:



description:


tags: