User : gbot
![]() |
Title | User | Language | Tags | Description | Date |
|---|---|---|---|---|---|---|
|
Scroll mobile browser window to hide location bar | gbot | JavaScript | mode | May 11, 2011 | |
|
enable gZip on (dv) server using .htaccess | gbot | Apache | November 10, 2010 | ||
|
PHP - Size converter | gbot | PHP | Converter | July 4, 2008 | |
|
Add http header to force IE8 to render in IE7 mode | gbot | Apache | emulate | In summary, IE7 compatibility support looks as follows: IE=7 Display in IE7 Standards mode; Already supported in the IE8 Beta 1 release IE=EmulateIE7 Display standards DOCTYPEs in IE7 Standards mode; Display quirks DOCTYPEs in Quirks mode; Available through the IE June Security Update for IE8 Beta 1 There are two ways to implement this tag:
Implementing the HTTP header is beneficial if a site owner wants most of their site to render as it did in IE7 or if there are no plans to update site content. Inclusion of this header honors any Quirks mode pages that belong to the site. Using the meta-tag on a per-page basis is beneficial when the publisher wants to opt-in specific pages to render as they did in IE7. NOTE: The X-UA-Compatible tag and header override any existing DOCTYPE. Also, the mode specified by the page takes precedent over the HTTP header. For example, you could add the EmulateIE7 HTTP header to a site, and set specific pages to display in IE8 mode (by using the meta-tag with content=”IE8”). |
June 19, 2008 |
|
string trim function | gbot | JavaScript | prototype | April 18, 2008 | |
|
Get browser viewport width and height | gbot | JavaScript | viewport | April 17, 2008 | |
|
Mootools set file types to open in new window | gbot | JavaScript | mootools | From: David Walsh. http://davidwalsh.name/dw-content/open-links.php |
April 16, 2008 |
|
remove whitespace | gbot | PHP | April 3, 2008 | ||
|
Human Readable filesize | gbot | PHP | filesize | March 26, 2008 | |
|
disable IE6 image toolbar with http header via htaccess | gbot | Apache | imagetoolbar | March 25, 2008 | |
|
force page to ssl | gbot | PHP | 443 | March 25, 2008 | |
|
String to title case | gbot | PHP | March 10, 2008 | ||
|
String begins with | gbot | PHP | March 10, 2008 | ||
|
ultimate validate email function | gbot | PHP | validate | March 10, 2008 | |
|
Rebuild query string | gbot | PHP | passing | I modified some code created by Macromedia Dreamweaver into a flexible function to rebuild the query string. The function is very useful for pagination or passing variables from one page to another.In this version it's possible to add more than one variable names into the functions arguments. This names will be filtered from the new generated query string. Just add the variable names you don't need into a comma seperated string. |
March 10, 2008 |

