Minimize HTTP Requests
tag: content
80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. Reducing the number of components in turn reduces the number of HTTP requests required to render the page. This is the key to faster page...
Tuesday, December 27, 2011
Friday, December 23, 2011
Detect load image when change image source
Posted by
Unknown
at
10:35 AM
It's useful when you change image source such as photo slider, when you click thumbnail image, you can show the larger image...
Tuesday, December 20, 2011
Create multi background by css3
Posted by
Unknown
at
8:33 AM
CSS3 allows web designers to specify multiple background images for box elements, using nothing more than a simple comma-separated lis...
Tuesday, December 13, 2011
Detect ajax and render other view in zend
Posted by
Unknown
at
8:49 AM
$request = $this->getRequest();
if ($request->isXmlHttpRequest()){
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer('evencalendarajax');
//this->_helper->getHelper('viewRenderer')->setNoRender();
}
1. get all request
2. check request is ajax request.
3.Disable layout
4. Call another view if you want.
5. Disable view if you don't use vi...
Subscribe to:
Posts (Atom)