Note that there are some explanatory texts on larger screens.

plurals
  1. POJquery/firefox - animate div + show p select the text p?
    primarykey
    data
    text
    <p>I didn't find anyone who has the same problem and it is a really strange one.</p> <p>It's not simple to explain so i give you the link bellow a little explanation.</p> <p>First, here is my code:</p> <pre><code>&lt;script type="text/javascript"&gt; var close_feedback_box = function(){ $jquery('div#feedback').removeClass('feedback_bigger').animate({ top:'200px',width:'28px',height:'106px'}).find('p').hide(); $jquery('div#close_feedback_box').hide('fast'); } $jquery(document).ready(function(){ $jquery('div#feedback a').hover(function(){ $jquery(this).addClass('hover');},function(){ $jquery(this).removeClass('hover'); }); $jquery('div#feedback').click(function(){ if(!$jquery(this).hasClass('feedback_bigger')){ $jquery(this).addClass('feedback_bigger').animate({ top:'147px',width:'300px',height:'212px' },function(){ $jquery('div#feedback p').show()}); $jquery('div#close_feedback_box').fadeIn('slow'); } }); }); &lt;/script&gt; &lt;!-- feedback --&gt; &lt;div id="close_feedback_box" onclick="close_feedback_box();"&gt;&lt;/div&gt; &lt;div id="feedback" style=""&gt; &lt;p style="margin-top:30px;display:none;"&gt;You can take a few minutes to help us improve user experience &lt;br/&gt;and&lt;br/&gt;&lt;a id=""&gt;fill out our survey&lt;/a&gt;&lt;br/&gt;or&lt;br/&gt; &lt;a href="/index.php?option=com_jumi&amp;fileid=11" id=""&gt;submit a direct feedback &lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- end feedback --&gt; </code></pre> <p>It works very well in all browser but just have a look in firefox and you will understand my problem, in fact when the p block is show it select all the text and i really don't understand why. I tried to put the p block in a inner-feedback div (and show the div) and it doesn't change anything.</p> <p>You will find the bug here (only in firefox) : <a href="https://execboardinasia.com/" rel="nofollow">https://execboardinasia.com/</a> (Click on the feeback 'button' in the left fixed position).</p> <p>Thanks a lot for spending a bit of your time for me !</p> <p>Bastien Sander</p>
    singulars
    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