Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Help needed, Multiple toggler divs - Featured Content Glider.

  1. #1
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Help needed, Multiple toggler divs - Featured Content Glider.

    Heya, found the awesome featured content glider on the dynamic drive script page. Got a little problem that I need some help with.

    Ill just assume those reading this knows a thing or two, so uh yea.

    Link to the script
    http://www.dynamicdrive.com/dynamici...tentglider.htm

    This is the init script of the glider from my index. My problem is that I need to toggle content from multiple divs, something that wasnt brought up on the page. I need to have more then just that "test" one, and I need them to open in the same glider div (glidecont)

    Code:
    <script type="text/javascript"> // glide scriptet
    
    featuredcontentglider.init({
    	gliderid: "glidecont", //ID of main glider container
    	contentclass: "glidecontent", //Shared CSS class name of each glider content
    	togglerid: "test", //ID of toggler container
    	remotecontent: "Portfolio/glidecontent.php", //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>
    Ive tried things like togglerid: "test, test2", etc and I tried using two instances of the glider (as show in the example on the last page) with the same gliderid.

    Perhaps not sufficient information but thats all I could think of.

    I really need some insight on this asap, would appreciate some help.

  2. #2
    Join Date
    Sep 2008
    Posts
    48
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Might you have a link to the live file?

  3. #3
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Im afraid not. We're working locally.

    To clarify the problem; Is there any way to have multiple toggler div's or not?

  4. #4
    Join Date
    Sep 2008
    Posts
    48
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    I'm still not sure what you mean. Correct me if i'm wrong but isn't that script already providing multiple div's that toggle?

  5. #5
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    As I said, I've tried to make multiple divs with togglers in them, all opening stuff in the same glider.
    Nothing worked so far, and since there aren't any examples on the script page with what I need I've hit the wall.

    Think of it as multiple controls for the glider, but in diffrent divs. Thats what Im trying to accomplish.

  6. #6
    Join Date
    Sep 2008
    Posts
    48
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Are you saying you couldn't get that script to work correctly? If that's the case then paste all your code here and i'll have a look and see if you missed something.

  7. #7
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    The script works fine, but I cant use more then one div containing togglers. Or rather, I dont know how to do that.
    Look, I think I've stated the problem several times by now. Or am I missing something here?
    Last edited by exDee/Pressure; 09-29-2008 at 05:29 PM.

  8. #8
    Join Date
    Sep 2008
    Posts
    48
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Actually, can you state your problem one more time?

  9. #9
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    What are you serious? If you're trying to help, thats fine and I appreciate it. But read what I've written in the last 4 posts again please..

    Are you even familiar with the script?
    I cant use more then one div containing togglers

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

    Default

    Hmm there's no easy way to do this with the script at the moment unfortunately. If I have time, I'll try and revisit this thread sometime this week to see if I can make the necessary modifications. But no promises.
    DD Admin

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

    exDee/Pressure (10-01-2008)

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
  •