here is the code :
$('#sousmenu a').click (function (){
startSlideshow(<?php echo json_encode(glob("photos-" .$_GET["folder"]. "/*.jpg"));?>);
return false;
});
The question is i like the HREF to change and get cautch by php, now it dont do nothing, but writing the ?folder=portraits work
** simpler *** Maybe i am not clear.... it append sometimes !
I what the link href to be send to this PHP function
so clicking on the link animaux will send animaux to the glob() php function and will get all the .jpg file in the photos-animaux folder
clicking on the portraits will send the photo-portraits etc... etc...