Team:UT Dallas/page js

From 2013.igem.org

(Difference between revisions)
Line 15: Line 15:
{
{
         $('#results').hide("slide", { direction: "right" }, 250);
         $('#results').hide("slide", { direction: "right" }, 250);
-
     $.get("https://2013.igem.org/Team:UT_Dallas/"+fname+"?action=raw&ctype=text/x-wiki", function(data) {
+
     $.get("https://2013.igem.org/Team:UT_Dallas/"+fname+"?action=raw&ctype=text/x-wiki", function(data) {
  $('#results').html(data);
  $('#results').html(data);
  $('#results').show("slide", { direction: "left" }, 250);
  $('#results').show("slide", { direction: "left" }, 250);

Revision as of 20:11, 23 September 2013

function show_info(res_id) { $.get('https://2013.igem.org/Team:UT_Dallas/'+res_id+'?action=raw&ctype=text/html', function(data) { $('#result_space').fadeOut('fast', function() { $('#result_space').html(data); $('#result_space').fadeIn(); });

}); return false; }

function getData(fname) {

       $('#results').hide("slide", { direction: "right" }, 250);
   	$.get("https://2013.igem.org/Team:UT_Dallas/"+fname+"?action=raw&ctype=text/x-wiki", function(data) {

$('#results').html(data); $('#results').show("slide", { direction: "left" }, 250); });

}