Note that there are some explanatory texts on larger screens.

plurals
  1. POoverride overflow:hidden with z-index
    text
    copied!<p>Am using coda_bubble jquery plugin, and i need to make my bubble pop out within an overflow hidden div. here is my sample code.</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Override overflow:hidden&lt;/title&gt; &lt;link href="http://www.myjquery.co.uk/jslib/jquery_plugins/coda_bubble/bubble.css" rel="stylesheet" type="text/css" media="all" /&gt; &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/jquery-ui.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://www.myjquery.co.uk/jslib/jquery_plugins/coda_bubble/jquery.codabubble.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(function(){ opts = { distances : [40,40], leftShifts : [0,0], bubbleTimes : [400,400], hideDelays : [0,0], bubbleWidths : [200,200], bubbleImagesPath : "YOUR RELATIVE PATH TO SKIN FOLDER", msieFix : true }; $('.coda_bubble').codaBubble(opts); }); &lt;/script&gt; &lt;style type="text/css"&gt; body{ margin:0; padding:0; } #wrapper{ width:300px; margin:200px auto; } .overflow{ width:120px; height:80px; overflow:hidden; float:left; } .coda_bubble{ z-index:100;/****NOT WORKING*******/ } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="wrapper"&gt; &lt;div class="overflow"&gt; &lt;div class="coda_bubble"&gt; &lt;div&gt; &lt;p class="trigger"&gt;Trigger Bubble&lt;/p&gt; &lt;/div&gt; &lt;div class="bubble_html"&gt; [BUBBLE CONTENT] &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="overflow" style="overflow: visible;"&gt; &lt;div class="coda_bubble"&gt; &lt;div&gt; &lt;p class="trigger"&gt;Trigger Bubble&lt;/p&gt; &lt;/div&gt; &lt;div class="bubble_html"&gt; [BUBBLE CONTENT] &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

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