URL: https://www.desy.de/index_eng.html
Breadcrumb Navigation
https://www.desy.de/e409/e116959/e119238
https://www.desy.de/news/news_search/index_eng.html
news_suche
news_search
eng
1
1
8
both
0
1
%Y/%m/%d
Press-Release
');
}});
}
function getAjax(url, params, callback) {
params["ts"] = new Date().getTime();
jqueryAjax(url,"GET",params,function(response) {
// Eval response.
var data = eval("("+response+")");
// Reset wait-cursor.
$(document.body).css( "cursor", "auto");
// Callback.
if (typeof callback == "function") {
callback(data);
}
});
}
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
var showTitlesParams = {
qs:0
}
function showTitles(pageIndex, callback) {
toggleSearch(true);
var pageSize = parseInt($("span#limit").text());
if (typeof pageIndex != "undefined" && pageIndex != null) {
showTitlesParams['pageIndex'] = pageIndex;
showTitlesParams['qs'] = pageIndex*pageSize;
}
var keywords = $("span#keywords").text();
$("input[type='checkbox'][name^='keyword']:checked").each(function() {
var parent = $(this).attr('name').substr('keyword'.length);
keywords += (keywords.indexOf(",")==0?"":",") + parent + "|" + $(this).val() + ",";
});
showTitlesParams['lang'] = $("span#lang").text();
showTitlesParams['size'] = pageSize;
showTitlesParams['topnews'] = $("span#topnews").text();
showTitlesParams['keywords'] = keywords;
showTitlesParams['dt_fmt'] = 'SHORTDATE_FMT';
showTitlesParams['filter'] = $("input#raw").val();
showTitlesParams['start_dt'] = $("input#start_dt").val();
showTitlesParams['end_dt'] = $("input#end_dt").val();
var $div = $("div#interface0");
setProgressbox($div);
getAjax("selectTitles.json",showTitlesParams,function(data) {
var records = data["records"];
var html = ''
if (parseInt($("span#browseable").text())) {
html += ''
+'<'+'div id="pagination0">'
+'<'+'div>'
+(showTitlesParams["qs"]+1)+'-'+Math.min(showTitlesParams["qs"]+showTitlesParams["size"],data['total'])+' '+getLangStr('OF',getLang())+' '+data['total']
+'<'+'/div>';
if ($("span#pagination").text()=='top' || $("span#pagination").text()=='both') {
html += ''
+'<'+'ul class="pagination">'
+'<'+'/ul>';
}
html += ''
+'<'+'/div>';
}
html += ''
+'<'+'div id="records">'
+'<'+'ul>';
for (var i = 0; i < records.length; i++) {
var record = records[i];
var press = null;
var press_release_text = $("#press_release").text();
for (var j = 0; j < record['keywords'].length; j++) {
if (record['keywords'][j].toLowerCase().indexOf('press')==0) {
press = record['keywords'][j];
break;
}
}
var lang = $("span#lang").text();
var preview = $("span#preview").text();
var translationofid = record['translationofid'];
var href = index_html;
href += "?openDirectAnchor="+translationofid;
href += "&two_columns="+$("#two_columns").text();
href += preview==""?"":"&preview=preview";
html += ''
+ '<'+'li id="li_' + record['translationofid'] + '">'
+ (record['titleimage']==''?'':'<'+'a href="'+href+'"><'+'div class="titleimage"><'+'/div>'+'<'+'/a>')
+ '<'+'div class="dt' + (record['topnews']==1?' topnews':'') + '">'
+ record['dtd']
+ (press==null?'':' · '+press_release_text+'')
+ (!record['active']&&(record['active_start_dt']||record['active_end_dt'])?('<'+'span class="active">'+getLangStr('Embargoed',getLang())+' '+(record['active_start_dt']?record['active_start_dt_iso']:'') + (record['active_end_dt']?' - '+record['active_end_dt_iso']:'')+'<'+'/span>'):'')
+ '<'+'/div>'
+ '<'+'div class="ui-helper-pointer" onmouseover="$(this).addClass(\'mouseover\')" onmouseout="$(this).removeClass(\'mouseover\')">'
+ '<'+'div class="title">'+'<'+'h3><'+'a href="'+href+'">' + record['title'] + '<'+'/a>'+'<'+'/h3>'+'<'+'/div>'
+ '<'+'div class="subtitle">' + record['subtitle'] + '<'+'/div>'
+ '<'+'div class="description">' + record['description'] + '<'+'/div>'
+ '<'+'/div>';
+ '<'+'/li>';
}
html += ''
+'<'+'/ul>'
+'<'+'/div>';
if (parseInt($("span#browseable").text())) {
html += ''
+'<'+'div id="pagination1">'
if ($("span#pagination").text()=='bottom' || $("span#pagination").text()=='both') {
html += ''
+'<'+'ul class="pagination">'
+'<'+'/ul>';
}
html += ''
+'<'+'/div>';
}
$div.html(html);
var pageIndex = showTitlesParams['pageIndex'];
var fn = function(pageIndex) {
var html = 'javascript:'
+ 'var $fm=$(\'#search0 form\');'
+ '$(\'input#pageIndex\').val('+pageIndex+');'
+ '$fm.submit();';
return html;
};
GetPagination(fn,data['total'],pageSize,pageIndex);
if (typeof callback == "function") {
callback();
}
});
return false;
}
function initFancybox(s) {
// Caption
$('.news-image-container').each(function() {
var $caption = $('.news-image-caption',this);
var html = $caption.html();
html = html.replace(/(^|\s)http:\/\/(.*?)($|\s)/gi,'$1$2$3');
html = html.replace(/(^|\s)Linkhttp:\/\/(.*?)($|\s)/gi,'$1['+getLangStr('Source',getLang())+']$3');
html = html.replace(/(^|\s)Linkhttps:\/\/(.*?)($|\s)/gi,'$1['+getLangStr('Source',getLang())+']$3');
$caption.html(html);
$('.fancybox',this).attr('title',$caption.html().replace(/<([^>]+?)([^>]*?)>(.*?)<\/\1>|[\[\]]|/gi,'')); }); // Fancybox var s = "div.body a.fancybox"; var f = function() { $(s).fancybox({ 'autoScale' : false, 'titleShow' : false, 'hideOnContentClick': true, 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' }); }; try { pluginFancybox(s,f); } catch (e) { f(); } } function toggleSearch(b) { var s = "div#pagination0"; if (parseInt($("span#searchable").text())) { s += ",div#search0"; } s += ",.imageheader"; toggleChangelang(); if (b) { $(s).show(); } else { $(s).hide(); } } function toggleChangelang(qs) { $("a[class^='changelang_']").each(function() { var clazz = $(this).attr('class'); var lang = clazz.substr(clazz.indexOf('_')+1); var hide = false; var $langs = $('#langs'); if ($langs.length>0) { var langs = $langs.text(); hide = (langs+',').indexOf(lang+',')<0; } if (hide) { $(this).hide(); } else { $(this).show(); } // Bug-Fix: ZMS-methods do not support fetchReqBuff=False! var declid = $("#declid_"+lang).text(); var href = $(this).attr("href"); var protocol = href; protocol = protocol.substr(0,protocol.indexOf(":")+3); var server_url = href; server_url = server_url.substr(protocol.length); server_url = protocol + server_url.substr(0,server_url.indexOf("/")); href = href.substr(server_url.length); var suffix = href.substr(href.lastIndexOf("/")); href = href.substr(0,href.lastIndexOf("/")); if (typeof qs != 'undefined' && qs != '') { if (suffix.indexOf('?') > 0) { suffix = suffix.substr(0,suffix.indexOf('?')); } suffix += '?' + qs; } if (href.lastIndexOf("/") > 0) { href = href.substr(0,href.lastIndexOf("/")+1)+declid; } $(this).attr("href",server_url+href+suffix); }); } function two_columns() { if ($('#two_columns').text()=='1') { $("#LgDashBoard2").addClass('two_columns'); $("video").css( "max-width", "223px" ).css( "height", "auto" ); $(".body").addClass('two_columns'); var content_height = $(".body").height() * 1.5; $('').insertBefore(".body"); $(".news-image-container").appendTo(".right_column"); $(".right_column").css("height", content_height); $('.news-image-caption').each(function() { if($(this).has('.news-superes').length == 0) { var download_a_href = $(this).prev('.fancybox').attr('href'); if(typeof download_a_href !== "undefined") { $(this).prepend( 'Download
' ); } } }); } // else: fix for align-right-images else { $(".news-image-container").filter(function() { return $(this).find(".news-image").css('float') == "right"; }).addClass( "float-right" ); } } $(function() { base_url = $("span#base_url").text(); index_html = $("span#index_html").text(); if (parseInt($("span#searchable").text())) { $("div#search0").show(); } // Init keywords. $.ajax({ url: base_url+'/selectKeywords.json', data: {maxlevel:0,lang:$("span#lang").text()}, datatype: 'text', async: false, success:function(response) { // Eval response. var records = eval("("+response+")"); var filter = false; var i = 0; var html = ""; while (i < records.length) { var record = records[i]; if (record['inputtype']=='multicheckbox') { var options = []; i++; while (i < records.length && records[i]['level'] > record['level']) { options.push({value:records[i]['idkeyword'],label:records[i]['value']}); i++; } if (i < records.length && records[i]['level'] <= record['level']) { i--; } var id = 'keyword'+record['idkeyword']; var title = record['value']; html += '
'
html += '
';
}
i++;
}
$(".keywords").html(html);
if (filter) {
$(".filter").show();
}
}
});
// Init datepicker.
var $datepicker = $('.datepicker').pikaday({
firstDay: 1,
minDate: new Date('2000-01-01'),
maxDate: new Date('2026-12-31'),
yearRange: [2000,2026],
onSelect:function() {
var b = false;
$('.datepicker').each(function() {
try {
var date_fmt = $("#date_fmt").text();
var v = $(this).val();
var re = new RegExp('\\d*\\.\\d*\\.\\d*');
if (!(v.match(re)==v)) {
var d = new Date(v);
var day = d.getDate();
var month = d.getMonth() + 1;
var year = d.getFullYear();
if (!(isNaN(day)) && !(isNaN(month)) && !(isNaN(year))) {
var v = date_fmt.replace(/%d/,day).replace(/%m/,month).replace(/%Y/,year);
$(this).val(v);
b = true;
}
}
}
catch (e) {
}
});
if (b) {
showTitles();
}
}
});
$("#start_dt").val(typeof zmiParams["start_dt"]=="undefined"?"":zmiParams["start_dt"]);
$("#end_dt").val(typeof zmiParams["end_dt"]=="undefined"?"":zmiParams["end_dt"]);
var url = self.location.href;
if (!(url.indexOf("#")>0 && url.lastIndexOf("_")>url.lastIndexOf("#")) && window.top.frames[1]) {
url = window.top.location.href;
}
if (url.indexOf("openDirectAnchor=")<0) {
var pageIndex = 0;
if (typeof zmiParams['pageIndex'] != 'undefined') {
pageIndex = parseInt(zmiParams['pageIndex']);
}
showTitles(pageIndex);
}
else {
toggleSearch(false);
initFancybox();
}
two_columns();
if($('#socialshareprivacy').length > 0){
$('#socialshareprivacy').socialSharePrivacy();
}
});
' + title + '
';
for (var j = 0; j < options.length; j++) {
var v = options[j]['value'];
var l = options[j]['label'];
var chkd = zmiParams[id]==v;
filter |= chkd;
html += ''
+ ''
+ '<'+'input type="checkbox" id="' + id + '.' + j + '" name="' + id + '" value="' + v + '"' + ( chkd ? ' checked="checked"' : '' ) + ' onchange="showTitles(0)"'+'>'
+ ''
+ '
';
}
html += 'Research Facilities at DESY
Collaboration at DESY
International Collaboration
Innovation and Transfer at DESY
Statement of the Alliance of Science Organisations in Germany (74KB)
Statement of the Alliance of Science Organisations in Germany
Alliance of Science Organisations in Germany: solidarity with partners in Ukraine â consequences for science and the humanities