- added 'Open' button to search result toolbar
- lets you open all selected search results in new window/tab
- added 'any language' filter as default

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5240 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
apfelmaennchen 16 years ago
parent 68115c30ba
commit efcae14714

@ -87,6 +87,9 @@ img.help {
}
/* YaCy Flexigrid ---------------------------*/
.flexigrid div.fbutton .pictures {
background: url(../img-2/pictures.png) no-repeat center left;
}
.flexigrid div.fbutton .help {
background: url(../img-2/question_blue.png) no-repeat center left;
}

@ -79,6 +79,7 @@
<label for="resource">Language:</label>
<br />
<select class="selector" id="language" name="language">
<option value="" selected="selected">any language</option>
<option value="aa" >aa-Afar</option>
<option value="ab" >ab-Abkhazian</option>
<option value="af" >af-Afrikaans</option>
@ -100,7 +101,7 @@
<option value="cs" >cs-Czech</option>
<option value="cy" >cy-Welsh</option>
<option value="da" >da-Danish</option>
<option value="de" selected="selected">de-German</option>
<option value="de" >de-German</option>
<option value="dz" >dz-Bhutani</option>
<option value="el" >el-Greek</option>
<option value="en" >en-English</option>

@ -42,6 +42,7 @@
],
buttons: [
{name: 'Crawl', bclass: 'crawl', onpress: yaction},
{name: 'Open', bclass: 'pictures', onpress: yaction},
{separator: true},
{name: 'Bookmark', bclass: 'bookmark', onpress: yaction},
{separator: true},
@ -91,6 +92,11 @@
}
});
});
} else if (com =='Open') {
$('.trSelected',grid).each(function(){
var url = $(this).find('.url').text();
window.open(url);
});
} else {
alert("Test!");
}

Loading…
Cancel
Save