add filter years
This commit is contained in:
@@ -237,6 +237,9 @@ input[type="email"],input[type="password"]{
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
#year_filter{
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1000px) {
|
||||
header .lite-logo {
|
||||
|
||||
@@ -182,4 +182,22 @@ function changepage(){
|
||||
}
|
||||
|
||||
|
||||
function changeyear(){
|
||||
|
||||
var e = document.getElementById("year_filter");
|
||||
var curryear = e.options[e.selectedIndex].value;
|
||||
|
||||
yearurl = '/mybooks/gazeta/';
|
||||
|
||||
if (curryear !== 'all')
|
||||
yearurl = yearurl + curryear + '/1';
|
||||
|
||||
location.href = yearurl;
|
||||
|
||||
return true;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user