Jump to content

Search the Community

Showing results for tags 'script'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 2 results

  1. We are getting the following errors on our website when viewing it in IE7: "Stop Running This Script? A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer might become unresponsive. Yes / No" The two pages we notice the error on most are: home.primesourcesystems.com/directory home.primesourcesystems.com/fyi-archive Our main sites have pages that are similar, but they don't seem to have this same problem. Are we doing something wrong? PLEASE NOTE: These links are to pages on our intranet site, We have only enabled public access to them untill we can get this problem solved. Then we will be restricting access to only the people in our home office and to registered users and admins.
  2. Take a look at my site http://tinyurl.com/cosv8ge I'm trying to change the position of a custom script that I installed into the header scripts. The script displays a custom greeting on the site depending on the time of day. I want the greeting to be above the telephone number in the header but i'm struggling to achieve this. The script is as follow: <span class="xdate"><?php echo date('l jS F Y'); ?></span> <script language="Javascript" type="text/javascript"> <!-- var day = new Date(); var hr = day.getHours(); if (hr <= 11) { document.write("Good Morning..."); } else if (hr > 11 && hr < 17) { document.write("Good Afternoon..."); } else { document.write("Good Evening..."); } //--> </script> Can anyone help? thanks James UK
×