Permalink
Browse files

Merge branch 'iframe' into GAexampleProj

  • Loading branch information...
2 parents edc2d06 + fab8d38 commit 8d2e1c2af32c73bed546d00539253b1c67526a09 @georgiamoon georgiamoon committed May 9, 2012
Showing with 12 additions and 7 deletions.
  1. +2 −2 about.html
  2. +7 −3 js/app/thereandhere.js
  3. +3 −2 js/app/views/view.connection.map.js
View
@@ -41,9 +41,9 @@
<!-- Placeholder Text -->
Building on "Terre Natale: Exits," "Here + There" is a project about telling the stories of remittances. Using remittances data, census data, field visits, and interviews, we are working to understand this phenomenon and its spatial manifestations in New York City, and its paired location elsewhere — sometimes rural, sometimes urban.</br></br>
-This project focuses, not just on New York City, but rather on Global Cities and their Transnationalism and Migration. We will look closely at local instantiations of global phenomena: how does transnationalism reveal itself in local ways and what does it means for pairs of nations through individual storytelling.</br></br>
+ This project focuses, not just on New York City, but rather on Global Cities and their Transnationalism and Migration. We will look closely at local instantiations of global phenomena: how does transnationalism reveal itself in local ways and what does it means for pairs of nations through individual storytelling.</br></br>
-To facilitate our storytelling, locally and globally, we have the exciting opportunity to experiment with a new open-source platform for both mapping and storytelling — ZEEGA. Zeega makes it easy to collaboratively produce, curate and publish participatory multimedia projects online, on mobile devices and in physical spaces, illustrating local instantiations of global issues. For more information about Zeega, see this article from <a href="http://www.pbs.org/idealab/2011/08/zeega-enables-communities-to-create-interactive-documentaries-new-forms-of-storytelling230.html">PBS</a>.
+ To facilitate our storytelling, locally and globally, we have the exciting opportunity to experiment with a new open-source platform for both mapping and storytelling — ZEEGA. Zeega makes it easy to collaboratively produce, curate and publish participatory multimedia projects online, on mobile devices and in physical spaces, illustrating local instantiations of global issues. For more information about Zeega, see this article from <a href="http://www.pbs.org/idealab/2011/08/zeega-enables-communities-to-create-interactive-documentaries-new-forms-of-storytelling230.html">PBS</a>.
View
@@ -98,7 +98,7 @@ this.thereandhere = {
this.router.navigate('',{silent:true});
zeega.app.exitProject();
-
+ $('#tah-zeega-player').empty();
$('#tah-player').fadeOut('fast');
},
@@ -146,7 +146,10 @@ this.thereandhere = {
$('#project_title').fadeOut('fast',function(){
$(this).html(itemModel.get('title')).fadeIn();
});
- zeega.app.loadProject(itemModel.get('attributes').project_id,{'frameID':itemModel.get('attributes').frame_id});
+
+ $('#tah-zeega-player').empty().append("<iframe width='100%' height='100%' src ='http://alpha.zeega.org/project/"+itemModel.get('attributes').project_id+"/view#player/frame/"+itemModel.get('attributes').frame_id+"' ></iframe>");
+
+ //zeega.app.loadProject(itemModel.get('attributes').project_id,{'frameID':itemModel.get('attributes').frame_id});
});
});
@@ -156,7 +159,8 @@ this.thereandhere = {
$('#project_title').fadeOut('fast',function(){
$(this).html(itemModel.get('title')).fadeIn();
});
- zeega.app.loadProject(itemModel.get('attributes').project_id,{'frameID':itemModel.get('attributes').frame_id});
+ $('#tah-zeega-player').empty().append("<iframe width='100%' height='100%' src ='http://alpha.zeega.org/project/"+itemModel.get('attributes').project_id+"/view#player/frame/"+itemModel.get('attributes').frame_id+"' ></iframe>");
+ //zeega.app.loadProject(itemModel.get('attributes').project_id,{'frameID':itemModel.get('attributes').frame_id});
});
});
@@ -204,8 +204,9 @@
circleMarker.on('click',function(){
console.log('clicked here');
- itemModel.trigger('selected');});
- _this.map.addLayer(circleMarker);
+ itemModel.trigger('selected');
+ });
+ _this.map.addLayer(circleMarker);
});
},

0 comments on commit 8d2e1c2

Please sign in to comment.