WordPress.org

Forums

Slideshow
Initial width of .slideshow_container calculation (2 posts)

  1. PlywoodMillionaire
    Member
    Posted 2 years ago #

    Any idea what might cause the initial width of the .slideshow_container to be too narrow? The correct width only appears after resizing the browser window. Whatever calculation occurs in the window resize event is working perfectly. Plan on looking at js tomorrow morning but overall this is one of the nicest looking plugins I've seen in a long while. Thank you for such great work.

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 2 years ago #

    The slideshow always adjusts to the width of the element it's in. When the slideshow is inside a '<div>' element, the calculation should go correctly, as these elements try to be as wide as possible by default.

    If the slideshow is placed inside a table, the slideshow be too small on startup. It will then grow as the window is resized, because a table always tries to be a little wider than its content. This causes the slideshow to adjust to the table row size and so it would continue to grow.

    Could you perhaps provide me with your website? I could check it out for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.