am aaaafca8: docs: Android design CSS/JS fixes

* commit 'aaaafca8543eaa75f1865d70c801c9b62caa56e2':
  docs: Android design CSS/JS fixes
This commit is contained in:
Roman Nurik
2012-01-12 14:07:51 -08:00
committed by Android Git Automerger
2 changed files with 4 additions and 4 deletions

View File

@@ -279,8 +279,7 @@ video.with-shadow {
background: rgba(0, 0, 0, 0.03); }
#nav #back-dac-section {
padding: 10px;
border-top: 1px solid #ddd;
background: transparent url(open_new_page.png) no-repeat scroll 139px 9px; }
border-top: 1px solid #ddd; }
#nav #back-dac-section a {
color: #333333;
font-weight: 500;
@@ -569,4 +568,4 @@ li.no-bullet {
height: 12px;
margin-right: 8px; }
.video-instructions:after {
content: 'Click or move mouse over screenshot to replay movie.'; }
content: 'Click to replay movie.'; }

View File

@@ -125,7 +125,8 @@ $(document).ready(function() {
});
// Set up play-on-hover <video> tags.
$('video.play-on-hover').bind('mouseenter click', function(){
$('video.play-on-hover').bind('click', function(){
$(this).get(0).load(); // in case the video isn't seekable
$(this).get(0).play();
});