Team:SYSU-Software/cast designer.js
From 2013.igem.org
Guoskyhero (Talk | contribs) |
Guoskyhero (Talk | contribs) |
||
Line 16: | Line 16: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $("#assembly").tips({pic:'https://static.igem.org/mediawiki/2013/8/8b/Cast_Assembly.png',text:'Assembly | + | $("#assembly").tips({pic:'https://static.igem.org/mediawiki/2013/8/8b/Cast_Assembly.png',text:'Assembly:Gene circuit is assemblied comply with assembly standard.'}); |
- | $("#simulating").tips({pic:'https://static.igem.org/mediawiki/2013/f/f6/Cast_Simulating.png',text:'Simulating | + | $("#simulating").tips({pic:'https://static.igem.org/mediawiki/2013/f/f6/Cast_Simulating.png',text:'Simulating:The simulation result is decided by parameters of each part, pacific parts is chosen for satisfying simulation results.'}); |
- | $("#relationship").tips({pic:'https://static.igem.org/mediawiki/2013/9/9a/Cast_Relation.png',text:'Relationship | + | $("#relationship").tips({pic:'https://static.igem.org/mediawiki/2013/9/9a/Cast_Relation.png',text:'Relationship:Parts like promoters and repressor have a correspondence between each other, which is very important in choosing parts for gene circuit automatically.'}); |
- | $("#parameter").tips({pic:'https://static.igem.org/mediawiki/2013/8/89/Cast_Parameter.png',text:'Parameter | + | $("#parameter").tips({pic:'https://static.igem.org/mediawiki/2013/8/89/Cast_Parameter.png',text:'Parameter:In CAST designer, parts are chosen dynamically when user modifies the dynamic parameters.'}); |
}); | }); |
Revision as of 03:13, 28 September 2013
(function($) { $.fn.tips = function(options) { options = options || {}; return this.each(function() { $("#display-board img").attr("src", options.pic); $("#display-board span").text(options.text); $(this).bind("mouseover", function(){ console.log("iaiai"); $("#display-board img").attr("src", options.pic); $("#display-board span").text(options.text); }); }); } })(jQuery);
$(document).ready(function(){
$("#assembly").tips({pic:'https://static.igem.org/mediawiki/2013/8/8b/Cast_Assembly.png',text:'Assembly:Gene circuit is assemblied comply with assembly standard.'});
$("#simulating").tips({pic:'https://static.igem.org/mediawiki/2013/f/f6/Cast_Simulating.png',text:'Simulating:The simulation result is decided by parameters of each part, pacific parts is chosen for satisfying simulation results.'});
$("#relationship").tips({pic:'https://static.igem.org/mediawiki/2013/9/9a/Cast_Relation.png',text:'Relationship:Parts like promoters and repressor have a correspondence between each other, which is very important in choosing parts for gene circuit automatically.'});
$("#parameter").tips({pic:'https://static.igem.org/mediawiki/2013/8/89/Cast_Parameter.png',text:'Parameter:In CAST designer, parts are chosen dynamically when user modifies the dynamic parameters.'});
});