Note that there are some explanatory texts on larger screens.

plurals
  1. PONeed a link which works depending on browser's javascript enabled/disabled
    primarykey
    data
    text
    <p>I have implemented an Alert pop-up using <code>style-sheet and &lt;noscript&gt;</code> if javascript is disabled. The pop-up has warning message and Ok button. Ok button will not work until the javascript is disabled in all the browsers. When javascript enabled and w/o reloading the page</p> <p><code>On FF:-</code> Clicking on Ok button page gets Reload</p> <p><code>Other Browsers:-</code> Clicking on Ok button nothing happens</p> <p>I want my Ok button to behave like FF in all the Other Browsers (IE, Opera, Safari, Chrome), how i can achieve this ?</p> <p>Edited my code is as follows</p> <pre><code>&lt;!-- [START] Following code is get runed to show pop-up when javascript is disabled --&gt; &lt;noscript&gt; &lt;div id="javascript_disabled_fade" class="black_overlay" style="display:block;"&gt;&lt;/div&gt; &lt;div id="pagewrap-light-small" style="display:block;"&gt; &lt;div id="javascript_disabled_popup" class="white_content_javascript_disabled" style="margin-left:-185px;margin-top:-143px;width: 371px;height:287px;padding:0px;"&gt; &lt;div style="margin:0px;padding:0px;"&gt; &lt;table align="center" style="text-align:center;width:371px;height:287px; " cellpadding="0" cellspacing="0" border="0" &gt; &lt;tr&gt; &lt;td align="center" style="text-align:center;padding-left:2px;height:150px;padding-top:8px;" colspan="2"&gt; &lt;img style="border: 0px none ;" src="/images/logo-small.png"/&gt;&lt;br/&gt; &lt;img style="border:none;" src="/images/account_management.png"/&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" align="center" style="font-weight:bold;font-size:12px;color:#5a5a5a; text-align:center; line-height:18px;" &gt; The site makes extensive use of JavaScript.&lt;br/&gt; Please enable &lt;span style="color:red;"&gt;JavaScript&lt;/span&gt; in your browser. &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" align="center" style="padding-top:24px;" colspan="2"&gt; &lt;a href="javascript:void(0)" onclick="window.location.reload();" class="okGreen"&gt;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/noscript&gt; &lt;!-- [END] Following code is get runed to show pop-up when javascript is disabled --&gt; </code></pre>
    singulars
    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