Results 1 to 6 of 6

Thread: contentslider stop help

  1. #1
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default contentslider stop help

    1) Script Title: Featured Content Slider

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

    3) Describe problem: hi, i want stop the Contentslider with a "stop" button (not "next" button ). how can i do that?. please! is for insert this button in the html of each slices.

    Sorry for my english.

    Camilo.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Sure. Simply find the line:

    Code:
    pcontent+='<a href="#" style="font-weight: bold;" onClick=\"ContentSlider.turnpage(\''+sliderid+'\', parseInt(this.getAttribute(\'rel\'))); return false\">'+(slider.nextText || "Next")+'</a>'
    inside contentslider.js, and change that to:

    Code:
    pcontent+='<a href="#" style="font-weight: bold;" onClick=\"return false\">'+(slider.nextText || "Stop")+'</a>'

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

    camidin (04-16-2008)

  4. #3
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi! thanks for your ideas,

    I try your suggest but the contentslice is disappeared (the contentslice that i use is an old version, maybe is the reason) but the problem is that a button is needed in each slice. could you help me please?.

    thanks in advance!

    Camilo

  5. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  6. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Not sure I understand:
    but the problem is that a button is needed in each slice. could you help me please?.
    Are you making a request or asking a question? Perhaps a link to the problem page would help.

  7. #6
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    i am asking. sorry.
    Last edited by camidin; 04-28-2008 at 01:42 PM.

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
  •