Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author jhanbackjr

    (@jhanbackjr)

    Hi, hheijnis.

    Thanks for using ScrapeAZon.

    In HTML5, the iframe “scrollbars” option is deprecated. The plugin doesn’t use it in anticipation of that option eventually disappearing from browser support. There are a couple of things you can do:

    * Adjust the height by using the “height” parameter in the shortcode, so the scrollbars disappear.
    * Issue the shortcode inside of your own custom iframe tag, like this:
    <iframe src="[scrapeazon isbn="your-isbn-here" url="true"]"></iframe>
    Setting url="true" in the shortcode causes ScrapeAZon to return ONLY the iframe SRC link, not the full iframe code. That way you could do something similar to the following:

    <iframe id="scrapeazon-iframe" class="scrapeazon-reviews" src="[scrapeazon isbn="your-isbn-here" url="true"]" scrollbars="no"></iframe>

    If you wanted to continue using responsive mode and use the url=”true” parameter, you’d need something like this:

    <div id="scrapeazon-wrapper" class="scrapeazon-responsive">
    <iframe id="scrapeazon-iframe" class="scrapeazon-reviews" src="[scrapeazon isbn="your-isbn-here" url="true"]" scrollbars="no"></iframe>
    </div>

    Thanks again for using ScrapeAZon. Hope that helps.

    James

    Thread Starter hheijnis

    (@hheijnis)

    Dear jhanbackjr,

    Thank you for your fast reply! I’m sorry if I don’t understand it correctly, but I implemented the solutions you described above on my page and none of them removes the scrollbars. Or do I have to add the code to the CSS?

    Thanks!

    Plugin Author jhanbackjr

    (@jhanbackjr)

    My apologies. The HTML parameter is actually scrolling="no" instead of scrollbars="no".

    Try this:

    <div id="scrapeazon-wrapper" class="scrapeazon-responsive">
    <iframe scrolling="no" id="scrapeazon-iframe" class="scrapeazon-reviews" src="[scrapeazon isbn="your-isbn-here" url="true"]"></iframe>
    </div>

    One word of caution: regardless of which way you implement the shortcode you will still need to set an adequate “height” parameter for the iframe in order for all the reviews to display. If you leave it at the default height, you’ll simply get a static frame with no scrollbars and an inability to see all the content.

    Hope that helps. Thanks.

    James

    Plugin Author jhanbackjr

    (@jhanbackjr)

    Edited the above post to move scrolling="no" to its correct place in the code.

    Thread Starter hheijnis

    (@hheijnis)

    Thank you, it’s working now!

    Plugin Author jhanbackjr

    (@jhanbackjr)

    Glad to hear it. Thanks again for using ScrapeAZon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sidebars’ is closed to new replies.