Posts Tagged Javascript

Why do I receive an “Operation aborted” error message when I visit a Web page in Internet Explorer?

I did really simple application, but still under IE7 it was crashing with Operation aborted.

First “You can turn off friendly HTTP error messages in Internet Explorer. This workaround still lets the error message appear. However, Internet Explorer does not move away from the page after the error occurs. This workaround works only for Internet Explorer 6.

To do this, follow these steps:

1. On the Tools menu, click Internet Options.
2. On the Advanced tab, click to clear the Show friendly HTTP error messages check box under the Browsing section, and then click OK.
3. Close the browser. ” according to http://support.microsoft.com/kb/927917

At least page is rendered, but it doesn’t solve a problem. When i started to dig i found that i’m using Jqwuery tooltip inside table.

Next thing i’ve added line to execute javascript when document is fully loaded.

  1. $(document).ready(function() {
  2. // put all your jQuery goodness in here.
  3. });

It solved IE7 from crashing

Tags: , , ,

Online CSS and JS compressor – save your visitor time

Today I needed to reduce size of CSS and JS which was almost 400Kb all together. Spending some time found usefull tools for it.

http://iceyboard.no-ip.org/projects/css_compressor and http://dojotoolkit.org/docs/shrinksafe are winners

Before compressing javascript file make sure that You don’t have anything compressed already there, all lines are ending with semicolon and all code is valid.

After compression I saved 80Kb.

Finally we have changed CDN from amazon S3 to cachefly, and it is much quicker and they support gzip on-fly

Tags: , , ,