modified: SRC/public/js/ListeOeuvre.js
This commit is contained in:
parent
e9c42760c8
commit
e685a8e104
@ -1,6 +1,22 @@
|
|||||||
|
function showSelection() {
|
||||||
|
$('#addpicture').hide();
|
||||||
|
$('#selection').show("slow");
|
||||||
|
$('#liAddImages').removeClass("active");
|
||||||
|
$('#liSelection').addClass("active");
|
||||||
|
}
|
||||||
|
|
||||||
|
function showAddPicture() {
|
||||||
|
$('#selection').hide();
|
||||||
|
$('#addpicture').show("slow");
|
||||||
|
$('#liSelection').removeClass("active");
|
||||||
|
$('#liAddImages').addClass("active");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Selection d'une recherche d'oeuvre
|
//Selection d'une recherche d'oeuvre
|
||||||
$('.listeoeuvre').click(function(event) {
|
$('.listeoeuvre').click(function(event) {
|
||||||
|
showSelection();
|
||||||
$("#sessionName").empty();
|
$("#sessionName").empty();
|
||||||
$("#sessionName").text($(this).children(".sessionName").text());
|
$("#sessionName").text($(this).children(".sessionName").text());
|
||||||
$('.listeoeuvre').removeClass("active");
|
$('.listeoeuvre').removeClass("active");
|
||||||
@ -157,20 +173,11 @@ $('.checkbox').click(function(event) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
//swicth onglets de bg ma selection /ajouter
|
//swicth onglets de bg ma selection /ajouter
|
||||||
$('#liSelection').click(function() {
|
|
||||||
$('#addpicture').hide();
|
$('#liSelection').click(showSelection());
|
||||||
$('#selection').show("slow");
|
|
||||||
$('#liAddImages').removeClass("active");
|
|
||||||
$('#liSelection').addClass("active");
|
|
||||||
});
|
|
||||||
|
|
||||||
$('#liAddImages').click(function() {
|
$('#liAddImages').click(showAddPicture());
|
||||||
$('#selection').hide();
|
|
||||||
$('#addpicture').show("slow");
|
|
||||||
$('#liSelection').removeClass("active");
|
|
||||||
$('#liAddImages').addClass("active");
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user