Mercurial > hg > digilib-old
view xul/content/astrosearch.js @ 486:a92f319aec1c
Servlet version 1.16.1
- now with absolute scaling: mo=ascale&scale=X
- reworked scale factor and resolution selection so that absolute scale can use prescaled images (osize can do that too)
ASSIGNED - # 23: display thumbnails with absolute scaling
https://itgroup.mpiwg-berlin.mpg.de:8080/tracs/cdli/ticket/23
author | robcast |
---|---|
date | Sat, 12 May 2007 14:23:34 +0200 |
parents | bf945fcf9105 |
children |
line wrap: on
line source
var key=''; function start_search(){ var target_iframe=document.getElementById('astro_resultframe'); var boolIsManuscript=document.getElementById("manuscript").selected==true; var strDocType="image"; if (boolIsManuscript){ strDocType="manuscript"; } var strLibrary=document.getElementById("bibliothek").label; var strCentury=document.getElementById("century").label; var strAuthor=document.getElementById('autorenkontext').label; var strImageType=document.getElementById('bildtyp').label; //target_iframe.setAttribute('src','astro_search.jsp?key='+key+'&cat='+search_category+'&str='+search_string); //target_iframe.setAttribute('src','result.htm'); target_iframe.setAttribute('src','http://hera.unibe.ch:8080/alcatraz/xul/astro_search.jsp?doctype='+strDocType+'&lib='+strLibrary+'&aut='+strAuthor+'¢='+strCentury+'&type='+strImageType); } function changeRadioGroup(sel){ key=sel.id; if (key=="image"){ document.getElementById("bildtyp").disabled=false; document.getElementById("lblbildtyp").disabled=false; document.getElementById("bildtyp").label="all"; }else{ document.getElementById("bildtyp").disabled=true; document.getElementById("lblbildtyp").disabled=true; document.getElementById("bildtyp").label=""; } }