The portlet enables to embed LAILAPS into a any web site. A Javascript library provide the query text box, which can be anchored at any place in the site.
|
<script type="text/javascript" src="http://lailaps.ipk-gatersleben.de/client/lailapsportlet.js"></script>
<body onload="new lailaps_portlet({ parentid:'lailaps.searchportlet', url:'http://webapps.ipk-gatersleben.de/lailaps/', client_label:'lailaps_web_site', hiddenProfileID:'-1', target:'lailaps', highlight_keyword_search:true, linkdatabases: 'EnsemblPlants,PlantsDB'});" >
<html> <head> <title>my web page</title> <!-- load portlet code. Note: please specify the full path to the file--> <script type="text/javascript" src="http://lailaps.ipk-gatersleben.de/client/lailapsportlet.js"></script> </head> <!-- start the portlet--> <body onload="new lailaps_portlet({parentid:'lailaps.searchportlet', url:'http://webapps.ipk-gatersleben.de/lailaps/', client_label:'lailaps_web_site', hiddenProfileID:'-1', target:'lailaps', highlight_keyword_search:true, linkdatabases: 'ensembl,gnpis'});"> <h1>My Personal Web site - Welcome</h1> <!-- glue portlet to an anchor element--> <span id="lailaps.searchportlet"></span> <p> The mission of my web site is to privide information.</p> </body> </html>