Results 1 to 4 of 4

Thread: Autorotate: false on image map click, also auto resize of the content

  1. #1
    Join Date
    Jun 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Autorotate: false on image map click, also auto resize of the content

    1) Script Title: Featured content slider

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

    3) Describe problem:

    Hello

    I'm using the content slider script to show some content. I'm also using some image maps in order to navigate through the content, and I was wondering if there is a way to make the autorotating feature to "turn off" after the user clicks one of these image maps (like what happens when you click a navigation link.... see demo 1)

    Also I would like to know if there is a way to make the content slider automatically resize itself depending on the size of the content (I have tried modifying the CSS file but I haven't been able to do that)

    That's all for now.

  2. #2
    Join Date
    Jun 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Update

    Sorry I made a mistake. I can indeed resize (using auto in height) but the problem with that is that it gets a little glitchy (the transition doesn't work very well, the image stays for a brief second, the other image appears below it and then the previous one dissapear). Any suggestions

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

    Default

    I was wondering if there is a way to make the autorotating feature to "turn off" after the user clicks one of these image maps?
    Is the image map defined inside the pagination DIV of your slider? If so clicking anywhere inside the DIV should cancel autorotate, including inside the image map.

    Sorry I made a mistake. I can indeed resize (using auto in height) but the problem with that is that it gets a little glitchy (the transition doesn't work very well, the image stays for a brief second, the other image appears below it and then the previous one dissapear). Any suggestions
    Hmm this is to be expected unfortunately. When you resize the slider to be based on the current image's dimensions, there's a chance the previous image if it's bigger than the current will show up briefly in the background. The slider bascailly stacks the two images together so it can fade in from the previous to the current image. If you tamper with the slider's dimensions, some of the previous image may be exposed temporarily. Not sure if there's an easy way around this unfortunately.
    DD Admin

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

    mastermp2 (06-24-2010)

  5. #4
    Join Date
    Jun 2010
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your help. I manage to fix the autorotate issue

    As for the transition problem, i haven't found a solution yet. Maybe I'll look for other scripts to do it

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
  •