Sunday, 15 April 2012

javascript - Adding 2 images and a popup script to an imageslider single - -



javascript - Adding 2 images and a popup script to an imageslider single <li> -

i'm using pikachoose slider uses lists:

<div id="container"> <div class="pikachoose"> <ul id="pikame"> <li><a href="www.gohere.com"><img src="image.jpg/></a></li> <li><a href="www.gohere.com"><img src="image2.jpg/></a></li> </ul> </div>

i have seperate jquery fancybox opens youtube video popup:

<div id="center"> <a class="fancybox" href="youtubelink"><img src="playbutton-100px.jpg" /> </a> </div>

what i'm trying add together bottom code 1 upper <li> there'd 2 images on list. , when clicking on 2nd image (playbutton.jpg) should popup video. problem i'm facing if re-create link bottom, without 2nd image, won't start jquery popup , links youtube directly.

demo - play button across images it's not part of single

javascript jquery html fancybox slider

No comments:

Post a Comment