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 id="static-bubble-template" type="text/template"> | |
<!-- Close "X". --> | |
<a name="close" class="close">×</a> | |
<!-- Title. --> | |
<div class="title" rv-html="record:title | recordTitle"></div> | |
<p class="more-info">Click for more information.</p> | |
<!-- Body / Item. --> |
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
.bubble.static.selected p.more-info { | |
display: none; | |
} |
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
#neatline #waypoints { | |
max-height: 80%; | |
max-width: 200px; | |
right: 40px; | |
top: 40px; | |
} | |
#waypoints a.title { | |
cursor: pointer; | |
display: list-item; | |
font-weight: 10; |
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
{ | |
"simple_pages": { | |
"table" : "SimplePagesPage", | |
"result_type" : "Simple Page", | |
"flag" : "is_published", | |
"fields" : ["title", "text"] | |
} | |
} |
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
{ | |
"exhibits": { | |
"table" : "Exhibit", | |
"result_type" : "Exhibit", | |
"tagged" : true, | |
"flag" : "public", | |
"fields": [ | |
"title", |
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
<img src="http://fedora.path/image.jpg" /> |
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
Neatline.on('start', function() { | |
var narrative = $('div.narrative'); | |
var exhibit = $('div.exhibit'); | |
var bubble = $('div.bubble'); | |
// Cache the width of the narrative. | |
var textWidth = narrative.outerWidth(); | |
var position = function() { |
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
Neatline.on('start', function() { | |
NProgress.configure({ showSpinner: false }); | |
NProgress.start(); | |
Neatline.vent.on('MAP:ingest', function() { | |
NProgress.done(); | |
}); | |
}); |
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
Neatline.on('start', function() { | |
var map = Neatline.request('MAP:getMap'); | |
$('.btn.in').click(function() { | |
map.zoomIn(); | |
}); | |
$('.btn.out').click(function() { | |
map.zoomOut(); |
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
Neatline.on('start', function() { | |
Neatline.vent.on('MAP:ingest', function() { | |
var layers = Neatline.request('MAP:getWmsLayers'); | |
var loader = $('#wms-loader'); | |
_.each(layers, function(layer) { | |
// When loading starts. | |
layer.events.register('loadstart', layer, function() { |
OlderNewer