Note that there are some explanatory texts on larger screens.

plurals
  1. POFancybox causes scroll bars to appear
    primarykey
    data
    text
    <p>I have used fancybox successfully before, but on my latest design, fancybox causes scroll bars to appear, i.e. clicking on the image, the image gets displayed in the middle of the window and the window itself gets scroll bars it didn't use to have. My layout is fluid and adjusts, when one changes the window size or font size. Using fancybox, then, the whole page shifts and rescales for no apparent reason, which looks bad and also uses processor power.</p> <p>What could be the cause of this?</p> <p>Also, the background fails to be darkened off... What does fancybox do to achieve this usually, and why would it fail with my design?</p> <p>Here are some code snippets:</p> <pre><code>&lt;script type="text/javascript"&gt; jQuery.noConflict(); jQuery(document).ready(function($) { $('.fancybox').fancybox(); }); &lt;/script&gt; &lt;div id="wrapper"&gt; &lt;div id="classes" class="post"&gt; &lt;h2&gt;料理教室・ワークショップ&lt;/h2&gt; &lt;a class="fancybox" rel="classes" href="http://127.0.0.1/wordpress/wp-content/themes/hitomiskuche/images/classes/1.jpg"&gt;フォトス&lt;/a&gt; &lt;a class="fancybox" rel="classes" href="http://127.0.0.1/wordpress/wp-content/themes/hitomiskuche/images/classes/2.jpg"&gt;&lt;/a&gt; &lt;a class="fancybox" rel="classes" href="http://127.0.0.1/wordpress/wp-content/themes/hitomiskuche/images/classes/3.jpg"&gt;&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; #classes { width:40%; position:absolute; left:5%; bottom:10%; background-color:#fff; padding:1em; opacity:0.65; box-shadow:2px 2px 3px #555; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload