Results 1 to 7 of 7

Thread: Featured Content Slider v2.4 help

  1. #1
    Join Date
    Jul 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Featured Content Slider v2.4 help

    I have an issue with Featured Content Slider v2.4.

    It works well but it would be great if I could get the content to slide in from the right like it did before (from the Feb 12th, 2008 version).

    Now it has to fade or just appear. any idea how I can get back the older slide effect?

    Script URL:
    http://www.dynamicdrive.com/dynamici...tentslider.htm

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    There different versions. One has a slide and one has a fade. I think you should use the original. Were you having any problems with that one? If you were we can help.
    Jeremy | jfein.net

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Actually, I think you want the glider:

    http://www.dynamicdrive.com/dynamici...tentglider.htm

    not the slider.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    @John,
    Thats what I thought he was talking about, I didn't see that it was called a glider, not a slider. Tehehe.
    Jeremy | jfein.net

  5. #5
    Join Date
    Jul 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yes, the glider is the old one I guess. It worked fine too its just I really like/need the "select specific slide" feature:
    featuredcontentslider.htm?slider1=4

    but I need it with the slide effect, not the fade effect.

    any idea how to add the slide1=? feature to the old glider script?

  6. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Where you have your js that looks something like this:
    Code:
    <script type="text/javascript">
    
    featuredcontentglider.init({
    	gliderid: "canadaprovinces", //ID of main glider container
    	contentclass: "glidecontent", //Shared CSS class name of each glider content
    	togglerid: "p-select", //ID of toggler container
    	remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable
    	selected: 0, //Default selected content index (0=1st)
    	persiststate: false, //Remember last content shown within browser session (true/false)?
    	speed: 500, //Glide animation duration (in milliseconds)
    	direction: "downup", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
    	autorotate: true, //Auto rotate contents (true/false)?
    	autorotateconfig: [3000, 2] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
    })
    
    </script>
    Change it to this:
    Code:
    <script type="text/javascript">
    var findnn = "glide=";
    var im_urlnn = document.URL;
    var find_mnn = im_url.search(find);
    var full_unn = im_url.substr(find_m+find.length);
    
    featuredcontentglider.init({
    	gliderid: "canadaprovinces", //ID of main glider container
    	contentclass: "glidecontent", //Shared CSS class name of each glider content
    	togglerid: "p-select", //ID of toggler container
    	remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable
    	selected: full_unn, //Default selected content index (0=1st)
    	persiststate: false, //Remember last content shown within browser session (true/false)?
    	speed: 500, //Glide animation duration (in milliseconds)
    	direction: "downup", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
    	autorotate: true, //Auto rotate contents (true/false)?
    	autorotateconfig: [3000, 2] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
    })
    
    </script>
    Then when you go to the page it'd be like:
    page.html?glide=2;
    Jeremy | jfein.net

  7. #7
    Join Date
    Jul 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    for whatever reason this didn't work for me. but once I seen the selected: 0 option there in the featuredcontentglider.init I just used PHP to grab the glide= and output it there...

    thanks for your help.

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
  •