Results 1 to 3 of 3

Thread: Featured Content Slider Get Option Value To Jump slide

  1. #1
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    456
    Thanks
    76
    Thanked 21 Times in 21 Posts

    Default Featured Content Slider Get Option Value To Jump slide

    1) Script Title: Featured Content Slider

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentslider.htm

    3) Describe problem:
    How to get the option value to make the content slider jump to a specific slide.
    For example this code:
    Code:
    <div class="contentdiv">
    	<select>
        	<option value="1">Menu 1</option>
            <option value="2">Menu 2</option>
            <option value="3">Menu 3</option>
        </select>
        <p></p><a href="javascript:featuredcontentslider.jumpTo('slider2', 1)">Go to Menu</a></p>
    </div>
    Online Version
    _____________________

    David Demetrius // davejob
    _____________________

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,935
    Thanks
    16
    Thanked 303 Times in 302 Posts
    Blog Entries
    10

    Default

    Maybe an onChange handler is the solution for you: http://stackoverflow.com/questions/1...opdown-options
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    davelf (04-16-2013)

  4. #3
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,791
    Thanks
    2
    Thanked 418 Times in 412 Posts

    Default

    Code:
    <div id="slider1" class="sliderwrapper">
    
    <div class="contentdiv">
    Content 1 Here. <br />
    <p></p><a href="javascript:featuredcontentslider.jumpTo('slider1', 3)">Go to 3rd slide</a></p>
    	<select onchange="featuredcontentslider.jumpTo('slider1', this.value);">
        	<option value="1">Menu 1</option>
            <option value="2">Menu 2</option>
            <option value="3">Menu 3</option>
        </select>
    </div>
    
    <div class="contentdiv">
    Content 2 Here.
    </div>
    
    <div class="contentdiv">
    Content 3 Here.
    </div>
    
    </div>
    
    <div id="paginate-slider1" class="pagination">
    
    </div>
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

Similar Threads

  1. Stop on Last Slide - Featured Content Slider v2.4
    By Chaz109 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 12-10-2010, 07:41 PM
  2. Featured Content Slider v2.4 set slide 1 on load?
    By isntworkdull in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-23-2009, 07:15 AM
  3. Featured Content Slider v2.4 pause 1 slide longer than others
    By gregt in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-22-2009, 11:47 AM
  4. reset auto-slide - Featured Content Slider
    By toolman in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 12-20-2008, 01:58 PM
  5. Featured Content Slider v2.0 - get slide onload
    By rian701 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-27-2008, 07:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •