How to fix the css hover in ie7 and how implement gzip in your page
Tech-Today

How to fix the css hover in ie7 and how implement gzip in your page


Tool: php, zencart

Recently I've encountered a problem with regards to a css dropdown menu. You can see it here: http://topamanila.com. It's the usual dropdown however the css tags aside from all the browsers like safari, firefox, ie7, opera, etc are not working in IE6. You can see examples of css dropdown just type csshover in google.

It solved the problem in IE6 but it has a tremendous effect in speed. The web applications runs slow... So slow... So I was force to look for another possible workaround.

What I got were:

1.) The IE7.js script available under GNU for download here: http://code.google.com/p/ie7-js/. It makes the IE6 bugs simply disappear :-) (See the documentation). Just add this line in your code:

<!--[if lt IE 7]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script>
<![endif]-->



2.) By adding this line to the first part of your code:
ob_start("ob_gzhandler");
*It compressed the files transferred reducing bandwidth but increasing CPU overhead. But it's worth using.
*To identify if your page is encoded you can use this tool:
http://www.gidnetwork.com/tools/gzip-test.php




- Uploadify Dynamic File Extension
Requirement: To change the file extension depending on the value of a dropdown box. The code will explain how this can be achieve. <script type="text/javascript"> $(document).ready(function() { var fileExt = ""; var fileDesc = ""; var leftSelected...

- How To Use Syntaxhighlighter V3.0.83 On Blogger
The previous version of syntaxhighlighter uses flash to render the code, but in this version they are only using javascript. Here's how I integrated syntaxhighlighter to this blogger blog. Sample Source Code <pre class="brush: java"> public...

- How To Make Uploadify Work On Codeigniter
Recently, I have a requirement to implement a multiple file upload in one of my project. During upload I also need to pass a variable which will classify the category of the uploaded files. The category is a dropdown control. What we need: 1.) codeigniter...

- How To Setup Gzip Compression
Using php we can start gzip using the following code ob_start("ob_gzhandler"); The code returns false if the browser does not support compression and the default ob_start is called. This is one way of optimizing your website, specially those sites that...

- This Article Explains Some Of The Browser Specific Stylesheet Hacks (like Ie Only, Firefox, Etc) That Can Be Used In Developing A Web Application On Different Browsers
Web UI design for beginners may be complicated than it seems specially if your developing cross browser application. For example building a web app compatible with firefox, ie6 and ie7. One ways is to simply load the appropriate css file using: <!--[if...



Tech-Today








.