Reputation: 1
I'm trying to install a slider in Rapidweaver and I would like to display only slides 1 and 2 on a particular page. I'm still pretty new at this, so anything could help. So, how can I remove slide 3 by using jquery?
<ul id="unoslider" class="unoslider">
<li id="slide1"><img src="images/banner_1.jpg" /></li>
<li id="slide2"><img src="images/banner_2.jpg" /></li>
<li id="slide3"><img src="images/banner_3.jpg" /></li>
</ul>
Please, help me!
Thank you so much!!
Upvotes: 0
Views: 109
Reputation: 35409
To remove it from the DOM:
$('#unoslider #slide3').remove();
Set it's display to "hidden
":
$('#unoslider #slide3').hide();
Upvotes: 3