[MOD] No Javascript Message
Posted: Wed Oct 14, 2009 12:56 pm
/*************************************
Title: No Javascript Message [MOD]
Version: 1.0
Author: Raven
Demo:
Download: See instructions below
Website: N/A
Short description:
This small 2 min modification allows you to show your visitors that HESK requires both javascript and cookies to be enabled. Note: the user will not see anything if javascript and cookies are enabled as they should be. See screen shot here for more information.
Follow these instructions to add this mod to your version of HESK.
1. Open hesk_style.css in notepad and find:2. Directly below the above code add:3. Save hesk_style.css
4. Open header.inc.php and find the following:5. Replace the above code with:6. Save header.inc.php
Thats it, all done
- Now whenever anyone views your website with javascript or cookies disabled they will get your message.
Only a small alteration but a worthy one in my opinion.
*************************************/
Title: No Javascript Message [MOD]
Version: 1.0
Author: Raven
Demo:

Download: See instructions below
Website: N/A
Short description:
This small 2 min modification allows you to show your visitors that HESK requires both javascript and cookies to be enabled. Note: the user will not see anything if javascript and cookies are enabled as they should be. See screen shot here for more information.
Follow these instructions to add this mod to your version of HESK.
1. Open hesk_style.css in notepad and find:
Code: Select all
BODY {
background-color: #f3fef4;
color: black;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
margin-left:0;
margin-right:0;
margin-top:0;
margin-bottom:0;
}
Code: Select all
.NoJSAlert {margin:1em; border:1px solid #f00; padding:.5em; color:#f00; text-align:center;}
4. Open header.inc.php and find the following:
Code: Select all
<table border="0" cellspacing="0" cellpadding="5" class="enclosing">
<tr>
<td>
Code: Select all
<table border="0" cellspacing="0" cellpadding="5" class="enclosing">
<tr>
<td><noscript><p class="NoJSAlert">NOTE: Many features on this website require Javascript and cookies.<br />Both can be enabled via your browser's preference settings.</p></noscript></td>
</tr>
<tr>
<td>
Thats it, all done

Only a small alteration but a worthy one in my opinion.
*************************************/