href bug, remove some buttons

This commit is contained in:
Sanj 2011-02-21 13:28:19 +01:00
parent b709699df0
commit 66b97842f4
3 changed files with 23 additions and 24 deletions

View File

@ -137,6 +137,11 @@ p {
overflow-y: auto; overflow-y: auto;
} }
.padmaContributor {
font-style: italic;
font-size: 9px;
}
.padmaViewer { .padmaViewer {
position: relative; position: relative;
width: 360px; width: 360px;

View File

@ -178,8 +178,9 @@ function setupPadmaLink(videoObj, data) {
for (var i=0; i < thisTrackLayers.length; i++) { for (var i=0; i < thisTrackLayers.length; i++) {
var thisTrack = thisTrackLayers[i]; var thisTrack = thisTrackLayers[i];
var thisHtml = ''; var thisHtml = '';
thisHtml += "<span class='padmaContributor'>" + thisTrack.creator + ":</span>";
thisHtml += " <span class='padmaAnnotation'>" + thisTrack.value_html + "</span>"; thisHtml += " <span class='padmaAnnotation'>" + thisTrack.value_html + "</span>";
thisHtml += "<br />";
thisHtml += "<span class='padmaContributor'> -" + thisTrack.creator + ":</span>";
thisHtml += "<br /><br />"; thisHtml += "<br /><br />";
annotHtml += thisHtml; annotHtml += thisHtml;
} }

View File

@ -20,6 +20,7 @@ $(function() {
} }
$('a').each(function() { $('a').each(function() {
var t = $(this); var t = $(this);
if (t.attr("href") != undefined) {
var href = t.attr("href"); var href = t.attr("href");
if (href.indexOf("http://maps.google.com") != -1) { if (href.indexOf("http://maps.google.com") != -1) {
if (t.data("mapLoaded")) { if (t.data("mapLoaded")) {
@ -36,6 +37,7 @@ $(function() {
iframe.slideDown(); iframe.slideDown();
}); });
} }
}
}); });
}); });
</script> </script>
@ -89,15 +91,6 @@ $(function() {
<span class="downloadVideo"> <span class="downloadVideo">
<a title="Right-click and Save Link As to download video" target="_blank" href="<%= linkData.url %>">&darr;</a> <a title="Right-click and Save Link As to download video" target="_blank" href="<%= linkData.url %>">&darr;</a>
</span> </span>
<span class="aboutThis">
<a title="What is this?" target="_blank" href="about.html">?</a>
</span>
<span class="padmaHelp">
<a title="Help!" target="_blank" href="help.html">&iquest;</a>
</span>
<span class="padmaCopyright">
<a title="Copyright notice" target="_blank" href="copyright.html">&#x2184;</a>
</span>
</div> </div>
<video src="<%= video.getLayerVideo(linkData.tcIn, linkData.tcOut) %>" width="320" poster="<%= video.getFrame(linkData.tcIn) %>" controls="controls" autoplay="autoplay"></video> <video src="<%= video.getLayerVideo(linkData.tcIn, linkData.tcOut) %>" width="320" poster="<%= video.getFrame(linkData.tcIn) %>" controls="controls" autoplay="autoplay"></video>