bxslider-3 icon indicating copy to clipboard operation
bxslider-3 copied to clipboard

link to specific 'slide'

Open ddellostritto opened this issue 14 years ago • 6 comments

Excellent plugin!

Is it possible to write a link to a specific 'slide'?

Example:

  • one
  • two
  • three
  • link to contents two

    Thanks in advance!

    ddellostritto avatar Sep 13 '11 21:09 ddellostritto

    Hi,

    Amazing plugging, for long time I was looking something like that, many thanks.

    I need to link the every slide also.

    ddellostritto, have you found out how to do it?

    Many thanks

    Icicleta avatar Nov 02 '11 12:11 Icicleta

    You could certainly write some Javascript to select the proper slide based on the contents of a URL - I've done this on my site. I don't think URLs are something that a slider should be handling.

    alertedsnake avatar Nov 09 '11 20:11 alertedsnake

    I'm also interested in this. I'm a designer so coding isn't exactly my strong suit.

    ron78 avatar Dec 14 '11 00:12 ron78

    I would also like to know this. Thanks in advance!

    FPDK avatar May 11 '12 10:05 FPDK

    I solved the issue.

    $(function(){ // Declare variable var slider = $('#slideshow_process').bxSlider({ // Your options here }); // Insert a slide control $('#go2').click(function(){ slider.goToSlide(1); return false; });

    //js ends });

    and in the slide, insert (remember to add < and > after: a id="go2" href="#">Slide2</a

    FPDK avatar May 11 '12 10:05 FPDK

    Fantastic, Just what I was looking for Thanks #FPDK

    MStarkey avatar May 29 '14 09:05 MStarkey