Difference between revisions of "Dev/Awards2"

Line 54: Line 54:
 
// to use this function send the "source page" and then send the div's id to where you want to send it  
 
// to use this function send the "source page" and then send the div's id to where you want to send it  
  
var medal_type = ["gold", "silver", "bronze"];
 
  
for( x= 0; x < medal_type.length; x++ ) {
+
load_these_items ( "https://2017.igem.org/Dev/Awards #demo_gold",  "gold_medals");
 
+
load_these_items ( "https://2017.igem.org/Dev/Awards #demo_"+medal_type[x]medal_type[x]+"_medals");
+
}
+
 
});
 
});
  

Revision as of 19:52, 6 November 2017

MENU

Awards demo