03/01/2015, 11:36:26
c'est bien ce code que tu veux ?
Pourtant les images recuperées dans la div #myModal sont bien les bonnes au vu du code source que je viens de coller ici.
Code :
[== HTML ==]
<div class="container">
<div class="row">
<div class="col-md-4 portfolio-item">
<a data-toggle="modal" data-target="#myModal" href="#myModal">
<img class="img-responsive" src="uploads/images/Gallery/lolo/nike_running_menu.jpg" alt="nike_running_menu.jpg" />
</a>
<h3>
<a href="#"></a>
</h3>
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<img class="img-responsive" src="uploads/images/Gallery/lolo/nike_running_menu.jpg" alt="nike_running_menu.jpg" />
</div>
</div>
</div>
</div>
</div> <div class="col-md-4 portfolio-item">
<a data-toggle="modal" data-target="#myModal" href="#myModal">
<img class="img-responsive" src="uploads/images/Gallery/lolo/shot.jpg" alt="shot.jpg" />
</a>
<h3>
<a href="#"></a>
</h3>
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<img class="img-responsive" src="uploads/images/Gallery/lolo/shot.jpg" alt="shot.jpg" />
</div>
</div>
</div>
</div>
</div> <div class="col-md-4 portfolio-item">
<a data-toggle="modal" data-target="#myModal" href="#myModal">
<img class="img-responsive" src="uploads/images/Gallery/lolo/musicapp.png" alt="musicapp.png" />
</a>
<h3>
<a href="#"></a>
</h3>
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<img class="img-responsive" src="uploads/images/Gallery/lolo/musicapp.png" alt="musicapp.png" />
</div>
</div>
</div>
</div>
</div> <div class="col-md-4 portfolio-item">
<a data-toggle="modal" data-target="#myModal" href="#myModal">
<img class="img-responsive" src="uploads/images/Gallery/lolo/imore_app_ic.jpg" alt="imore_app_ic.jpg" />
</a>
<h3>
<a href="#"></a>
</h3>
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<img class="img-responsive" src="uploads/images/Gallery/lolo/imore_app_ic.jpg" alt="imore_app_ic.jpg" />
</div>
</div>
</div>
</div>
</div> <div class="col-md-4 portfolio-item">
<a data-toggle="modal" data-target="#myModal" href="#myModal">
<img class="img-responsive" src="uploads/images/Gallery/lolo/dribble_firstshot_2.jpg" alt="dribble_firstshot_2.jpg" />
</a>
<h3>
<a href="#"></a>
</h3>
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<img class="img-responsive" src="uploads/images/Gallery/lolo/dribble_firstshot_2.jpg" alt="dribble_firstshot_2.jpg" />
</div>
</div>
</div>
</div>
</div> <div class="col-md-4 portfolio-item">
<a data-toggle="modal" data-target="#myModal" href="#myModal">
<img class="img-responsive" src="uploads/images/Gallery/lolo/albumtry.jpg" alt="albumtry.jpg" />
</a>
<h3>
<a href="#"></a>
</h3>
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<img class="img-responsive" src="uploads/images/Gallery/lolo/albumtry.jpg" alt="albumtry.jpg" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Pourtant les images recuperées dans la div #myModal sont bien les bonnes au vu du code source que je viens de coller ici.