
Java - JBOSS, STRUTS, AJAX, DOJO, PROTOTYPE
Wednesday, December 31, 2008
Friday, October 17, 2008
HTTP Compression
1. is your website/portal taking more time to load? If yes, go through below article. It would reduce the download time drastically.
There's a finite amount of bandwidth on most Internet connections, and anything administrators can do to speed up the process is worthwhile. One way to do this is via HTTP compression, a capability built into both browsers and servers that can dramatically improve site performance by reducing the amount of time required to transfer data between the server and the client. The principles are nothing new — the data is simply compressed. What is unique is that compression is done on the fly, straight from the server to the client, and often without users knowing.
HTTP compression is easy to enable and requires no client-side configuration to obtain benefits, making it a very easy way to get extra performance.
There's a finite amount of bandwidth on most Internet connections, and anything administrators can do to speed up the process is worthwhile. One way to do this is via HTTP compression, a capability built into both browsers and servers that can dramatically improve site performance by reducing the amount of time required to transfer data between the server and the client. The principles are nothing new — the data is simply compressed. What is unique is that compression is done on the fly, straight from the server to the client, and often without users knowing.
HTTP compression is easy to enable and requires no client-side configuration to obtain benefits, making it a very easy way to get extra performance.
Wednesday, August 13, 2008
Prototype IFrame Window (PWC) appears blank in Internet Explorer 6
Prototype Window Classes used to open external pages using Ajax calls or iframe are now popular for Web 2.0 applications. Sometimes you may encounter with an issue of window opening blank, when you try to open a page with prototype iframe window option.
For example
---------------- OpenWindow_in_iframe(srcLink, title, width_px, height_px){ Win= new Window({id: "WinName", className: "alphacube", title: "TitleName", width:width_px, height:height_px,minimizable:false,maximizable:false,resizable:false,url:srcLink}); Win.setDestroyOnClose(); Win.setOpacity(0.9); Win.showCenter(true); }
----------------
Now its about how you make a call to this javascript method.
FIX
If the fuction that make the call is called from a anchor, and the anchor is in this form:
< href="javascript:void(0)" onclick="javascript:openwindow_in_iframe()">Click here...
The window will not show the url, but if instead you call onclick javascript method in href itself and write something like this:
< href="javascript:call_popupWindow()">Click here...
everything works fine.
In FF and IE 7, everything works fine. The problem is in IE6
For example
---------------- OpenWindow_in_iframe(srcLink, title, width_px, height_px){ Win= new Window({id: "WinName", className: "alphacube", title: "TitleName", width:width_px, height:height_px,minimizable:false,maximizable:false,resizable:false,url:srcLink}); Win.setDestroyOnClose(); Win.setOpacity(0.9); Win.showCenter(true); }
----------------
Now its about how you make a call to this javascript method.
FIX
If the fuction that make the call is called from a anchor, and the anchor is in this form:
< href="javascript:void(0)" onclick="javascript:openwindow_in_iframe()">Click here...
The window will not show the url, but if instead you call onclick javascript method in href itself and write something like this:
< href="javascript:call_popupWindow()">Click here...
everything works fine.
In FF and IE 7, everything works fine. The problem is in IE6
Thursday, July 17, 2008
IE error: Expected identifier, string or number
Are you facing with the error "Expected identifier, string or number" in Internet Explorer?
Although it works in Firefox.
Here is the fix for this.
Fix
Look for javascript Object in your with Object elements seperated by commas. Something like
new validateRange. = {
min : 1, // value is not less than this number
max : 1440 ,// value is not more than this number
}
Remove the extra comma(,) before closing braces of validateRange and refresh. After removal..it looks as below
new validateRange. = {
min : 1, // value is not less than this number
max : 1440 // value is not more than this number
}
Although it works in Firefox.
Here is the fix for this.
Fix
Look for javascript Object in your with Object elements seperated by commas. Something like
new validateRange. = {
min : 1, // value is not less than this number
max : 1440 ,// value is not more than this number
}
Remove the extra comma(,) before closing braces of validateRange and refresh. After removal..it looks as below
new validateRange. = {
min : 1, // value is not less than this number
max : 1440 // value is not more than this number
}
Firefox vs Internet Explorer
Saturday, June 14, 2008
Introduction
This is my first BLOG. Since im a techie, would be posting topics on software technologies.
Subscribe to:
Posts (Atom)