I need to place a div
tag in a specific way, like this:
<div class="abc">
<div class="mySlides fade">
<img src="img_nature_wide.jpg" style="width:100%">
</div>
<div>
Using jQuery, my goal is to position the second div
above the first one within this container.
Current structure:
<div class="slideshow-container">
<div class="mySlides fade">
<img src="img_nature_wide.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="img_snow_wide.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="img_mountains_wide.jpg" style="width:100%">
</div>
</div>
Desired output:
<div class="slideshow-container">
<div class="abc">
<div class="mySlides fade">
<img src="img_nature_wide.jpg" style="width:100%">
</div>
<div>
<div class="mySlides fade">
<img src="img_snow_wide.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="img_mountains_wide.jpg" style="width:100%">
</div>
</div>