Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<pre><code>If I am not wrong for what you wanna do, following is the code &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;Untitled Document&lt;/title&gt; &lt;style type="text/css"&gt; body{ width:600px; margin:20px auto; } .leftPanelFixed{ width:100%; height:100px; margin-bottom:10px; border:1px solid #CCC; position:relative; } .jspVerticalBar{ background:#999; width:20px; height:100%; position:absolute; right:0px; top:0px; display:none; } .viewscroll{ display:inline-block !important; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="leftPanelFixed"&gt;&lt;span class="jspVerticalBar"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt; &lt;div class="leftPanelFixed"&gt;&lt;span class="jspVerticalBar"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt; &lt;div class="leftPanelFixed"&gt;&lt;span class="jspVerticalBar"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt; &lt;/body&gt; &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt; &lt;script language="javascript" type="text/javascript"&gt; $(document).ready(function() { $('div.leftPanelFixed').hover(function(){ $(this).find('span').addClass('viewscroll').parent('div').siblings().find('span').removeClass('viewscroll'); }); }); &lt;/script&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