Something cool that you can do using just CSS is change the selection color when you are range selecting content.
Friday, January 13, 2012
Thursday, January 12, 2012
Create custom hash.
Posted by
Unknown
at
9:57 AM
I refer use crypt() instead md5 or sha256, because of crypt proviced many hash method and key to decode is automatic created -> hard to crack.
Wednesday, January 11, 2012
Tuesday, December 27, 2011
How to speed up your website ?
Posted by
Unknown
at
8:36 AM
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 pages.
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 list.
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 request2. check request is ajax request.
3.Disable layout
4. Call another view if you want.
5. Disable view if you don't use view.
Subscribe to:
Posts (Atom)